Author Topic: zwave network lockups/delays  (Read 699 times)

mikeybs

  • Veteran
  • ***
  • Posts: 56
    • View Profile
zwave network lockups/delays
« on: June 13, 2014, 12:56:34 am »
I've added a bunch of leviton zwave switches and sometimes when commands are sent, one of the switches does not respond immediatly.  There is a delay from anywhere between a couple seconds to a couple minutes.  During this time the rest of the zwave switches are unresponsive.  When the unresponsive switch eventually responds , the rest of the zwave commands that had been issues that weren't getting through all happen in rapid succession.

Anyone have experiences like this?  Any solutions?

huh

  • Guru
  • ****
  • Posts: 235
    • View Profile
Re: zwave network lockups/delays
« Reply #1 on: June 13, 2014, 05:14:40 am »
I've had this when one of my nodes (plug-in dimmer) was unplugged.  I made up the scenario that the system was trying to "talk" to the missing node for a while, would give up and then catch-up with the string of commands.

I have no documentation to support this hypothesis.

sambuca

  • Guru
  • ****
  • Posts: 443
    • View Profile
Re: zwave network lockups/delays
« Reply #2 on: June 13, 2014, 07:35:43 am »
ZWave is designed to route messages between the devices, so if one device is unplugged or there is a temporary radio communication problem, you will get a failed transmission. By default, a failed transmission will cause the ZWave driver to delay, to allow the network time to re-route the message. If the message is still failed, it will try to re-send it, and once again cause a delay if it fails. This delay can be tuned up or down, but experience has shown that some USB sticks require a high delay(30-40s) or they will lock up and need to be unplugged and replugged.

The best way to avoid this is to make sure your devices all know about their neighbour devices, so that they are well connected. (The messages are routed through a device's known neighbours). If you use LMCE 1204, there is the new Advanced ZWave page (in the Automation menu) that will display this clearly and provide commands to fix such problems (Heal Node / Heal Network).

Adding more devices between the usb controller and the problematic device can also help better routing to that device.

regards,
sambuca

B34N

  • Guru
  • ****
  • Posts: 155
    • View Profile
Re: zwave network lockups/delays
« Reply #3 on: June 14, 2014, 08:32:25 pm »
Anyone have experiences like this?  Any solutions?

How did you add the devices to your network? I used to have the same problem until I went out and got an inclusion remote.

I don't really understand all of the details but when I used only my Aeon stick, the devices got added but the z-wave devices were not able to reliably communicate. I think it has something to do with how an inclusion remote adds devices to the network and builds "routes." Since I used the stick, the devices seem to have a much better mapping and my z-wave is nearly 100%.

B34N

mikeybs

  • Veteran
  • ***
  • Posts: 56
    • View Profile
Re: zwave network lockups/delays
« Reply #4 on: July 22, 2014, 10:11:44 pm »
I am using an inclusion remote. 

http://www.amazon.com/gp/product/B007J26PIS/ref=wms_ohs_product?ie=UTF8&psc=1

Everything seemed to be going fine at first.  But the more lights I add and the further I get away from the usb zwave controller the more issues I am having. 

I now have one light that stopped responding completely.  I tried to manually remove it and readd it to the network, but it didn't work with the inclusion remote.  I then just deleted the device from the tree and then tried to readd it, still not working...  The switch functions as expected, but all the zwave functionality does not work anymore.

I kind of want to start from scratch with a fresh linuxmce install and see if I could have some better luck.  What is the best way of doing that?  Do I need to go through with the inclusion remote and remove all the devices?  Should I reset the zwave controller first?  Can anyone help me with the order of operations for tearing down and rebuilding my zwave network?

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2935
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: zwave network lockups/delays
« Reply #5 on: July 22, 2014, 11:33:55 pm »
You did not say whether you are on 1004 or 1204, or I did not find it. If you are on 1204, check the advanced web page for zwave. Might give you a hint or two.

mikeybs

  • Veteran
  • ***
  • Posts: 56
    • View Profile
Re: zwave network lockups/delays
« Reply #6 on: July 22, 2014, 11:50:34 pm »
I am on 1004, but if I do a fresh install I will be using 1204.

The only way I could get the unresponsive light to do anything was to kill power to it.  After I restored power I was able to use the inclusion remote to remove it and readd it.  The light appeared to be readded just fine.  A new light appeared in my device tree.  However, it still is not responding to commands...  All the other lights in the room, respond as expected, but that one does not.  I've tried using both scenarios to operate the light as well as using the "Send Command to Device" pop up on the web interface.  Neither produces any response from the light.

Another question, when adding in a multipole light, should I only include the master switch using the inclusion remote, or should the include also be done on the remote switches as well?

I think of I've done it both ways and both ways seemed to have worked, but now I am having issues and wondering if maybe I did something wrong...