OpenZwave Beta: "Network Offline OZWDaemon offline"

Hi,

I’m experiencing some trouble getting the beta version running. I’ve installed:
Mosquitro Broker addon + MQTT integration
Open Z-Wave Deamon addon
OpenZWave addon + beta integration

The integration of OpenZWave (beta) is nog working, it gives: “Network Offline OZWDaemon offline”

As far as I can tell the broker and ozw daemon are configured correctly and running. The openzwave addon keeps crashing with the log below. Can anyone help me out? I’m not quite sure what to try.

ozw.daemon: DBPath:  "/data/ozw/config/"
ozw.daemon: userPath:  "/data/ozw/config/"
ozw.daemon: Network Key Specified in Enviroment is Valid
ozw.daemon: Didn't Find Network Key File. Skipping
ozw.daemon: We Have what appears to be a valid Network Key - Passing to OZW
ozw.daemon: Didn't Find Auth Key File. Skipping
QT_MESSAGE_PATTERN: %{backtrace} is not supported by this Qt build
[20201115 0:43:02.466 CET] [ozw.manager] [debug]: Database Path:  "/data/ozw/config/"  User Path "/data/ozw/config/" 
[20201115 0:43:02.467 CET] [ozw.manager] [debug]: Models Created 
[20201115 0:43:02.468 CET] [qt.remoteobjects] [warning]:  Tried to register QRemoteObjectRootSource twice "QTOZWLog" 
[20201115 0:43:02.468 CET] [ozw.manager] [debug]: QTOZWManager Ready! 
[20201115 0:43:02.469 CET] [ozw.daemon] [debug]: Ready 
[20201115 0:43:02.469 CET] [ozw.manager] [debug]: QTOZWLog Ready! 
[20201115 0:43:02.469 CET] [ozw.manager] [debug]: QTOZWOptions Ready! 
[20201115 0:43:02.469 CET] [ozw.daemon] [info]: Staring  "ozwdaemon"  Version:  "0.1.0" 
[20201115 0:43:02.469 CET] [ozw.daemon] [info]: OpenZWave Version:  "1.6.1210" 
[20201115 0:43:02.469 CET] [ozw.daemon] [info]: QT-OpenZWave Version:  "1.2.0" 
[20201115 0:43:02.469 CET] [ozw.daemon] [info]: QT Version:  5.12.5 
[20201115 0:43:02.469 CET] [default] [info]: Docker MQTT_PASSWORD Secret Missing.... 
[20201115 0:43:02.470 CET] [default] [info]: Using MQTT_PASSWORD from Enviroment 
[20201115 0:43:02.470 CET] [ozw.mqtt.commands] [debug]: Registering Command  "ping" 
[20201115 0:43:02.470 CET] [ozw.mqtt.commands] [debug]: Registering Command  "open" 
[20201115 0:43:02.470 CET] [ozw.mqtt.commands] [debug]: Registering Command  "close" 
[20201115 0:43:02.470 CET] [ozw.mqtt.commands] [debug]: Registering Command  "refreshnodeinfo" 
[20201115 0:43:02.470 CET] [ozw.mqtt.commands] [debug]: Registering Command  "requestnodestate" 
[20201115 0:43:02.470 CET] [ozw.mqtt.commands] [debug]: Registering Command  "requestnodedynamic" 
[20201115 0:43:02.470 CET] [ozw.mqtt.commands] [debug]: Registering Command  "requestconfigparam" 
[20201115 0:43:02.470 CET] [ozw.mqtt.commands] [debug]: Registering Command  "requestallconfigparam" 
[20201115 0:43:02.470 CET] [ozw.mqtt.commands] [debug]: Registering Command  "softresetcontroller" 
[20201115 0:43:02.470 CET] [ozw.mqtt.commands] [debug]: Registering Command  "hardresetcontroller" 
[20201115 0:43:02.471 CET] [ozw.mqtt.commands] [debug]: Registering Command  "cancelcontrollercommand" 
[20201115 0:43:02.471 CET] [ozw.mqtt.commands] [debug]: Registering Command  "testnetworknode" 
[20201115 0:43:02.471 CET] [ozw.mqtt.commands] [debug]: Registering Command  "testnetwork" 
[20201115 0:43:02.471 CET] [ozw.mqtt.commands] [debug]: Registering Command  "healnetworknode" 
[20201115 0:43:02.471 CET] [ozw.mqtt.commands] [debug]: Registering Command  "healnetwork" 
[20201115 0:43:02.471 CET] [ozw.mqtt.commands] [debug]: Registering Command  "addnode" 
[20201115 0:43:02.471 CET] [ozw.mqtt.commands] [debug]: Registering Command  "removenode" 
[20201115 0:43:02.471 CET] [ozw.mqtt.commands] [debug]: Registering Command  "removefailednode" 
[20201115 0:43:02.471 CET] [ozw.mqtt.commands] [debug]: Registering Command  "hasnodefailed" 
[20201115 0:43:02.471 CET] [ozw.mqtt.commands] [debug]: Registering Command  "requestnodeneighborupdate" 
[20201115 0:43:02.471 CET] [ozw.mqtt.commands] [debug]: Registering Command  "assignreturnroute" 
[20201115 0:43:02.472 CET] [ozw.mqtt.commands] [debug]: Registering Command  "deleteallreturnroute" 
[20201115 0:43:02.472 CET] [ozw.mqtt.commands] [debug]: Registering Command  "sendnodeinformation" 
[20201115 0:43:02.472 CET] [ozw.mqtt.commands] [debug]: Registering Command  "replacefailednode" 
[20201115 0:43:02.472 CET] [ozw.mqtt.commands] [debug]: Registering Command  "requestnetworkupdate" 
[20201115 0:43:02.472 CET] [ozw.mqtt.commands] [debug]: Registering Command  "isnodefailed" 
[20201115 0:43:02.472 CET] [ozw.mqtt.commands] [debug]: Registering Command  "checklatestconfigfilerevision" 
[20201115 0:43:02.472 CET] [ozw.mqtt.commands] [debug]: Registering Command  "checklatestmfsrevision" 
[20201115 0:43:02.472 CET] [ozw.mqtt.commands] [debug]: Registering Command  "downloadlatestconfigfilerevision" 
[20201115 0:43:02.472 CET] [ozw.mqtt.commands] [debug]: Registering Command  "downloadlatestmfsrevision" 
[20201115 0:43:02.472 CET] [ozw.mqtt.commands] [debug]: Registering Command  "setvalue" 
[20201115 0:43:02.472 CET] [ozw.mqtt.commands] [debug]: Registering Command  "getpollinterval" 
[20201115 0:43:02.472 CET] [ozw.mqtt.commands] [debug]: Registering Command  "setpollinterval" 
[20201115 0:43:02.473 CET] [ozw.mqtt.commands] [debug]: Registering Command  "syncronisenodeneighbors" 
[20201115 0:43:02.473 CET] [ozw.mqtt.commands] [debug]: Registering Command  "enablepoll" 
[20201115 0:43:02.473 CET] [ozw.mqtt.commands] [debug]: Registering Command  "disablepoll" 
[20201115 0:43:02.473 CET] [ozw.mqtt.commands] [debug]: Registering Command  "refreshvalue" 
[20201115 0:43:02.473 CET] [ozw.mqtt.commands] [debug]: Registering Command  "addassociation" 
[20201115 0:43:02.473 CET] [ozw.mqtt.commands] [debug]: Registering Command  "removeassociation" 
[20201115 0:43:02.473 CET] [ozw.mqtt.publisher] [debug]: MQTT State Change "Connecting" 
[20201115 0:43:02.474 CET] [ozw.mqtt.publisher] [info]: MQTT Client Connecting 
[20201115 0:43:02.476 CET] [ozw.library] [debug]: Always - Node: 0 OpenZwave Version 1.6-1210-g6cf37295 Starting Up 
1605397382: New connection from 127.0.0.1 on port 1883.
[20201115 0:43:02.492 CET] [ozw.library] [info]: Info - Node: 0 Loading Localization File /data/ozw/config/Localization.xml 
[20201115 0:43:02.496 CET] [ozw.library] [info]: Info - Node: 0 Loaded /data/ozw/config/Localization.xml With Revision 11 
[20201115 0:43:02.498 CET] [ozw.library] [debug]: Always - Node: 0 Using Language Localization  
[20201115 0:43:02.501 CET] [ozw.library] [info]: Info - Node: 0 Loading NotificationCCTypes File /data/ozw/config/NotificationCCTypes.xml 
[20201115 0:43:02.502 CET] [ozw.library] [info]: Info - Node: 0 Loaded /data/ozw/config/NotificationCCTypes.xml With Revision 11 
[20201115 0:43:02.504 CET] [ozw.library] [info]: Info - Node: 0 Loading SensorMultiLevelCCTypes File /data/ozw/config/SensorMultiLevelCCTypes.xml 
[20201115 0:43:02.505 CET] [ozw.library] [info]: Info - Node: 0 Loaded /data/ozw/config/SensorMultiLevelCCTypes.xml With Revision 4 
[20201115 0:43:02.505 CET] [ozw.manager] [debug]: OpenZWave Manager Instance Created 
[20201115 0:43:02.505 CET] [ozw.manager] [debug]: OpenZWave Watcher Registered 
[20201115 0:43:02.505 CET] [ozw.manager] [debug]: Notification Signals Setup 
[20201115 0:43:02.505 CET] [ozw.library] [info]: Info - Node: 0 Setting Up Provided Network Key for Secure Communications 
[20201115 0:43:02.505 CET] [ozw.library] [warning]: Warning - Node: 0 Invalid Network Key. Does not contain 16 Bytes - Contains 1 
[20201115 0:43:02.505 CET] [ozw.library] [warning]: Warning - Node: 0 Raw Key: 0x44 0xa0 0x67 0x57 0x24 0x71 0x48 0xa5 0xc0 0x75 0x0d 0x0c 0x4d 0x65 0x70 0xf5 
[20201115 0:43:02.506 CET] [ozw.library] [warning]: Warning - Node: 0 Parsed Key: 
[20201115 0:43:02.506 CET] [ozw.library] [warning]: Warning - Node: 0 1) - 0x44 0xa0 0x67 0x57 0x24 0x71 0x48 0xa5 0xc0 0x75 0x0d 0x0c 0x4d 0x65 0x70 0xf5 
[20201115 0:43:02.506 CET] [ozw.library] [critical]: Error - Node: 0 Exception: Driver.cpp:6640 - 103 - Failed to Read Network Key 
terminate called after throwing an instance of 'OpenZWave::OZWException'
terminate called recursively
[20201115 0:43:02.507 CET] [ozw.daemon] [warning]: ============================= 
[20201115 0:43:02.507 CET] [ozw.daemon] [warning]: CRASH!!! - Dumping Backtrace: 
[20201115 0:43:02.507 CET] [ozw.daemon] [warning]: ============================= 
[20201115 0:43:02.508 CET] [ozw.daemon] [warning]: #1  0x0000007fb2074a08 sp=0x0000007fec946730 __setjmp + 0x38 
[20201115 0:43:02.508 CET] [ozw.daemon] [warning]: #2  0x0000007fb2074a90 sp=0x0000007fec947990 sigsetjmp + 0x80 
[20201115 0:43:02.509 CET] [ozw.daemon] [warning]: #3  0x0000007fb2074c24 sp=0x0000007fec947990 raise + 0x40 
[20201115 0:43:02.509 CET] [default] [warning]: Exiting.... 
1605397382: Socket error on client <unknown>, disconnecting.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] mqtt.sh: executing... 
1605397382: mosquitto version 1.6.8 terminating
1605397382: Saving in-memory database to /data/mosquitto.db.
[00:43:03] INFO: Ensure upstream MQTT server has the correct OZW status
[00:43:03] INFO: Successfully send discovery information to Home Assistant.
[cont-finish.d] mqtt.sh: exited 0.
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

The error message says your network key is in the wrong format. Make sure you follow the format specified in the docs. https://github.com/home-assistant/hassio-addons/blob/11dbfb55b5b0503bf2f61b9cba3c518e222cb00a/zwave/DOCS.md#how-to-use

Thankyou for making me double check. The key was fine, it was missing , in between. :grin:

I have the same problem, but I am sure the key is correct. What can be wrong? The component starts, the entities appear, but after starting the network, a message “Network Offline OZWDaemon offline” is displayed.

I would gladly install ZWaveJS, but for some reason I don’t install it at all, writes that the error is

Hey, I’m not using this integration anymore. I switched to the newer and better Z-Wave JS:

For some reason I can’t install this integration at all. And on different devices.