tabs ↹ over ␣ ␣ ␣ spaces

by Jiří {x2} Činčura

Making failed sleeping node dead to remove it from OpenZWave

2 Dec 2018 2 mins Domoticz, OpenZWave, Z-Wave

Yesterday I found out that one of my NodOn Soft Remotes was dead as a doornail, maybe even deader than a doornail. That was problem. Because the Z-Wave controller has no way detecting this node is dead, because it’s a sleeping node. How to get out of this situation?

With bit of hacking, obviously. Although having sleeping dead node in the network isn’t probably as problematic as having dead beaming node, it still sucks (using ID at least).

The steps I did are bit fuzzy, because I had to repeat some steps to make OpenZWave cooperate, but it worked at the end. Here’s what I did, your mileage may vary…

I’m using OpenZWave with Domoticz and Aeotec Z-Stick as a controller. Also, backup is always a good idea.

  • Stop any OpenZWave (or rather application using OZW) instance. In the zwcfg_xxx.xml file locate the dead node (i.e. by ID) and remove the whole CommandClass for COMMAND_CLASS_WAKE_UP. Restart the application.
  • Wait for full network initialization. The node should be marked as dead now. In OpenZWave control panel execute the Remove Failed Node command. Either this removes the node more or less immediately or not (waiting couple of minutes didn’t seem to do anything for me).
  • If not, stop the application, re-check the zwcfg_xxx.xml file and reboot the machine (maybe removing and pluging the controller/Z-Stick back in is enough, for me reboot was easier). Repeat previous step.

With steps above I was able to “fix” two nodes (while trying to exclude the NodOn Soft Remote different node got somewhat excluded and it popped up after reboot, but I already re-included (with new ID) :S) in the Z-Wave network.

Profile Picture Jiří Činčura is .NET, C# and Firebird expert. He focuses on data and business layers, language constructs, parallelism, databases and performance. For almost two decades he contributes to open-source, i.e. FirebirdClient. He works as a senior software engineer for Microsoft. Frequent speaker and blogger at www.tabsoverspaces.com.