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
Morning all,Almost there. As Hari wrote, we got a lot closer to a working Z-wave setup. The only problem remaining, I hope, is the transfer of the config from the ZTH200 Homepro primary controller to LinuxMCE.(I had some trouble getting the ZCS201 recognized by lmce, but I think that it eventually worked again after I got rid of all interfaces, rebooted the core, and then started over. That included attaching the ZCS201, turning on the system, adding the interface in the web setup, update, reload dcerouter. I think that was all it took. I will replay everything once the download problem is out of the way.)Andrew, I understand you own a ZTH200? Could you tell me if something is wrong here?Add units to the ZTH200. I have one plugin dimmer unit on group 1, 3 and 6 each.From setup, select transfer partial configurationThe ZTH200 will tell me Transfer Successful (or something like it)After this, lmce has only one light as a child device to the zcs201. If I select Transfer FULL Config, the transfer somehow fails, I think it mentions a Data Error.Any ideas?Thanks,Mark
Quote from: totallymaxed on January 19, 2008, 02:31:37 pmQuote from: Domodude on January 18, 2008, 08:12:55 amAndrew, I understand you own a ZTH200? Could you tell me if something is wrong here?Are you using the Lighting Wizard to manage the transfer/addition of the lights?Thanks. I will try to use the full config transfer.I am not using the lighting wizard, because the RS232 is not plug'n'play. It would be great to use the wizard, but so far I have had no luck. So, it's a matter of manually adding the interface, and then transfering the settings...Mark
Quote from: Domodude on January 18, 2008, 08:12:55 amAndrew, I understand you own a ZTH200? Could you tell me if something is wrong here?Are you using the Lighting Wizard to manage the transfer/addition of the lights?
Andrew, I understand you own a ZTH200? Could you tell me if something is wrong here?
Come to think of it.... I have not yet been able to get the floorplan function to work. I added my lights thorugh the "Download Config" route on the web admin site, and added the lights to my map. However, I see no lights on the map on orbiters!Another thing: reaction to the web interface is sometimes quite slow, or the command does not get processed at all. To any of you experienced Z-wave users: Is that normal?Thanks,Mark
I'm just wondering...I frequently have no reaction to commands (mostly through the web page), but get the following in the log:05 01/20/08 11:41:53.005 ### Go to timeout queue <0xb6977b90>05 01/20/08 11:41:53.005 ### skip the next job from timeout queue <0xb6977b90>What do those two lines mean? It looks like the command will just get skipped.What also happens is that I try three commands fairly quickly after each other, and I only get the above two lines once. I'd expect at least six lines. Is there a way to get more verbose debugging output?
It also seems that there are computers that have some sort of serial port stupidity going on that prevents proper communication. At the moment, I don't feel like investigating anymore. Perhaps later!
Well this is strange! I installed LMCE on a different machine, that I was previously using as an MD. And guess what! It works.The wizard did not initially recognize the RS232 interface, of course. So I skipped it initially, then I went to the web panel and manually added a Pluto/ZWave device. This recognized the interface, and immediately the video-Lady came on. Just to make sure, I reloaded the dcerouter anyway. I went back to the Setup Wizard through the orbiter, and it recognized my interface. What's more, it already knew that I have three lights. Is that cool or what? Every step from that point on was easy and just *worked*. It's still working after a core reboot (that was a gamble on the other setup!).So it seems that the ZCS201 is fully supported, obivously aside from the PnP-functionality.It also seems that there are computers that have some sort of serial port stupidity going on that prevents proper communication. At the moment, I don't feel like investigating anymore. Perhaps later!Cheers (I'm gonna have a beer!),Mark
dcerouter_48407:/usr/src/spcp8x5# makemake -C /lib/modules/2.6.20-15-generic/build M=/usr/src/spcp8x5 modulesmake[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.komake[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'dcerouter_48407:/usr/src/spcp8x5#
[165370.468000] usbcore: registered new interface driver spcp8x5[165370.468000] /usr/src/spcp8x5/spcp8x5.c: SPCP8x5 USB to serial adaptor driver v0.01
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 */
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
Quote from: Domodude on January 22, 2008, 10:44:14 amHi,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 ).Marklast time i looked they took over 140€ for a single wall mounted switch!!hope they did some sane pricing in between,best regards,Hari