Author Topic: Supporting the ACT Solutions ZCU201 USB Z-wave Interface  (Read 52280 times)

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2421
    • View Profile
    • ago control
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #30 on: January 14, 2008, 10:30:42 pm »
Of course, I could not wait on that  ;)
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!  ;D
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: [Select]
42:         sCmd += "ls -l /sys/bus/usb-serial/devices/ | grep '" + sPciId + ".*-" + sUsbId + ":.*' >" + tmpFile;
houston, the device class is not serial but ACM:
Code: [Select]
[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: [Select]
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 »
rock your home - http://www.agocontrol.com home automation

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2421
    • View Profile
    • ago control
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #31 on: January 15, 2008, 01:58:04 am »
works for me, the device is full pnp now:
Code: [Select]
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;
rock your home - http://www.agocontrol.com home automation

coley

  • Guru
  • ****
  • Posts: 481
    • View Profile
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« 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.

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4456
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« 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)  8). 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  ;)
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!  ;D

Mark


Mark there are two models of the ZCU201.... one USB and one serial. Hope you get the version you want ;-)
Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Read My Blog; http://ellipticalcurve.com

Contact me for Smart Home consulting advice here;
@herron on Twitter, totallymaxed+consulting@gmail.com via email or PM me here.

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
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« 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!  8)

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

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

Domodude

  • Guest
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« 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... :-\

Domodude

  • Guest
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« 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!  ;)

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2421
    • View Profile
    • ago control
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« 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!  ;)
where did you get that beast from? i was searching for ages..
rock your home - http://www.agocontrol.com home automation

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2421
    • View Profile
    • ago control
Re: Supporting the ACT Solutions ZCS201 Serial Z-wave Interface
« 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
rock your home - http://www.agocontrol.com home automation

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4456
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Supporting the ACT Solutions ZCS201 Serial Z-wave Interface
« 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
Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Read My Blog; http://ellipticalcurve.com

Contact me for Smart Home consulting advice here;
@herron on Twitter, totallymaxed+consulting@gmail.com via email or PM me here.

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: 2421
    • View Profile
    • ago control
Re: Supporting the ACT Solutions ZCS201 Serial Z-wave Interface
« 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
rock your home - http://www.agocontrol.com home automation

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4456
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Supporting the ACT Solutions ZCS201 Serial Z-wave Interface
« 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 ;-)
Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Read My Blog; http://ellipticalcurve.com

Contact me for Smart Home consulting advice here;
@herron on Twitter, totallymaxed+consulting@gmail.com via email or PM me here.

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: 2421
    • View Profile
    • ago control
Re: Supporting the ACT Solutions ZCS201 Serial Z-wave Interface
« 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
rock your home - http://www.agocontrol.com home automation

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4456
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Supporting the ACT Solutions ZCS201 Serial Z-wave Interface
« 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
Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Read My Blog; http://ellipticalcurve.com

Contact me for Smart Home consulting advice here;
@herron on Twitter, totallymaxed+consulting@gmail.com via email or PM me here.

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: 2421
    • View Profile
    • ago control
Re: Supporting the ACT Solutions ZCS201 Serial Z-wave Interface
« 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
rock your home - http://www.agocontrol.com home automation