Author Topic: ZWave: downloading config from ZTH200 to ZCU010 failed on 8.10B2  (Read 7427 times)

daballiemo

  • Guru
  • ****
  • Posts: 244
  • Full Blown Addict
    • View Profile
ZWave: downloading config from ZTH200 to ZCU010 failed on 8.10B2
« on: December 04, 2009, 05:15:41 pm »
I've been building a system aroiund 8.10B and now beta2 just to get the hang before replacing my 7.10 system.

I have run into problem with the ZWave part. After adding the Homepro ZCU010 to the core everything looks normal (as far as I can see).
When I try to copy the config from the controller to the core I end with:

Code: [Select]
41      12/04/09 17:07:24.281           0x1 0x4 0x0 0x42 0x12 0xab (###B##) <0xb7a80b90>                  
41      12/04/09 17:07:24.297           0x1 0x4 0x0 0x42 0x12 0xab (###B##) <0xb7a80b90>                  
41      12/04/09 17:07:24.313           0x1 0x4 0x0 0x42 0x12 0xab (###B##) <0xb7a80b90>                  
36      12/04/09 17:07:40.362           Received command #757 - Download Configuration <0xb6a7eb90>        
36      12/04/09 17:07:40.363           Download configuration start <0xb6a7eb90>                          
36      12/04/09 17:07:40.363           Replicate controller start <0xb6a7eb90>                            
40      12/04/09 17:07:40.410           Sending job 0x8858ed8 (cb 0) - 0x1 0x4 0x0 0x50 0x1 0xaa (###P##) <0xb7a80b90>                                                                                                
36      12/04/09 17:08:10.542           We have been idle for 30 seconds, polling device states <0xb7a80b90>                                                                                                          
40      12/04/09 17:08:10.642           Sending job 0x88590f8 (cb 19) - 0x1 0x9 0x0 0x13 0xff 0x2 0x20 0x2 0x5 0x13 0x2c (###### ###,) <0xb7a80b90>                                                                  
41      12/04/09 17:08:10.661           0x1 0x4 0x1 0x13 0x1 0xe8 (######) <0xb7a80b90>                    
36      12/04/09 17:08:10.661           ZW_SEND delivered to Z-Wave stack <0xb7a80b90>                    
41      12/04/09 17:08:10.677           0x1 0x5 0x0 0x13 0x13 0x0 0xfa (#######) <0xb7a80b90>              
36      12/04/09 17:08:10.677           ZW_SEND Response with callback 19 received <0xb7a80b90>            
36      12/04/09 17:08:10.677           ZW_SEND was successful, removing job <0xb7a80b90>                  
40      12/04/09 17:08:10.774           Sending job 0x8859318 (cb 20) - 0x1 0x9 0x0 0x13 0xff 0x2 0x31 0x4 0x5 0x14 0x3c (######1###<) <0xb7a80b90>                                                                  
41      12/04/09 17:08:10.787           0x1 0x4 0x1 0x13 0x1 0xe8 (######) <0xb7a80b90>                    
36      12/04/09 17:08:10.788           ZW_SEND delivered to Z-Wave stack <0xb7a80b90>                    
41      12/04/09 17:08:10.803           0x1 0x5 0x0 0x13 0x14 0x0 0xfd (#######) <0xb7a80b90>              
36      12/04/09 17:08:10.803           ZW_SEND Response with callback 20 received <0xb7a80b90>            
36      12/04/09 17:08:10.803           ZW_SEND was successful, removing job <0xb7a80b90>                  
36      12/04/09 17:08:40.363           Download configuration end <0xb6a7eb90>                            
36      12/04/09 17:08:40.363           Replicate controller end <0xb6a7eb90>                              
36      12/04/09 17:08:40.363           Get new init data after replication <0xb6a7eb90>                  
05      12/04/09 17:08:40.364           Socket::ReceiveData 0x88252d0 failed, bytes left 0 start: 20000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 7 Command_Impl1 Dev #61 <0xb6a7eb90>                                          
05      12/04/09 17:08:40.364           Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Command_Impl1 Dev #61 <0xb6a7eb90>                                                                                    
01      12/04/09 17:08:40.364           Receive string failed in HandleRequestSocket 18:ReceiveData failed Command_Impl1 Dev #61 <0xb6a7eb90>                                                                        
05      12/04/09 17:08:40.365           Dumping 1 locks <0xb6a7eb90>                                      
05      12/04/09 17:08:40.365           finished check for exceptions <0xb6a7eb90>                        
05      12/04/09 17:08:40.365           OL: (0x882541c) (>101) MessageQueue Command_Impl.cpp l:822 time: 1:00:00a (1259942920 s) thread: 3072850832 Rel: Y Got: Y <0xb6a7eb90>                                        
Return code: 2                                                                                            
2       12/04/09 17:08:40       61 (spawning-device)    Device requests restart... count=1/50 dev=61      
Fri Dec  4 17:08:40 CET 2009 Restart  

I have done the obvious until now: reload, restart, deleted and add again, reload etc. You all know the drill.

Anybody any clues or options?
« Last Edit: December 04, 2009, 06:09:34 pm by daballiemo »
HP N40L12.04 KVM with virt LCME8.10/10.04
MD: FoxConn NetBox 330I - Samsung LE 26 (1360* 768)
MD: M2NPV-VM dual core AMD 64/3800/2Gb/NV6150 - Samsung UE 55 C8700 (full hd, 3d)
MD: FoxConn NetBox 330I - LG 32ld350

daballiemo

  • Guru
  • ****
  • Posts: 244
  • Full Blown Addict
    • View Profile
Re: ZWave: downloading config from ZTH200 to ZCU010 failed on 8.10B2
« Reply #1 on: December 05, 2009, 02:01:27 pm »
Hari,
can u help out with some things I can try and maybe get things up and running
HP N40L12.04 KVM with virt LCME8.10/10.04
MD: FoxConn NetBox 330I - Samsung LE 26 (1360* 768)
MD: M2NPV-VM dual core AMD 64/3800/2Gb/NV6150 - Samsung UE 55 C8700 (full hd, 3d)
MD: FoxConn NetBox 330I - LG 32ld350

daballiemo

  • Guru
  • ****
  • Posts: 244
  • Full Blown Addict
    • View Profile
Re: ZWave: downloading config from ZTH200 to ZCU010 failed on 8.10B2
« Reply #2 on: December 06, 2009, 07:48:48 pm »
Well,

I took this a bit further.

Step 1) As a test measure I build a 7.10 system to give it a try with the new ZWave appl (according to the wiki: http://wiki.linuxmce.org/index.php/Z-Wave). Exactly the same behaviour and the same errors.

Step 2) Downloaded mControl for Windows (http://www.embeddedautomation.com/EAHAmControlDownload.htm). In the software is a nice little util to speak to the ZCU010 after you install the driver (http://www.smarthus.info/support/download/zwave/zwave_usb_1_6_20.zip. I then performed a reset on the ZTH200, programmed it with the HomePro lightswitches I have and copied it over to the ZCU010 and this time without any problems  ;D. After this I plugged the ZCU010 back into the core and after a few reloads........   :D IT WORKED. The core generated the childs and I was able to put them into a room and control them! In 10 minutes I had made an event that dimmed the lights when watching a movie, yehhhh... Rockin..

So the above proves at least my equipment is working. So this means either I did something wrong copying the setup to the core, the firmware I have on the ZCU010 is behaving differently as Linuxmce is expecting or nobody has tested this yet  ??? ???
HP N40L12.04 KVM with virt LCME8.10/10.04
MD: FoxConn NetBox 330I - Samsung LE 26 (1360* 768)
MD: M2NPV-VM dual core AMD 64/3800/2Gb/NV6150 - Samsung UE 55 C8700 (full hd, 3d)
MD: FoxConn NetBox 330I - LG 32ld350

wombiroller

  • Guru
  • ****
  • Posts: 340
    • View Profile
Re: ZWave: downloading config from ZTH200 to ZCU010 failed on 8.10B2
« Reply #3 on: January 25, 2010, 09:48:52 am »
Well,

I took this a bit further.

Step 1) As a test measure I build a 7.10 system to give it a try with the new ZWave appl (according to the wiki: http://wiki.linuxmce.org/index.php/Z-Wave). Exactly the same behaviour and the same errors.

Step 2) Downloaded mControl for Windows (http://www.embeddedautomation.com/EAHAmControlDownload.htm). In the software is a nice little util to speak to the ZCU010 after you install the driver (http://www.smarthus.info/support/download/zwave/zwave_usb_1_6_20.zip. I then performed a reset on the ZTH200, programmed it with the HomePro lightswitches I have and copied it over to the ZCU010 and this time without any problems  ;D. After this I plugged the ZCU010 back into the core and after a few reloads........   :D IT WORKED. The core generated the childs and I was able to put them into a room and control them! In 10 minutes I had made an event that dimmed the lights when watching a movie, yehhhh... Rockin..

So the above proves at least my equipment is working. So this means either I did something wrong copying the setup to the core, the firmware I have on the ZCU010 is behaving differently as Linuxmce is expecting or nobody has tested this yet  ??? ???

Thanks - daballiemo. I just tested and these instructions worked for me (using mControl zwave config utility)... without it the setup wizard was crashing and I couldn't seem to add them manually in the webmin...

wombiroller

  • Guru
  • ****
  • Posts: 340
    • View Profile
Re: ZWave: downloading config from ZTH200 to ZCU010 failed on 8.10B2
« Reply #4 on: January 25, 2010, 10:18:41 am »
Updated the Wiki. Hopefully this isn't too far off base:
http://wiki.linuxmce.org/index.php/Z-Wave#Open_version

Trac:
http://svn.linuxmce.org/trac.cgi/ticket/577

Cheers,
WR
« Last Edit: January 25, 2010, 10:25:34 am by wombiroller »

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: ZWave: downloading config from ZTH200 to ZCU010 failed on 8.10B2
« Reply #5 on: February 25, 2010, 10:58:58 am »
wombiroller,

there have been some changes in the code. Could you please check if trac ticket 577 is still valid. Thank you.

wombiroller

  • Guru
  • ****
  • Posts: 340
    • View Profile
Re: ZWave: downloading config from ZTH200 to ZCU010 failed on 8.10B2
« Reply #6 on: February 25, 2010, 12:20:34 pm »
wombiroller,

there have been some changes in the code. Could you please check if trac ticket 577 is still valid. Thank you.

Thanks!

NP - i'll delete the zwave and try and reinstall tomorrow via the wizard (getting late here). Will update the trac/forum.

davegravy

  • Addicted
  • *
  • Posts: 551
    • View Profile
Re: ZWave: downloading config from ZTH200 to ZCU010 failed on 8.10B2
« Reply #7 on: March 10, 2010, 08:54:25 pm »
I'm having a similar issue. What was the result of this?

wombiroller

  • Guru
  • ****
  • Posts: 340
    • View Profile
Re: ZWave: downloading config from ZTH200 to ZCU010 failed on 8.10B2
« Reply #8 on: March 12, 2010, 02:43:59 pm »
Sorry about the delay.

I deleted the zwave devices from my core and tried to reinstall. No more wizard crashes, but it still can't identify any paired devices.

I have the zwave device paired with 2 dimmable light switches.

1. I plug the Zwave device in it gets auto-detected and takes me to the wizard.
2. I get the "waiting for the new device to start up" message
3. I get an error "The device failed to start properly. Something is not right." Clicking ok...
4. I get a message "I found your security system zwave embedded security interf, but it doesn't seem to be controlling any sensors. Please confirm that it has sensors attached, and add them manually using the LinuxMCE Admin Web Page."

I have tried adding "Light Switch (dimmable) #38" child devices in the webadmin, but I can't get any response out of them.

Not sure about the "security system zwave embedded security interf" is it trying to find security sensors instead of lights? I don't have any yet...

I'll hold off using the windows work around in case someone wants me to do some troubleshooting...

Cheers,
WR.


« Last Edit: March 12, 2010, 02:47:11 pm by wombiroller »

wombiroller

  • Guru
  • ****
  • Posts: 340
    • View Profile
Re: ZWave: downloading config from ZTH200 to ZCU010 failed on 8.10B2
« Reply #9 on: March 28, 2010, 09:40:43 am »
FYI: I just did a full reinstall (for an unrelated reason) and for whatever reason, this seemed to fix what the apt-get upgrade didn't. Worked a charm :-)

Have updated track also.

THX!
WR.