Zwave-JS-UI disconnects with ZwaveJSUI: disconnected, restarting (rc=19/Unknown error.)
Posted: Friday 27 October 2023 12:22
The previous post does not show my problem in the topic field and will be overlooked easyely. Hence this new post.
I have Zwave JS UI in a Docker comtainer and it was fully satisfactory for more then a year. Then I did a upgrade to “Z-wave JS 11.9.2”. in the summer this year. That version also did a great job, until a few days ago, then I got a message in the log stating
Error: ZwaveJSUI: disconnected, restarting (rc=19/Unknown error.)
Then it started again, but no messages and aftera bout 4 and a half minutes again that message Error: ZwaveJSUI: disconnected, restarting (rc=19/Unknown error.)
When I take a look with mqtt explorer, all the nodes are present.
Settings in ZwaveJS
Controller: Aeotec Z-Stick Gen5+
MQTT: name = Zwave_JS, host url= 192.168.1.217 (another RPI), port 1883, prefix= 1Zwave and only retain set to true
Gateway settings: topic type=named topic, payload type=JSON Time-value and only publish node details set to true.
Home assistant settings: only MQTT discovery set to true
Settings Domoticz MQTT Auto discovery Client Gateway with LAN: remote address=192.168.1.217, port 1883, Auto discovery prefix=Zwave, TLS-version=Tlsv1.2
Now, remember, this problem of disconnecting came “out of the blue”, there was no new node or whatsoever. So these settings worked and good.
I cleaned up retained messages with mqtt explorer, problem still exists, another Pi with a complete new installed Zwave JS but with the same controller, all devices present and the same issue, disconnecting.
When I use home assistant as auto discovery prefix, all devices are discovered, but no updates and after some minutes the disconnection takes place again.
I have ran out of options I can think of or where presented on the Internet, can anybody help me please?
I have Zwave JS UI in a Docker comtainer and it was fully satisfactory for more then a year. Then I did a upgrade to “Z-wave JS 11.9.2”. in the summer this year. That version also did a great job, until a few days ago, then I got a message in the log stating
Error: ZwaveJSUI: disconnected, restarting (rc=19/Unknown error.)
Then it started again, but no messages and aftera bout 4 and a half minutes again that message Error: ZwaveJSUI: disconnected, restarting (rc=19/Unknown error.)
When I take a look with mqtt explorer, all the nodes are present.
Settings in ZwaveJS
Controller: Aeotec Z-Stick Gen5+
MQTT: name = Zwave_JS, host url= 192.168.1.217 (another RPI), port 1883, prefix= 1Zwave and only retain set to true
Gateway settings: topic type=named topic, payload type=JSON Time-value and only publish node details set to true.
Home assistant settings: only MQTT discovery set to true
Settings Domoticz MQTT Auto discovery Client Gateway with LAN: remote address=192.168.1.217, port 1883, Auto discovery prefix=Zwave, TLS-version=Tlsv1.2
Now, remember, this problem of disconnecting came “out of the blue”, there was no new node or whatsoever. So these settings worked and good.
I cleaned up retained messages with mqtt explorer, problem still exists, another Pi with a complete new installed Zwave JS but with the same controller, all devices present and the same issue, disconnecting.
When I use home assistant as auto discovery prefix, all devices are discovered, but no updates and after some minutes the disconnection takes place again.
I have ran out of options I can think of or where presented on the Internet, can anybody help me please?