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

Main Menu

Supporting the ACT Solutions ZCU201 USB Z-wave Interface

Started by totallymaxed, January 04, 2008, 12:59:34 AM

Previous topic - Next topic

dagb

Quote from: hari on January 31, 2008, 11:29:01 PM
Quote from: aaron.b on January 31, 2008, 10:57:38 PM
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

Quote from: dagb on February 03, 2008, 10:19:38 AM
Quote from: hari on January 31, 2008, 11:29:01 PM
Quote from: aaron.b on January 31, 2008, 10:57:38 PM
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 - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

uplink

#122
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?

hari

could you please provide the error output and information from the logfile?

best regards,
Hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

totallymaxed

Quote from: hari on February 06, 2008, 09:53:55 AM
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 [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

hari

Quote from: totallymaxed on February 06, 2008, 01:57:50 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
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

totallymaxed

Quote from: hari on February 06, 2008, 03:00:39 PM
Quote from: totallymaxed on February 06, 2008, 01:57:50 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 [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

ddamron

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

Dan--

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

Thanks,
-Peter

ddamron

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

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.
~ 12.04 Alpha: [url="http://linuxmce.iptp.org/snapshots"]http://linuxmce.iptp.org/snapshots[/url]
~ 10.04 Final: [url="http://linuxmce.iptp.org/release/LinuxMCE-1004-final.iso"]http://linuxmce.iptp.org/release/LinuxMCE-1004-final.iso[/url]
~ My setup: [url="http://wiki.linuxmce.org/index.php/User:Coley"]http://wiki.linuxmce.org/index.php/User:Coley[/url]

hari

Quote from: coley 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.

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 - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

coley

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.
~ 12.04 Alpha: [url="http://linuxmce.iptp.org/snapshots"]http://linuxmce.iptp.org/snapshots[/url]
~ 10.04 Final: [url="http://linuxmce.iptp.org/release/LinuxMCE-1004-final.iso"]http://linuxmce.iptp.org/release/LinuxMCE-1004-final.iso[/url]
~ My setup: [url="http://wiki.linuxmce.org/index.php/User:Coley"]http://wiki.linuxmce.org/index.php/User:Coley[/url]

hari

rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

ddamron

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.