Author Topic: ZWave wizard fail on latest LinuxMCE snapshot  (Read 10815 times)

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: ZWave wizard fail on latest LinuxMCE snapshot
« Reply #15 on: February 17, 2011, 06:49:36 pm »
Thanks Andrew those are awesome direction! 

It made it so I could have my zstick plugged in without the router reloading repeatedly but I still couldn't get it going.  I set it up manually then followed the wiki but nothing happened.  Although the Wizard was flaking out it did create the devices and last night I found a little trick to kind of pause the wizard so it wouldn't reload the router.  All I did was click cancel (which I did before but nothing would happen, but last night it was responding) which caused the wizard to ask me a question, I noticed while it had the question up the reload router would not happen but it looked like the setup procedure was still working in the background.  I then conducted an experiment with the zwave device the wizard created and the one I manually created and it looks like I'm failing at the first step in the instructions, resetting the stick.  I used the windows app to view and reset the stick, I then manually included one switch to it using the button on the stick, I then plugged it into the core and performed the steps in the wiki stopping at the add nodes step, I plugged the stick back into the laptop to view it with the windows app and the switch I included before resetting the stick with the core was still there (I made certain to reload the app).  I was expecting a zstick in sis or suc mode with no nodes included.  When I reset the stick with the windows app all nodes are removed.  Are my expectations accurate?

I really don't know what to do now.  I was curtain the reloading of the router was my problem but now I'm lost.  I'm surprised by how automated and easy it worked the first time but now it's as if the core doesn't know what to do with this stick.  I'm using a MiCasaVerde Z-Wave Dongle, It seemed like the easier solution, am I missing something?  Has anything z wave related changed with the last few snapshots?

If you set your ZWave interface up manually then the Lighting Wizard is not used at all - again the procedure on the Wiki page I referred too was the manual SIS mode inclusion process. We dont use the Micasaverde ZWave sticks and so I dont have any experience to offer you in that area I'm afraid. However the basic premise of the Micasaverde stick is that you use it directly for inclusion and then re-insert it into there usb port when done. I think Hari has some experience of these Zwave interfaces he might be able to offer some insight.

All the best


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

klovell

  • Guru
  • ****
  • Posts: 205
    • View Profile
Re: ZWave wizard fail on latest LinuxMCE snapshot
« Reply #16 on: March 25, 2011, 03:01:08 pm »
Hari or anyone who can decipher the errors in this log, please help.  I have no clue what this means.  I got everything working again but i had to reinstall the core, now I get this.  I really would appreciate any kind of help.

I'm using a MiCasaVerde Z-Wave Dongle, I've followed all the steps in the Wiki, but still no luck.  Please help  :'(.

Code: [Select]
01 03/24/11 20:34:40.716 TranslateSerialUSB pci0000:00/0000:00:0b.0+4 result /dev/ttyUSB0 <0xb715c6c0>
01 03/24/11 20:34:40.840 ZWave Version: 2.78 <0xb715bb90>
01 03/24/11 20:34:40.944 Home id: 0x00006f9d, our node id: 1 <0xb715bb90>
01 03/24/11 20:34:41.056 SerAppV:3,r7,Manf 0,Typ 1,Prod 1 <0xb715bb90>
01 03/24/11 20:34:42.006
01 03/24/11 20:35:55.128 TranslateSerialUSB pci0000:00/0000:00:0b.0+4 result /dev/ttyUSB0 <0xb71b16c0>
01 03/24/11 20:35:55.368 ZWave Version: 2.78 <0xb71b0b90>
01 03/24/11 20:35:55.473 Home id: 0x00006f9d, our node id: 1 <0xb71b0b90>
01 03/24/11 20:35:55.580 SerAppV:3,r7,Manf 0,Typ 1,Prod 1 <0xb71b0b90>
01 03/24/11 20:35:56.495
01 03/24/11 20:47:32.431 Checksum incorrect ff - sending NAK <0xb71b0b90>
01 03/24/11 20:47:32.432 ERROR! Out of frame flow!! <0xb71b0b90>
01 03/24/11 20:47:32.432 ERROR! Out of frame flow!! <0xb71b0b90>
01 03/24/11 20:47:32.432 ERROR! Out of frame flow!! <0xb71b0b90>
01 03/24/11 20:47:32.432 ERROR! Out of frame flow!! <0xb71b0b90>
01 03/24/11 20:47:32.432 ERROR! Out of frame flow!! <0xb71b0b90>
01 03/24/11 20:47:32.433 ERROR! Out of frame flow!! <0xb71b0b90>
01 03/24/11 20:47:32.433 ERROR! Out of frame flow!! <0xb71b0b90>
01 03/24/11 20:47:32.433 ERROR! Out of frame flow!! <0xb71b0b90>
01 03/24/11 20:53:38.972 TranslateSerialUSB pci0000:00/0000:00:0b.0+4 result /dev/ttyUSB0 <0xb714e6c0>
01 03/24/11 20:53:39.096 ZWave Version: 2.78 <0xb714db90>
01 03/24/11 20:53:39.200 Home id: 0x00006f9d, our node id: 1 <0xb714db90>
01 03/24/11 20:53:39.308 SerAppV:3,r7,Manf 0,Typ 1,Prod 1 <0xb714db90>
01 03/24/11 20:53:40.224
01 03/24/11 20:57:49.560 TranslateSerialUSB pci0000:00/0000:00:0b.0+4 result /dev/ttyUSB0 <0xb72376c0>
01 03/24/11 20:57:49.684 ZWave Version: 2.78 <0xb7236b90>
01 03/24/11 20:57:49.793 Home id: 0x00006f9d, our node id: 1 <0xb7236b90>
01 03/24/11 20:57:49.900 SerAppV:3,r7,Manf 0,Typ 1,Prod 1 <0xb7236b90>
01 03/24/11 20:57:50.817
01 03/24/11 21:06:34.732 TranslateSerialUSB pci0000:00/0000:00:0b.0+8 result /dev/ttyUSB0 <0xb70b26c0>
01 03/24/11 21:06:34.857 ZWave Version: 2.78 <0xb70b1b90>
01 03/24/11 21:06:34.961 Home id: 0x00006f9d, our node id: 1 <0xb70b1b90>
01 03/24/11 21:06:35.069 SerAppV:3,r7,Manf 0,Typ 1,Prod 1 <0xb70b1b90>
01 03/24/11 21:06:36.300
01 03/24/11 21:08:47.328 TranslateSerialUSB pci0000:00/0000:00:0b.0+8 result /dev/ttyUSB0 <0xb724d6c0>
01 03/24/11 21:08:47.465 ZWave Version: 2.78 <0xb724cb90>
01 03/24/11 21:08:47.576 Home id: 0x00006f9d, our node id: 1 <0xb724cb90>
01 03/24/11 21:08:47.685 SerAppV:3,r7,Manf 0,Typ 1,Prod 1 <0xb724cb90>
01 03/24/11 21:08:48.937
01 03/24/11 21:10:26.590 Receive string failed in HandleRequestSocket 18:ReceiveData failed Command_Impl1 Dev #83 <0xb624ab90>
01 03/24/11 21:10:34.985 TranslateSerialUSB pci0000:00/0000:00:0b.0+8 result /dev/ttyUSB0 <0xb72086c0>
01 03/24/11 21:10:35.109 ZWave Version: 2.78 <0xb7207b90>
01 03/24/11 21:10:35.213 Home id: 0x00006f9d, our node id: 1 <0xb7207b90>
01 03/24/11 21:10:35.321 SerAppV:3,r7,Manf 0,Typ 1,Prod 1 <0xb7207b90>
01 03/24/11 21:10:36.561

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: ZWave wizard fail on latest LinuxMCE snapshot
« Reply #17 on: March 26, 2011, 12:01:27 am »
please factory reset the dongle, something looks very weird here..

br Hari
rock your home - http://www.agocontrol.com home automation

klovell

  • Guru
  • ****
  • Posts: 205
    • View Profile
Re: ZWave wizard fail on latest LinuxMCE snapshot
« Reply #18 on: March 28, 2011, 03:44:29 pm »
please factory reset the dongle, something looks very weird here..

br Hari

I did that a few time, before and after reading this reply, no luck.

From looking at the logs do you think it's possible that the z-stick is broken?  It looks like LMCE sees the stick and is setting it up properly but it's not seeing the lighting controller part of the stick.  Every time I plug it in Sara tells me to pair my zwave devices with the master controller first.  So I'll unplug the stick walk over to a light switch, pair it, plug the stick back into the core, LMCE chews on it for a second or two, then I get told to include my devices to the master controller first. 

Also, the last time I tried to reset the stick I used that program I uploaded to this thread.  I reset the stick, there were no nodes on the list of included nodes, for the heck of it I click on the "All on" button in the application and the weirdest thing happened, every single light in my house turned on.  It's my understanding that a zwave node wont accept or repeat commands from a device it's not on the same network with.  If I reset the z-wave stick wouldn't that break the association?  Am I understanding this correctly? I don't recall this being normal operation in the past.  Any thoughts on this?