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

dagb

  • First post!
  • Posts: 1
    • View Profile
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #120 on: February 03, 2008, 10:19:38 am »
Thanks a lot, Hari!  Since those old ACT ZWave controllers aren't sold anymore, this is pretty important.  I just got one of the controllers and we're going to test it and try to make it work for the 0710 release.
You are welcome. Btw, the intermatic ha22 (04FC0204) should also work with this driver. When you modify the ZWave device template please don't forget to also add the two Seluxit usb id's (16c006eb, 1d6f0001).
I don't know if all fixes are in the lmce branch yet (one file got updated in the trunk, ListAvailableSerialPorts.sh is still missing, see notes on that issue: http://mantis.linuxmce.org/view.php?id=3823).

feel free to contact me if you need any assistance.

best regards,
Hari


Greetings. I assume the reference to the seluxit devices relates to the kernel driver at http://svn.charonmedia.org/svn/vendor/spcp8x5/ringbuf.c ?
In any case: the driver compiles and loads with 2.6.24, and I have taken the liberty to add the driver to http://www.linuxdriverproject.org/twiki/bin/view/Main/OutOfTreeDrivers

Now I just need to read up on zwave to figure out what to get and what to avoid...

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #121 on: February 03, 2008, 11:20:56 am »
Thanks a lot, Hari!  Since those old ACT ZWave controllers aren't sold anymore, this is pretty important.  I just got one of the controllers and we're going to test it and try to make it work for the 0710 release.
You are welcome. Btw, the intermatic ha22 (04FC0204) should also work with this driver. When you modify the ZWave device template please don't forget to also add the two Seluxit usb id's (16c006eb, 1d6f0001).
I don't know if all fixes are in the lmce branch yet (one file got updated in the trunk, ListAvailableSerialPorts.sh is still missing, see notes on that issue: http://mantis.linuxmce.org/view.php?id=3823).

feel free to contact me if you need any assistance.

best regards,
Hari


Greetings. I assume the reference to the seluxit devices relates to the kernel driver at http://svn.charonmedia.org/svn/vendor/spcp8x5/ringbuf.c ?
In any case: the driver compiles and loads with 2.6.24, and I have taken the liberty to add the driver to http://www.linuxdriverproject.org/twiki/bin/view/Main/OutOfTreeDrivers

Now I just need to read up on zwave to figure out what to get and what to avoid...
no, http://svn.charonmedia.org/svn/vendor/spcp8x5/ holds the driver for the Intermatic HA22 and ACT Hompro ZCU[1,2]01 series. The Seluxit uses the generic usb acm driver.

Thank you for the addition, I also contacted Greg Kroah but I am still waiting for response.

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

uplink

  • Administrator
  • Guru
  • *****
  • Posts: 192
  • Linux and LinuxMCE witchdoctor
    • View Profile
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #122 on: February 04, 2008, 01:13:11 pm »
I updated the device template with the ACT, Intermatic and Seluxit device IDs, but the ZWave software in LMCE can't connect to the device. I have a 04fc:0201 device.

I get lots of messages saying "size too small 1", then it says "Cannot connect to ZWave device ttyUSB1.", "Connect() Failed", and then the device dies.

Did anyone see this working or is there a need for extra modifications to the LMCE software?
« Last Edit: February 04, 2008, 01:30:58 pm by uplink »

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #123 on: February 06, 2008, 09:53:55 am »
could you please provide the error output and information from the logfile?

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 #124 on: February 06, 2008, 01:57:50 pm »
could you please provide the error output and information from the logfile?

best regards,
Hari

Hari - I am waiting for some new ZCU201 units. Our original unit died. As soon as we get the new units we'll do some tests. I know that Aaron is also testing your driver by the way.

Thanks for all your work on this.

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 ACT Solutions ZCU201 USB Z-wave Interface
« Reply #125 on: February 06, 2008, 03:00:39 pm »
Thanks for all your work on this.

you are welcome. I wish some sponsor would send me a unit for testing ;)

best regards,
Hari
« Last Edit: February 06, 2008, 03:35:23 pm by 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 #126 on: February 06, 2008, 06:33:53 pm »
Thanks for all your work on this.

you are welcome. I wish some sponsor would send me a unit for testing ;)

best regards,
Hari

Hmmm... ok let me see what i can do ;-)
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

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #127 on: February 06, 2008, 09:57:35 pm »
Since you've said that,

I've been reworking my Insteon, and reading deeper into the devices themselves..

Does anyone have a PLC (2414) kicking around?  I'd like to intergrate that unit as well.

The PLC and PLM are two completely different devices..

Best Regards,

Dan
The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.

PeteK

  • Guru
  • ****
  • Posts: 408
    • View Profile
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #128 on: February 06, 2008, 10:07:56 pm »
Dan--

I can send you my PLC (USB) and my drivers if you want to use that.

Thanks,
-Peter

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #129 on: February 07, 2008, 08:25:16 am »
Thanks PeteK,
I'm deep in the Insteon code again..
Although the current code works, trying to follow it is spaghetti.  Being my first Ruby Project, I really didn't have a real grasp of the language at that time.

Now, I have a much better grasp, and will be writing it using the ThreadedRuby Routines.  This will MAJORLY simplify the structure, and make it easier to debug.

I've been digging down to the Chip level now.. all the IBIOS routines make sense, and I'm going to try to code so that driver creates a VIRTUAL switch (in memory) and that VIRTUAL switch corresponds directly to the physical switch.. right down to the memory map, and the SALad application...

Should be a fun project!

I'll let you know when I'm ready for it.

Best Regards,
 
Dan
The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.

coley

  • Guru
  • ****
  • Posts: 492
    • View Profile
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #130 on: February 07, 2008, 05:48:38 pm »
Hi,
I've tried to get the ZCU201 going.
I've loaded the module - no error msgs, but didn't show up on lsmod.
Added the device ID to a new template - plugging the module in is detected by the core.
I'm not sure if I have the template set up correctly - what options should I be choosing when adding a new device?

thanks
Coley.

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #131 on: February 07, 2008, 06:06:09 pm »
Hi,
I've tried to get the ZCU201 going.
I've loaded the module - no error msgs, but didn't show up on lsmod.
Added the device ID to a new template - plugging the module in is detected by the core.
I'm not sure if I have the template set up correctly - what options should I be choosing when adding a new device?

thanks
Coley.

can i get ssh access to your setup?

strange that it does not show up..
did you use insmod or modprobe?
do you have usbserial loaded?
what shows the dmesg command?

best regards,
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 #132 on: February 08, 2008, 05:07:54 pm »
Hari, I don't have external access set up at the moment - I'll look into it.

I just used insmod - modprobe is probably a bit smarter to use.
Yes usbserial is loaded - I have another USB to serial port cable (can't remember manufacturer) and it works ok according to dmesg output.

I'll try again later and get more dbug info.

-Coley.

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #133 on: February 08, 2008, 05:46:50 pm »
greg did further improvements to the driver and it will be in the vanilla kernel soon:
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/usb/usb-add-usb-serial-spcp8x5-driver.patch

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

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #134 on: February 09, 2008, 01:27:33 am »
Sweet!

Hari, You're a kernel hacker now!
The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.