Hello,
I have been using the zwave binding for a few years now. I have been using the Aeotec Gen5 zstick (ZW090) for a couple of years as well without any issues. Recently I cannot get the zstick controller to stay online.
If I close openHAB and use the Z-Wave PC Controller 5 software, I am able to control my zwave light switches. This seems to tell me that my zwave controller is working properly, but I could be missing something.
I am hoping someone can take a look at my configuration and logs and point me in the right direction. I have tried a soft reset of my controller. I have also tried a fresh install of openHAB 2.5.2. I also tried a fresh install of Windows.
I commented out a bunch of my nodes to try to simplify the problem. I have tried installing the zstick controller through PaperUI and through configuration files without success either way.
Any advice would be much appreciated. Maybe I just need a new zstick controller.
Thanks for the reply @Bruce_Osborne. Sorry for those missing details.
openHAB 2.5.1 Stable runtime (I have tried a fresh install of 2.5.2, but the attached log file is from 2.5.1)
Java 8.44.0.11 from zulu
Windows 10, 64bit
Fresh install, I was running 2.3.0 for quite some time and my zstick started going offline occasionally. A restart usually fixed it. This prompted me to download 2.5.1 (early February) and move my configurations over slowly.
Half way down Chris suggests an issue with the serial driver or device.
When you are testing with PC Controller are you on same machine so same driver?
Possibly it will fail in this also if left long enough with enough traffic. Possibly try the test program in PC controller to give it some traffic and see if serial fails also.
Here are the contents of the addons.config file. While reading the forums I saw others with the restdocs issue and some commas in the wrong places, but I don’t think anything is wrong here. Please let me know if I am mistaken:
I am on the same machine when I test with PC Controller.
It didn’t take too much to reproduce the error state with PC Controller. I added many nodes to the ERTT test, as you suggested, and my zstick has stopped responding. It seems frozen because the LED ring light has stopped changing colors. I left the delay at 100 ms between commands.
I tried many different test sequences and I noticed that if I include node 28 in the test sequence, it causes my failure. In fact, if I test node 28 by itself the zstick stops communicating. I think I will try testing each node one at a time and then exclude all the nodes that are causing my failure.
I wonder if this means I have a bad zwave light switch?
The log from openHab failed during a send to a different node but that does not say that node 28 did not send an unsolicited report that froze the stick.
These sort of things can be very odd. I have heard people claim all sorts of witches brew fixed them but I think often it is just within the brew they removed and re-added the node that happened to be the issue.
If you have a backup of the NVM from a while back I would suggest that rather than witches brew. If not if 28 is an issue remove it before testing as it may be transmitting something in the background and confuse your further tests. A zniffer always helps as you would see what node 28 is doing.
If you cannot fix, there is a way to move your network without having to re add everything but it involves having two further sticks. If you were to buy two then one could become a zniffer after you transfer. If you buy standard sticks like the silicon labs UZB-3 then you can use PC Controller to backup NVM and also they flash to zniffer with no issue. Other recent sticks will also work.
Thanks for your suggestions. I ended up factory resetting the zstick, removing all nodes and re-adding everything except node 28. Once this is working stably, I will back up the zstick and go from there.
EDIT: It turns out that the PC Controller software reports that the Aeotect Gen5 zstick does not support NVM backups.
As a followup, my node that went bad was a ZEN23 V2 toggle switch that was controlling a fluorescent light fixture. I contacted The Smartest House and they replaced it under warranty and asked me to not use the switches with fluorescent fixtures.