LinuxMCE Forums
May 25, 2013, 02:17:45 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: 1 2 [3] 4 5 ... 11
  Print  
Author Topic: Supporting the ACT Solutions ZCU201 USB Z-wave Interface  (Read 39100 times)
hari
Administrator
LinuxMCE God
*****
Posts: 2413



View Profile WWW
« Reply #30 on: January 14, 2008, 10:30:42 pm »

Of course, I could not wait on that  Wink
My ZCS201 should come in tomorrow, I'll check it out and report on the results. Supposedly it really does have a serial connector, so we'll see what happens. A previous thread (http://forum.linuxmce.org/index.php?topic=2766.msg13509#msg13509) mentioned the ZCS201, but refers to the USB connector! Hmmm... I am hoping that was a typo!  Grin
where did you get that beast from? i was searching for ages..

btw: i added the usb device id to the Z-Wave template and the viaSENS Homecontroller got auto detected by pluto. But i think there is a problem with the function "TranslateSerialUSB" from "trunk/src/PlutoUtils":
Code:
42:         sCmd += "ls -l /sys/bus/usb-serial/devices/ | grep '" + sPciId + ".*-" + sUsbId + ":.*' >" + tmpFile;
houston, the device class is not serial but ACM:
Code:
[91845.244000] drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
so this is a perfect working serial port (i wish more rs232/usb bridge chip manufacturers would use that generic approach) but pluto does not know *grin*
As a quick fix i suggest running the following:
Code:
ln -s /dev/ttyACM0 /dev/ttyS_ZWAVE_0
/usr/pluto/bin/UpdateAvailableSerialPorts.sh
and select the port in the device data of the ZWave device.

question: anybody nearside berlin with Z-Wave equipment?

best regards,
Hari
« Last Edit: January 14, 2008, 10:32:42 pm by hari » Logged

rock your home - http://www.agocontrol.com home automation
hari
Administrator
LinuxMCE God
*****
Posts: 2413



View Profile WWW
« Reply #31 on: January 15, 2008, 01:58:04 am »

works for me, the device is full pnp now:
Code:
hari@dcerouter:/usr/src/svn/trunk/trunk/src/PlutoUtils$ svn diff LinuxSerialUSB.cpp
Index: LinuxSerialUSB.cpp
===================================================================
--- LinuxSerialUSB.cpp  (revision 1464)
+++ LinuxSerialUSB.cpp  (working copy)
@@ -39,7 +39,8 @@
        if( sIPAddress.empty()==false )
                sCmd = "ssh " + sIPAddress + " ";
 
-       sCmd += "ls -l /sys/bus/usb-serial/devices/ | grep '" + sPciId + ".*-" + sUsbId + ":.*' >" + tmpFile;
+       sCmd += "find /sys/devices -name '*tty*' | grep '/tty:' | grep usb | grep '" + sPciId + ".*-" + sUsbId + ":.*' | sed 's/tty://g' >" + tmpFile;
+
        system(sCmd.c_str());
 
        vector<string> vectStr;
Logged

rock your home - http://www.agocontrol.com home automation
coley
Guru
****
Posts: 430


View Profile
« Reply #32 on: January 15, 2008, 03:08:09 pm »

wow! a lot happens in a few days, was away for a bit.
my zwave devices arrived so hopefully should get to play with them in the next few days.

btw does anyone know what the extra connector on the ZCU201 is besides the pwr and USB?

-Coley.
Logged

totallymaxed
LinuxMCE God
****
Posts: 4310


View Profile WWW
« Reply #33 on: January 15, 2008, 03:52:27 pm »

I also noticed that there is a new unit ZCS201 available, which is direct RS232 (I think)  Cool. Does anyone actually own one of these, or did experiments with it?
We have ordered some of those for testing here... will report back once we have them ;-)

Of course, I could not wait on that  Wink
My ZCS201 should come in tomorrow, I'll check it out and report on the results. Supposedly it really does have a serial connector, so we'll see what happens. A previous thread (http://forum.linuxmce.org/index.php?topic=2766.msg13509#msg13509) mentioned the ZCS201, but refers to the USB connector! Hmmm... I am hoping that was a typo!  Grin

Mark


Mark there are two models of the ZCU201.... one USB and one serial. Hope you get the version you want ;-)
Logged

Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Dianemo S Now Shipping on Ubuntu 12.04LTS
Build your system on the latest Ubuntu OS Release!

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk
Domodude
Guest
« Reply #34 on: January 15, 2008, 07:59:22 pm »

My ZCS201 should come in tomorrow, I'll check it out and report on the results. Supposedly it really does have a serial connector, so we'll see what happens.

It's in, and it is RS232!  Cool

OK. Hmm. Add interface, template 1754, go to advanced, send command "status report". Nothing. I am sure I am doing something wrong here.  Embarrassed

Could anyone give me a pointer or two so I can check if this thing is supported by linuxmce? I'd love to control my plugin dimmers as well, but I suppose one step at a time!

Mark
Logged
Domodude
Guest
« Reply #35 on: January 15, 2008, 08:01:54 pm »

My ZCS201 should come in tomorrow
where did you get that beast from? i was searching for ages..

I got it from mypowershop.eu, a Dutch internet shop. But even though it is RS232, I am not sure yet it actually works... Undecided
Logged
Domodude
Guest
« Reply #36 on: January 15, 2008, 08:03:31 pm »

Mark there are two models of the ZCU201.... one USB and one serial. Hope you get the version you want ;-)

Actually, the models can be told apart by the third letter. I got a ZCS201, not a ZCU201!  Wink
Logged
hari
Administrator
LinuxMCE God
*****
Posts: 2413



View Profile WWW
« Reply #37 on: January 15, 2008, 08:13:50 pm »

Mark there are two models of the ZCU201.... one USB and one serial. Hope you get the version you want ;-)

Actually, the models can be told apart by the third letter. I got a ZCS201, not a ZCU201!  Wink
where did you get that beast from? i was searching for ages..
Logged

rock your home - http://www.agocontrol.com home automation
hari
Administrator
LinuxMCE God
*****
Posts: 2413



View Profile WWW
« Reply #38 on: January 16, 2008, 02:25:29 pm »

news from the Z-Wave front:
after some device tweaking and package installation (mysterious indeed) with domodude we got the ZWave device to run with the ZCS201. As domodude has no primary controller, too, we have to wait until the shippings arrive for further tests.

best regards,
Hari
Logged

rock your home - http://www.agocontrol.com home automation
totallymaxed
LinuxMCE God
****
Posts: 4310


View Profile WWW
« Reply #39 on: January 16, 2008, 03:27:32 pm »

news from the Z-Wave front:
after some device tweaking and package installation (mysterious indeed) with domodude we got the ZWave device to run with the ZCS201. As domodude has no primary controller, too, we have to wait until the shippings arrive for further tests.

best regards,
Hari

Hey Hari thats great... when you get a chance can you post the steps you needed to do to get the ZCS201 working? I will then test that here and we will try and get it into the 0710
Logged

Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Dianemo S Now Shipping on Ubuntu 12.04LTS
Build your system on the latest Ubuntu OS Release!

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk
hari
Administrator
LinuxMCE God
*****
Posts: 2413



View Profile WWW
« Reply #40 on: January 16, 2008, 03:37:54 pm »

Hey Hari thats great... when you get a chance can you post the steps you needed to do to get the ZCS201 working? I will then test that here and we will try and get it into the 0710
we simply did a "ln -s /dev/ttyS0 /dev/ttyS_ZWAVE_0" and "UpdateAvailableSerialPorts.sh" and used that devicefile in the device config, because of some obscure reason the manually added device did not like the "/dev/ttyS0" port..

I'll keep you posted,

best regards,
Hari
Logged

rock your home - http://www.agocontrol.com home automation
totallymaxed
LinuxMCE God
****
Posts: 4310


View Profile WWW
« Reply #41 on: January 16, 2008, 03:58:37 pm »

Hey Hari thats great... when you get a chance can you post the steps you needed to do to get the ZCS201 working? I will then test that here and we will try and get it into the 0710
we simply did a "ln -s /dev/ttyS0 /dev/ttyS_ZWAVE_0" and "UpdateAvailableSerialPorts.sh" and used that devicefile in the device config, because of some obscure reason the manually added device did not like the "/dev/ttyS0" port..

I'll keep you posted,

best regards,
Hari


We should get that added to the SVN somehow so that it can be easily chosen by users. With the new common SVN coming that should be easily achieved ;-)
Logged

Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Dianemo S Now Shipping on Ubuntu 12.04LTS
Build your system on the latest Ubuntu OS Release!

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk
hari
Administrator
LinuxMCE God
*****
Posts: 2413



View Profile WWW
« Reply #42 on: January 16, 2008, 04:14:39 pm »

We should get that added to the SVN somehow so that it can be easily chosen by users. With the new common SVN coming that should be easily achieved ;-)
to become of topic maybe you want to contribute to the foundation thread?

best regards,
Hari
Logged

rock your home - http://www.agocontrol.com home automation
totallymaxed
LinuxMCE God
****
Posts: 4310


View Profile WWW
« Reply #43 on: January 16, 2008, 04:38:22 pm »

We should get that added to the SVN somehow so that it can be easily chosen by users. With the new common SVN coming that should be easily achieved ;-)
to become of topic maybe you want to contribute to the foundation thread?

best regards,
Hari

;-) will do
Logged

Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Dianemo S Now Shipping on Ubuntu 12.04LTS
Build your system on the latest Ubuntu OS Release!

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk
hari
Administrator
LinuxMCE God
*****
Posts: 2413



View Profile WWW
« Reply #44 on: January 18, 2008, 01:18:39 am »

some progress with Domodude and his ZCS201: we were able to download a device to the ZCS201. More tests to come (some problems with transfer of the full config).

hope to get my ZTH200 tomorrow for further tests with the Seluxit dongle.

best regards,
Hari
Logged

rock your home - http://www.agocontrol.com home automation
Pages: 1 2 [3] 4 5 ... 11
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!