I have an issue that occurs every now and then (could be weeks or months between instances) but is fairly annoying. I have a cron job set up to restart z-way-server every minute, as I found in the past that it will occasionally crash. This usually helps to keep things running.
However, there is something that happens where, for certain crashes, upon restart, the z-wave binding fails and the log fills with lines such as this:
Code: Select all
[2018-03-19 14:51:23.236] [E] [HTTP] Callback execution error: ReferenceError: zway is not defined
at OpenRemote (automation/modules/OpenRemoteHelpers/index.js:166:24)
at WebServer.document_root (automation/Webserver.js:35:11)
Code: Select all
[2018-03-19 10:54:15.043] [D] [zway] Initialization done
[2018-03-19 10:54:15.043] [D] [zway] Job 0x07 (Get controller info and supported
function classes): success
[2018-03-19 10:54:15.043] [C] [zway] Device is not compatible. Terminating...
[2018-03-19 10:54:15.043] [I] [zway] Removing job: Get controller info and suppo
rted function classes
[2018-03-19 10:54:15.054] [D] [zway] Worker thread exit point
[2018-03-19 10:54:15.054] [D] [zway] Worker thread successfully finished
[2018-03-19 10:54:15.055] [I] [core] Terminating Z-Wave binding
Code: Select all
[2018-03-19 10:54:15.111] [I] [core] Trying to restart Z-Wave binding (zway) in 10 seconds
I suspect (pure speculation) that the problem is that the Razberry needs some sort of reset. I'm wondering if there's any commands that I can issue to the Razberry to avoid having to actually do a hard reset. It'd be much more convenient if I could automate this process.
As of now, I have to put the RPi on a Wemo switched outlet so that it is possible for me to revive things while away from the device, but this requires a lot of manual intervention and the system is down until I actually notice it.
Any thoughts?
Thanks!