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


hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Supporting the Seluxit Homecontroller USB Z-wave Interface
« Reply #16 on: January 07, 2008, 05:46:44 pm »
Hi Guys,

some news from the Z-Wave front: A danish company (seluxit.com) produces the ViaSENS Homecontroller. It's a european version (868MHz) usb device. Daniel Lux from Seluxit provides me with a test sample. It should be accessible via /dev/ttyACM0 (cdc-acm module).
They also are thinking about some encapsulation library for linux for the z-wave sdk (like the windows zwave.dll) and would appreciate any feedback or feature wishes.
totallymaxed: maybe you can lend me a few Z-wave components to test the interface for some days?

best regards,
Hari
rock your home - http://www.agocontrol.com home automation

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Supporting the Seluxit Homecontroller USB Z-wave Interface
« Reply #17 on: January 07, 2008, 06:18:51 pm »
Hi Guys,

some news from the Z-Wave front: A danish company (seluxit.com) produces the ViaSENS Homecontroller. It's a european version (868MHz) usb device. Daniel Lux from Seluxit provides me with a test sample. It should be accessible via /dev/ttyACM0 (cdc-acm module).
They also are thinking about some encapsulation library for linux for the z-wave sdk (like the windows zwave.dll) and would appreciate any feedback or feature wishes.
totallymaxed: maybe you can lend me a few Z-wave components to test the interface for some days?

best regards,
Hari

Hi Hari,

The only product that i can see on there site is the http://seluxit.com/VS_Controllers.html which is a Z-wave connected energy meter. This is interesting in its own right for sure but it cannot be connected to z-wave switches but only to Seluxit's own z-wave remote metering units. Is this unit the one you refer to in your post above?

It really does not make much sense to loan z-wave hardware as the cost of shipping it to you and back again is more than the value of the units (in most cases).

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Supporting the Seluxit Homecontroller USB Z-wave Interface
« Reply #18 on: January 07, 2008, 06:31:02 pm »
The only product that i can see on there site is the http://seluxit.com/VS_Controllers.html which is a Z-wave connected energy meter. This is interesting in its own right for sure but it cannot be connected to z-wave switches but only to Seluxit's own z-wave remote metering units. Is this unit the one you refer to in your post above?
No, you have to scroll down on the page. It's the viaSENS Homecontroller.

EDIT: they also have a nice Z-Wave multifunction sensor (http://www.seluxit.com/Multisensor.html) and sell the danfoss RA-plus, too.

best regards,
Hari
« Last Edit: January 07, 2008, 06:34:15 pm by hari »
rock your home - http://www.agocontrol.com home automation

coley

  • Guru
  • ****
  • Posts: 492
    • View Profile
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #19 on: January 07, 2008, 07:14:21 pm »
ZCU201 and ZDW232 ordered for my experiments, from http://www.elekhomica.nl/
noticed all plug in modules were eu type plugs :(
have to go elsewhere for UK/Ireland 3pin plugin modules, which is a pain as shipping adds up!!

-Coley.


hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #20 on: January 10, 2008, 11:30:30 am »
Hi everyone,

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?

Cheers,

Mark

i don't have found a shop with that on stock,

best regards,
Hari
rock your home - http://www.agocontrol.com home automation

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #21 on: January 10, 2008, 11:31:55 am »
Hi everyone,

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?

Cheers,

Mark


We have ordered some of those for testing here... will report back once we have them ;-)
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Supporting the Seluxit Homecontroller USB Z-wave Interface
« Reply #22 on: January 10, 2008, 12:00:43 pm »
The only product that i can see on there site is the http://seluxit.com/VS_Controllers.html which is a Z-wave connected energy meter. This is interesting in its own right for sure but it cannot be connected to z-wave switches but only to Seluxit's own z-wave remote metering units. Is this unit the one you refer to in your post above?
No, you have to scroll down on the page. It's the viaSENS Homecontroller.

EDIT: they also have a nice Z-Wave multifunction sensor (http://www.seluxit.com/Multisensor.html) and sell the danfoss RA-plus, too.

best regards,
Hari


Got it... didn't scroll far enough!

Yes the multi-sensor looks very interesting indeed. Are they shipping those?
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Supporting the Seluxit Homecontroller USB Z-wave Interface
« Reply #23 on: January 10, 2008, 01:11:19 pm »
No, you have to scroll down on the page. It's the viaSENS Homecontroller.

Got it... didn't scroll far enough!

Yes the multi-sensor looks very interesting indeed. Are they shipping those?
was announced for Dec. 2007. I hope to get a test sample from Mr. Lux after having the Homecontroller working.
I will ask him for availability.

best regards,
Hari
rock your home - http://www.agocontrol.com home automation

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Supporting the Seluxit Homecontroller USB Z-wave Interface
« Reply #24 on: January 10, 2008, 01:15:45 pm »
No, you have to scroll down on the page. It's the viaSENS Homecontroller.

Got it... didn't scroll far enough!

Yes the multi-sensor looks very interesting indeed. Are they shipping those?
was announced for Dec. 2007. I hope to get a test sample from Mr. Lux after having the Homecontroller working.
I will ask him for availability.

best regards,
Hari

ok understood.

Do you have the HomeController yet? If yes have you looked into its usb interface/chipset for driver development etc?
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Supporting the Seluxit Homecontroller USB Z-wave Interface
« Reply #25 on: January 14, 2008, 08:15:18 pm »
ok understood.

Do you have the HomeController yet? If yes have you looked into its usb interface/chipset for driver development etc?
the home controller came today. I can verify that the device is available as /dev/ttyACM0 on LMCE (0704). For now i tricked lmce into using the HomeController by adding the ZWave device manually and assigning the com port (UpdateAvailableSerialports.sh needs a tweak for that to recognize the device file). Further research showed that we probably only have to add the usb device id to the device template in the database. I can engage "learn mode" for device download from a primary controller without errors.

More results to come (hari needs more hardware ;) )

EDIT: the logs with startup and output after sending:
/usr/pluto/bin/MessageSend localhost 0 99 1 757 9 ""
Code: [Select]
dcerouter_48407:/var/log/pluto# /usr/pluto/bin/ZWave -d 99
ZWave, v.2.0.0.44.0709022200
Visit www.plutohome.com for source code and license information

05      01/14/08 20:17:15.180           Creating child 100 <0xb79a96d0>
05      01/14/08 20:17:15.180           Note: Device manager has attached a device of type 1820 that this has no custom event handler for.  It will not fire events. <0xb79a96d0>
05      01/14/08 20:17:15.180           Note: Device manager has attached a device of type 1820 that this has no custom handler for.  This is normal for IR. <0xb79a96d0>
05      01/14/08 20:17:29.672           ZWave::ReportChildDevices 2.xx API ! <0xb49a2b90>
05      01/14/08 20:19:30.004           -------------------------- Job Timeout _________ <0xb69a6b90>

best regards,
Hari

« Last Edit: January 14, 2008, 08:21:38 pm by hari »
rock your home - http://www.agocontrol.com home automation

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Supporting the Seluxit Homecontroller USB Z-wave Interface
« Reply #26 on: January 14, 2008, 09:09:05 pm »
Yes the multi-sensor looks very interesting indeed. Are they shipping those?
the sensor will be released in about 6 to 8 weeks.

best regards,
Hari
rock your home - http://www.agocontrol.com home automation

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Supporting the Seluxit Homecontroller USB Z-wave Interface
« Reply #27 on: January 14, 2008, 09:49:09 pm »
ok understood.

Do you have the HomeController yet? If yes have you looked into its usb interface/chipset for driver development etc?
the home controller came today. I can verify that the device is available as /dev/ttyACM0 on LMCE (0704). For now i tricked lmce into using the HomeController by adding the ZWave device manually and assigning the com port (UpdateAvailableSerialports.sh needs a tweak for that to recognize the device file). Further research showed that we probably only have to add the usb device id to the device template in the database. I can engage "learn mode" for device download from a primary controller without errors.

More results to come (hari needs more hardware ;) )

EDIT: the logs with startup and output after sending:
/usr/pluto/bin/MessageSend localhost 0 99 1 757 9 ""
Code: [Select]
dcerouter_48407:/var/log/pluto# /usr/pluto/bin/ZWave -d 99
ZWave, v.2.0.0.44.0709022200
Visit www.plutohome.com for source code and license information

05      01/14/08 20:17:15.180           Creating child 100 <0xb79a96d0>
05      01/14/08 20:17:15.180           Note: Device manager has attached a device of type 1820 that this has no custom event handler for.  It will not fire events. <0xb79a96d0>
05      01/14/08 20:17:15.180           Note: Device manager has attached a device of type 1820 that this has no custom handler for.  This is normal for IR. <0xb79a96d0>
05      01/14/08 20:17:29.672           ZWave::ReportChildDevices 2.xx API ! <0xb49a2b90>
05      01/14/08 20:19:30.004           -------------------------- Job Timeout _________ <0xb69a6b90>

best regards,
Hari



Hey thats great Hari... give us another update tomorrow ;-)
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #28 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: 2428
    • View Profile
    • ago control
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #29 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