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

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2421
    • View Profile
    • ago control
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #75 on: January 22, 2008, 11:25:19 am »
Hi,

Merten has a fairly substantial Z-wave product line, and on February 8th, a salesperson will come by and show me some of their stuff. I will let the forum know about current possibilities and issues. Merten also has a USB interface, I will check that one too (I'll probably need Hari's fresh hack  ;) ).

Mark

last time i looked they took over 140€ for a single wall mounted switch!!

hope they did some sane pricing in between,

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

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4462
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #76 on: January 22, 2008, 06:13:39 pm »
Hi,

Merten has a fairly substantial Z-wave product line, and on February 8th, a salesperson will come by and show me some of their stuff. I will let the forum know about current possibilities and issues. Merten also has a USB interface, I will check that one too (I'll probably need Hari's fresh hack  ;) ).

Mark

last time i looked they took over 140€ for a single wall mounted switch!!

hope they did some sane pricing in between,

best regards,
Hari

Hmmm... no they didn't!

Only 140€ per wall mounted switch ;-)

The Merten Connect range is one of the component products we will configure/install with our Dianemo professionally installed systems. In that market their quality and name means something... of course under the hood they are using the same z-wave chips and modules as everyone else. But Merten's products are engineered really well and their physical build quality is excellent.

Andy Herron,
Convergent Home Technologies Ltd

Read My Blog; http://ellipticalcurve.com

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

Get a Dianemo License: http://forum.linuxmce.org/index.php?topic=8880.msg100221#msg100221
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 ZCU201 USB Z-wave Interface
« Reply #77 on: January 22, 2008, 06:53:14 pm »
The Merten Connect range is one of the component products we will configure/install with our Dianemo professionally installed systems. In that market their quality and name means something... of course under the hood they are using the same z-wave chips and modules as everyone else. But Merten's products are engineered really well and their physical build quality is excellent.
of course they make great products. But I think the prices are held high to not cannibalize their KNX program ;)

best regards,
Hari

btw: could you please try if the module works for you? Chances are high that you only have to load the module, add the usb man/dev id combination to the ZWave device template and plug that beast in.
rock your home - http://www.agocontrol.com home automation

Domodude

  • Guest
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #78 on: January 22, 2008, 07:40:11 pm »
Andrew,
Do you have any experience with Merten/LMCE implementations, in particular how their software, touch panels and their central units?
Their stuff is real nice for retrofitting older houses with home automation, which is my situation. Prices are a bit steep, but if I include wiring etc with the purchase of cheaper stuff, it doesn't look just as bad...
Anyway. I'm not even considering it if it doesn't work properly with LMCE, so I'm real curious what you think.
Mark

hkmod25

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #79 on: January 23, 2008, 09:58:54 am »
We tested and delivered to customers Merten (Z-Wave) hardware from beg. of desember 2007.
Its look and feels OK but I will also agree - price to high. We dont make a test w/Linux MCE software
so long it was a support problems w/new ACT interface...

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2421
    • View Profile
    • ago control
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #80 on: January 23, 2008, 10:36:09 am »
did anybody try the module yet?

Hacking does not make fun if one can't see results...

Pleazzzze (with cherry and sugar on top) could somebody test the kernel module with a ACT Homepro ZCU101 or ZCU201 interface?

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

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4462
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #81 on: January 23, 2008, 01:04:09 pm »
I did some munching to the spcp8x5 code and managed to compile and load the module on 0704. If somebody feels like sending me a ZCU201...

you can download the binary here: http://vt100.at/spcp8x5.ko

compile:
Code: [Select]
dcerouter_48407:/usr/src/spcp8x5# make
make -C /lib/modules/2.6.20-15-generic/build M=/usr/src/spcp8x5 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
  CC [M]  /usr/src/spcp8x5/spcp8x5.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /usr/src/spcp8x5/spcp8x5.mod.o
  LD [M]  /usr/src/spcp8x5/spcp8x5.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
dcerouter_48407:/usr/src/spcp8x5#

dmesg:
Code: [Select]
[165370.468000] usbcore: registered new interface driver spcp8x5
[165370.468000] /usr/src/spcp8x5/spcp8x5.c: SPCP8x5 USB to serial adaptor driver v0.01

here is the patch:
Code: [Select]
diff -u spcp8x5.orig/spcp8x5.c spcp8x5/spcp8x5.c
--- spcp8x5.orig/spcp8x5.c      2006-09-11 08:26:50.000000000 +0200
+++ spcp8x5/spcp8x5.c   2008-01-21 23:17:37.000000000 +0100
@@ -34,7 +34,6 @@
 };
 
 static struct usb_driver spcp8x5_driver = {
-       .owner                          = THIS_MODULE,
        .name                           = "spcp8x5",
        .probe                          = usb_serial_probe,
        .disconnect             = usb_serial_disconnect,
@@ -43,7 +42,6 @@
 
 // All of the device info needed for the spcp8x5 SIO serial converter
 static struct usb_serial_device_type spcp8x5_device = {
-       .owner                          = THIS_MODULE,
        .name                           = "SPCP8x5",
        .id_table                       = id_table,
        .num_interrupt_in       = 0,
@@ -379,20 +377,16 @@
                tty_flag = TTY_FRAME;
        trace("tty_flag = %d\n",tty_flag);
 
-       tty = port->tty;
-       if (tty && urb->actual_length) {
-               // overrun is special, not associated with a char
-               if (status & UART_OVERRUN_ERROR)
-                       tty_insert_flip_char(tty, 0, TTY_OVERRUN);
-
-               for (i = 0; i < urb->actual_length; ++i) {
-                       if (tty->flip.count >= TTY_FLIPBUF_SIZE) {
-                               tty_flip_buffer_push(tty);
-                       }
-                       tty_insert_flip_char (tty, data[i], tty_flag);
-               }
-               tty_flip_buffer_push (tty);
-       }
+        tty = port->tty;
+        if (tty && urb->actual_length) {
+                tty_buffer_request_room(tty, urb->actual_length + 1);
+                /* overrun is special, not associated with a char */
+                if (status & UART_OVERRUN_ERROR)
+                        tty_insert_flip_char(tty, 0, TTY_OVERRUN);
+                for (i = 0; i < urb->actual_length; ++i)
+                        tty_insert_flip_char(tty, data[i], tty_flag);
+                tty_flip_buffer_push(tty);
+        }
 
        // Schedule the next read _if_ we are still open
        if (port->open_count) {
diff -u spcp8x5.orig/spcp8x5.h spcp8x5/spcp8x5.h
--- spcp8x5.orig/spcp8x5.h      2006-09-25 08:11:35.000000000 +0200
+++ spcp8x5/spcp8x5.h   2008-01-21 23:02:49.000000000 +0100
@@ -19,7 +19,6 @@
 #define SPCP8x5_835_VID                0x04fc
 #define SPCP8x5_835_PID                0x0231
 
-#include <linux/config.h>
 #include <linux/kernel.h>
 #include <linux/errno.h>
 #include <linux/init.h>
diff -u spcp8x5.orig/usb-serial.h spcp8x5/usb-serial.h
--- spcp8x5.orig/usb-serial.h   2004-12-24 22:35:50.000000000 +0100
+++ spcp8x5/usb-serial.h        2008-01-21 23:03:02.000000000 +0100
@@ -54,7 +54,6 @@
 #ifndef __LINUX_USB_SERIAL_H
 #define __LINUX_USB_SERIAL_H
 
-#include <linux/config.h>
 #include <linux/kref.h>
 
 #define SERIAL_TTY_MAJOR       188     /* Nice legal number now */

Hari... I am really sorry! I missed your post above... I have been really busy for last several days. So big apology to you.

I am away from the office until late Friday... but I will try to test your code then.

Thanks for working on this... and sorry for missing that you'd posted this!

Andrew
Andy Herron,
Convergent Home Technologies Ltd

Read My Blog; http://ellipticalcurve.com

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

Get a Dianemo License: http://forum.linuxmce.org/index.php?topic=8880.msg100221#msg100221
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 ZCU201 USB Z-wave Interface
« Reply #82 on: January 23, 2008, 01:16:40 pm »
Hari... I am really sorry! I missed your post above... I have been really busy for last several days. So big apology to you.
no problem! Hope your business is going fine ;)
Quote
I am away from the office until late Friday... but I will try to test your code then.
great!

thank you very much and best regards,
Hari
rock your home - http://www.agocontrol.com home automation

Domodude

  • Guest
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #83 on: January 23, 2008, 09:58:25 pm »
We tested and delivered to customers Merten (Z-Wave) hardware from beg. of desember 2007.
Its look and feels OK but I will also agree - price to high. We dont make a test w/Linux MCE software
so long it was a support problems w/new ACT interface...

Well, I think the guy that's going to come by will have a suitcase full of Merten stuff, and we can probably see if their units are compatible...

Important question: Is it possible to make a full backup of my (currently working) z-wave setup, in case I do run into problems?

hkmod25

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #84 on: January 24, 2008, 12:36:04 pm »
First answer on your imp. question. No. It is not possible to make a backup with Merten Configuration Hardware/Software of one existing Z-Wave network. One must start from the ground and create a "new project".
About hardware compatibility. Yes it is a some problems her. Its look that many manufacturers dont know that a "Z-Wave Logo Program" is.
Merten still dont have Remote Control. But the "Merten Configuration Hardware/Software" dont support ZTH200 from ACT.
Only supportet Remote right now are one from Innovus (but you need a spesial configuration addons that are not delivered with original
Configurator software. Also all new wall modules from ACT will be recognized only with a Basic features. I talking in long time with Merten Support about possibility to get from them a spesial "Configuration files creation Tool" software, but answer was - NO. After all they said OK it will be available for downloading (end of 2007). But nothing happens yet.
Another thing - Z-Wave standard for battery powered devices are different in Europe vs USA. So long we had problems w/HomeSeer software and Merten wall (battery) controllers, probably the same problems can came in LinuxMCE.......................

coley

  • Guru
  • ****
  • Posts: 481
    • View Profile
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #85 on: January 24, 2008, 02:01:57 pm »
did anybody try the module yet?

Hacking does not make fun if one can't see results...

Pleazzzze (with cherry and sugar on top) could somebody test the kernel module with a ACT Homepro ZCU101 or ZCU201 interface?

best regards,
Hari
I should get a chance to check it out later.
hopefully will let you know how I get on.
I don't have a primary remote to download a config yet, but I should still be able to get it detected right?

-Coley.

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2421
    • View Profile
    • ago control
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #86 on: January 24, 2008, 02:10:24 pm »
I don't have a primary remote to download a config yet, but I should still be able to get it detected right?
it should get detected as usb serial port. After that we can add the usb id's to the ZWave device template to allow pluto auto detect it when plugged in. We will then send a "download configuration" command to it and see if it behaves correctly.

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

1audio

  • Addicted
  • *
  • Posts: 552
    • View Profile
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #87 on: January 24, 2008, 06:06:00 pm »
The US ZWave and the EU ZWave run on different frequencies. They will not communicate. I will have access to one of the Homepro USB modules later this week. I will need to assemble a seperate machine to test it. Changing interfaces will screw up my system and with 20+ devices its a pain to reconstruct everything.
The ZWave stuff is not expensive but it does cost between $5-$10 us per device still. The rest of the cost is in dimming circuitry and reliability. The Leviton and Cooper stuff is much better made than the Homepro, and it shows. But the Homepro still works.

If you find a ZWave device that doesn't meet the minimum compatibility and has a ZWave logo complain loudly to the Zen-sys guys. They are supposed to be pretty aggressive on this. I know the current Harmony devices with ZWave are not compliant and they don't have logos any more.

There is software from both Homeseer and Controlthink that will do some tricks for backing up ZWave systems and restoring them. They should work with EU ZWave stuff. I like the Homeseer solution. You don't need a portable controller, just the software and your USB device. You set up your system with the USB and a laptop. Then transfer the stick to LMCE and it imports the devices from the stick. If you named the devices with the homeseer app it should be possible with a revised ZWave stack for LMCE to import those names and "autoconfigure" most of the setup.

Domodude

  • Guest
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #88 on: January 25, 2008, 09:03:18 am »
1Audio,

So the ZWave-computer interface (e.g. the ZCS201) has the configuration stored? That would explain why lmce knew I have three devices after a re-install.

Merten advertises software where you can define routes etc. on a nice GUI, it would really be excellent if this is indeed fully compliant. Perhaps it would even be possible to use their software to set up a mixed-brand z-wave implementation (more or less like you described with Homeseer), store it in the interface, and have LMCE read it in?

Tonight I will download their software, and see what happens.

Cheers,
  Mark

caiman

  • Veteran
  • ***
  • Posts: 119
    • View Profile
Re: Supporting the ACT Solutions ZCU201 USB Z-wave Interface
« Reply #89 on: January 25, 2008, 02:50:02 pm »
On the same note, since it is possible to send some custom commands with LMCE, is there any way to get info - even manually or the hard way - on the state of the network, routes in place etc ?

Homeseer has a great software that allows you to poll that information, but because it will work only with their own USB controller which uses the US frequencies, no luck to get it here in Europe.

If that's not possible at all with LMCE, is there any chance to have some functionality added to the driver of the ZCU010 ?

If not, are there any other troubleshooting tools or network mapping tools available in europe ?

many questions here, but my z-wave network doesn't work well, and I'd like to dive into it to fix it :)

Caiman