Setting up OpenZWave from 0.110

If you have the RaZberry connected to your Pi now? If so do a ls -al /dev/serial/by-id/* and post it here.

I would try image allinone-build-150, the latest builds have known issues. If that’s not successful, post the contents of the ozwdaemon.log

If you are want to run those at the same time, you need to set a different instance value for one of them or they’ll conflict.

Not applicable to RaZberry GPIO card, only RaZberry USB stick…
Your ls command shows the Nortek HUSBZB-1 I have plugged into it:

root@HS3Pi3v5:/dev/serial# ls -al /dev/serial/by-id/*
lrwxrwxrwx 1 root root 13 Jul 14 10:56 /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_5130127C-if00-port0 -> ../../ttyUSB0
lrwxrwxrwx 1 root root 13 Jul 14 10:56 /dev/serial/by-id/usb-Silicon_Labs_HubZ_Smart_Home_Controller_5130127C-if01-port0 -> ../../ttyUSB1

So it’s /dev/pigpio then?

No, it’s /dev/ttyAMA0. UART0 (type PL011) on the Pi. I’ve been using it for years in HS via ser2net, which I stop when testing OZW…


What kind of errors do you see when trying to use it?

Where to start?
I am at this point with ttyAMA0…
(I fixed the error with -e OZW_NETWORK_KEY by removing the surrounding " ")

docker run -d \
    --name ozw_AMA0 \
    --restart=unless-stopped \
    --security-opt seccomp=unconfined \
    --device=/dev/ttyAMA0 \
    -v $PWD/ozw:/opt/ozw/config \
    -e MQTT_SERVER="192.168.1.104" \
    -e USB_PATH="/dev/ttyAMA0" \
    -e OZW_NETWORK_KEY=0xBC,0x87,0xD5,0xE2,0x51,0xB3,0xA7,0x44,0x05,0x20,0xEA,0x0E,0xBC,0xF9,0xD6,0x17 \
    -p 1983:1983 \
    -p 5901:5901 \
    -p 7800:7800 \
    openzwave/ozwdaemon:allinone-build-150

Current ozwdaemon.log:

Executing: /usr/local/bin/ozwdaemon -s /dev/ttyAMA0 --config-dir /opt/ozw/config --user-dir /opt/ozw/config --mqtt-server 192.168.1.104 --mqtt-port 1883 --stop-on-failure --mqtt-instance 1 
ozw.daemon: Checking  "/opt/ozw/config"  for manufacturer_specific.xml
Configuration Database Does Not Exist - Copying Database to Location  "/opt/ozw/config/"
ozw.database: Testing  "/opt/ozw/qt-openzwavedatabase.rcc"
ozw.database: Testing  "/opt/ozw/qt-openzwavedatabase.rcc"
ozw.database: Testing  "/opt/ozw/qt-openzwavedatabase/qt-openzwavedatabase.rcc"
ozw.database: Testing  "/opt/ozw/qt-openzwavedatabase.rcc"
ozw.database: Testing  "/opt/qt-openzwave/qt-openzwavedatabase/qt-openzwavedatabase.rcc"
ozw.database: Testing  "/qt-openzwave/qt-openzwavedatabase/qt-openzwavedatabase.rcc"
ozw.database: Testing Standard Paths "/root/.local/share/OpenZWave/qt-openzwavedatabase.rcc"
ozw.database: Testing Standard Paths:  "/usr/local/bin/root/.local/share/OpenZWave/qt-openzwavedatabase.rcc"
ozw.database: Testing Standard Paths "/usr/local/share/OpenZWave/qt-openzwavedatabase.rcc"
ozw.database: Testing Standard Paths:  "/usr/local/bin/usr/local/share/OpenZWave/qt-openzwavedatabase.rcc"
ozw.database: Testing Standard Paths "/usr/share/OpenZWave/qt-openzwavedatabase.rcc"
ozw.database: Found qt-openzwavedatabase.rcc at  "/usr/share/OpenZWave/qt-openzwavedatabase.rcc"
ozw.database: copyConfigDatabase: Copying  "ge/receptacle.xml"  to  "/opt/ozw/config/ge/receptacle.xml"
ozw.database: copyConfigDatabase: Copying...
.
.
ozw.database: copyConfigDatabase: Copying  "electronicsolutions/dbmz.xml"  to  "/opt/ozw/config/electronicsolutions/dbmz.xml"
ozw.daemon: Checking  "/opt/ozw/config"  for options.xml
User Configuration Path Does Not Exist - Copying Config Files to Location  "/opt/ozw/config/"
ozw.database: Testing  "/opt/ozw/qt-openzwavedatabase.rcc"
ozw.database: Testing  "/opt/ozw/qt-openzwavedatabase.rcc"
ozw.database: Testing  "/opt/ozw/qt-openzwavedatabase/qt-openzwavedatabase.rcc"
ozw.database: Testing  "/opt/ozw/qt-openzwavedatabase.rcc"
ozw.database: Testing  "/opt/qt-openzwave/qt-openzwavedatabase/qt-openzwavedatabase.rcc"
ozw.database: Testing  "/qt-openzwave/qt-openzwavedatabase/qt-openzwavedatabase.rcc"
ozw.database: Testing Standard Paths "/root/.local/share/OpenZWave/qt-openzwavedatabase.rcc"
ozw.database: Testing Standard Paths:  "/usr/local/bin/root/.local/share/OpenZWave/qt-openzwavedatabase.rcc"
ozw.database: Testing Standard Paths "/usr/local/share/OpenZWave/qt-openzwavedatabase.rcc"
ozw.database: Testing Standard Paths:  "/usr/local/bin/usr/local/share/OpenZWave/qt-openzwavedatabase.rcc"
ozw.database: Testing Standard Paths "/usr/share/OpenZWave/qt-openzwavedatabase.rcc"
ozw.database: Found qt-openzwavedatabase.rcc at  "/usr/share/OpenZWave/qt-openzwavedatabase.rcc"
ozw.database: copyUserDatabase: Copying  "options.xml"  to  "/opt/ozw/config/options.xml"
ozw.daemon: DBPath:  "/opt/ozw/config/"
ozw.daemon: userPath:  "/opt/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
[20200714 23:04:12.525 UTC] [ozw.manager] [debug]: Database Path:  "/opt/ozw/config/"  User Path "/opt/ozw/config/" 
[20200714 23:04:12.531 UTC] [ozw.manager] [debug]: Models Created 
[20200714 23:04:12.568 UTC] [qt.remoteobjects] [warning]:  Tried to register QRemoteObjectRootSource twice "QTOZWLog" 
[20200714 23:04:12.568 UTC] [ozw.manager] [debug]: QTOZWManager Ready! 
[20200714 23:04:12.568 UTC] [ozw.daemon] [debug]: Ready 
[20200714 23:04:12.568 UTC] [ozw.manager] [debug]: QTOZWLog Ready! 
[20200714 23:04:12.568 UTC] [ozw.manager] [debug]: QTOZWOptions Ready! 
[20200714 23:04:12.569 UTC] [ozw.daemon] [info]: Staring  "ozwdaemon"  Version:  "0.1.150" 
[20200714 23:04:12.569 UTC] [ozw.daemon] [info]: OpenZWave Version:  "1.6.1185" 
[20200714 23:04:12.569 UTC] [ozw.daemon] [info]: QT-OpenZWave Version:  "1.2.0" 
[20200714 23:04:12.569 UTC] [ozw.daemon] [info]: QT Version:  5.12.5 
[20200714 23:04:12.570 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "ping" 
[20200714 23:04:12.570 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "open" 
[20200714 23:04:12.570 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "close" 
[20200714 23:04:12.570 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "refreshnodeinfo" 
[20200714 23:04:12.570 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "requestnodestate" 
[20200714 23:04:12.570 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "requestnodedynamic" 
[20200714 23:04:12.570 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "requestconfigparam" 
[20200714 23:04:12.570 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "requestallconfigparam" 
[20200714 23:04:12.570 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "softresetcontroller" 
[20200714 23:04:12.571 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "hardresetcontroller" 
[20200714 23:04:12.571 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "cancelcontrollercommand" 
[20200714 23:04:12.571 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "testnetworknode" 
[20200714 23:04:12.571 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "testnetwork" 
[20200714 23:04:12.571 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "healnetworknode" 
[20200714 23:04:12.571 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "healnetwork" 
[20200714 23:04:12.571 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "addnode" 
[20200714 23:04:12.571 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "removenode" 
[20200714 23:04:12.571 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "removefailednode" 
[20200714 23:04:12.571 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "hasnodefailed" 
[20200714 23:04:12.572 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "requestnodeneighborupdate" 
[20200714 23:04:12.572 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "assignreturnroute" 
[20200714 23:04:12.572 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "deleteallreturnroute" 
[20200714 23:04:12.572 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "sendnodeinformation" 
[20200714 23:04:12.572 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "replacefailednode" 
[20200714 23:04:12.572 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "requestnetworkupdate" 
[20200714 23:04:12.572 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "isnodefailed" 
[20200714 23:04:12.572 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "checklatestconfigfilerevision" 
[20200714 23:04:12.573 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "checklatestmfsrevision" 
[20200714 23:04:12.573 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "downloadlatestconfigfilerevision" 
[20200714 23:04:12.573 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "downloadlatestmfsrevision" 
[20200714 23:04:12.573 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "setvalue" 
[20200714 23:04:12.573 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "getpollinterval" 
[20200714 23:04:12.573 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "setpollinterval" 
[20200714 23:04:12.573 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "syncronisenodeneighbors" 
[20200714 23:04:12.573 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "enablepoll" 
[20200714 23:04:12.573 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "disablepoll" 
[20200714 23:04:12.573 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "refreshvalue" 
[20200714 23:04:12.574 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "addassociation" 
[20200714 23:04:12.574 UTC] [ozw.mqtt.commands] [debug]: Registering Command  "removeassociation" 
[20200714 23:04:12.574 UTC] [ozw.mqtt.publisher] [debug]: MQTT State Change "Connecting" 
[20200714 23:04:12.574 UTC] [ozw.mqtt.publisher] [info]: MQTT Client Connecting 
[20200714 23:04:12.575 UTC] [ozw.daemon] [info]: Using BreakPad - Crash Directory:  "/opt/ozw/config/crashes/" 
[20200714 23:04:12.578 UTC] [ozw.library] [debug]: Always - Node: 0 OpenZwave Version 1.6-1185-g0dba812c Starting Up 
[20200714 23:04:12.600 UTC] [ozw.library] [info]: Info - Node: 0 Loading Localization File /opt/ozw/config/Localization.xml 
[20200714 23:04:12.605 UTC] [ozw.library] [info]: Info - Node: 0 Loaded /opt/ozw/config/Localization.xml With Revision 10 
[20200714 23:04:12.608 UTC] [ozw.library] [debug]: Always - Node: 0 Using Language Localization  
[20200714 23:04:12.614 UTC] [ozw.library] [info]: Info - Node: 0 Loading NotificationCCTypes File /opt/ozw/config/NotificationCCTypes.xml 
[20200714 23:04:12.615 UTC] [ozw.library] [info]: Info - Node: 0 Loaded /opt/ozw/config/NotificationCCTypes.xml With Revision 11 
[20200714 23:04:12.619 UTC] [ozw.library] [info]: Info - Node: 0 Loading SensorMultiLevelCCTypes File /opt/ozw/config/SensorMultiLevelCCTypes.xml 
[20200714 23:04:12.620 UTC] [ozw.library] [info]: Info - Node: 0 Loaded /opt/ozw/config/SensorMultiLevelCCTypes.xml With Revision 4 
[20200714 23:04:12.620 UTC] [ozw.manager] [debug]: OpenZWave Manager Instance Created 
[20200714 23:04:12.620 UTC] [ozw.manager] [debug]: OpenZWave Watcher Registered 
[20200714 23:04:12.621 UTC] [ozw.manager] [debug]: Notification Signals Setup 
[20200714 23:04:12.663 UTC] [ozw.library] [info]: Info - Node: 0 Setting Up Provided Network Key for Secure Communications 
[20200714 23:04:12.694 UTC] [ozw.library] [info]: Info - Node: 0 Manufacturer_Specific.xml file Revision is 101 
[20200714 23:04:13.734 UTC] [ozw.library] [info]: Info - Node: 0 Product name collision: SmartCode 910 type 1 id 1 manufacturerid 90, collides with Touchpad Electronic Deadbolt, type 1 id 1 manufacturerid 90 
[20200714 23:04:14.227 UTC] [ozw.library] [info]: Info - Node: 0 Queuing Lookup on mfs.db.openzwave.com for Node 0 
[20200714 23:04:14.227 UTC] [ozw.library] [info]: Info - Node: 0   Opening controller /dev/ttyAMA0 
[20200714 23:04:14.228 UTC] [ozw.library] [info]: Info - Node: 0 Starting DNSThread 
[20200714 23:04:14.228 UTC] [ozw.library] [info]: Info - Node: 0 mgr,     Added driver for controller /dev/ttyAMA0 
[20200714 23:04:14.228 UTC] [ozw.manager] [debug]: AddDriver Completed 
[20200714 23:04:14.228 UTC] [ozw.library] [info]: Info - Node: 0 Trying to open serial port /dev/ttyAMA0 (attempt 1) 
[20200714 23:04:14.229 UTC] [ozw.library] [info]: Info - Node: 0 Timer: thread starting 
[20200714 23:04:14.229 UTC] [ozw.library] [debug]: Detail - Node: 0 Timer: waiting with timeout -1 ms 
[20200714 23:04:14.229 UTC] [ozw.library] [info]: Info - Node: 0 LookupTxT Checking mfs.db.openzwave.com 
[20200714 23:04:14.248 UTC] [ozw.mqtt.publisher] [debug]: MQTT State Change "Connected" 
[20200714 23:04:14.248 UTC] [ozw.mqtt.publisher] [info]: MQTT Client Connected 
[20200714 23:04:14.248 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "addassociation" 
[20200714 23:04:14.248 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/addassociation/") 
[20200714 23:04:14.248 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "addnode" 
[20200714 23:04:14.249 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/addnode/") 
[20200714 23:04:14.249 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "assignreturnroute" 
[20200714 23:04:14.249 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/assignreturnroute/") 
[20200714 23:04:14.249 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "cancelcontrollercommand" 
[20200714 23:04:14.249 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/cancelcontrollercommand/") 
[20200714 23:04:14.249 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "checklatestconfigfilerevision" 
[20200714 23:04:14.249 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/checklatestconfigfilerevision/") 
[20200714 23:04:14.249 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "checklatestmfsrevision" 
[20200714 23:04:14.250 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/checklatestmfsrevision/") 
[20200714 23:04:14.250 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "close" 
[20200714 23:04:14.250 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/close/") 
[20200714 23:04:14.250 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "deleteallreturnroute" 
[20200714 23:04:14.250 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/deleteallreturnroute/") 
[20200714 23:04:14.250 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "disablepoll" 
[20200714 23:04:14.250 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/disablepoll/") 
[20200714 23:04:14.250 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "downloadlatestconfigfilerevision" 
[20200714 23:04:14.250 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/downloadlatestconfigfilerevision/") 
[20200714 23:04:14.251 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "downloadlatestmfsrevision" 
[20200714 23:04:14.251 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/downloadlatestmfsrevision/") 
[20200714 23:04:14.251 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "enablepoll" 
[20200714 23:04:14.251 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/enablepoll/") 
[20200714 23:04:14.251 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "getpollinterval" 
[20200714 23:04:14.251 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/getpollinterval/") 
[20200714 23:04:14.251 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "hardresetcontroller" 
[20200714 23:04:14.251 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/hardresetcontroller/") 
[20200714 23:04:14.252 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "hasnodefailed" 
[20200714 23:04:14.252 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/hasnodefailed/") 
[20200714 23:04:14.252 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "healnetwork" 
[20200714 23:04:14.252 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/healnetwork/") 
[20200714 23:04:14.252 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "healnetworknode" 
[20200714 23:04:14.252 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/healnetworknode/") 
[20200714 23:04:14.252 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "isnodefailed" 
[20200714 23:04:14.253 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/isnodefailed/") 
[20200714 23:04:14.253 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "open" 
[20200714 23:04:14.253 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/open/") 
[20200714 23:04:14.253 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "ping" 
[20200714 23:04:14.253 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/ping/") 
[20200714 23:04:14.253 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "refreshnodeinfo" 
[20200714 23:04:14.253 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/refreshnodeinfo/") 
[20200714 23:04:14.253 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "refreshvalue" 
[20200714 23:04:14.253 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/refreshvalue/") 
[20200714 23:04:14.254 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "removeassociation" 
[20200714 23:04:14.254 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/removeassociation/") 
[20200714 23:04:14.254 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "removefailednode" 
[20200714 23:04:14.254 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/removefailednode/") 
[20200714 23:04:14.254 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "removenode" 
[20200714 23:04:14.254 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/removenode/") 
[20200714 23:04:14.254 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "replacefailednode" 
[20200714 23:04:14.254 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/replacefailednode/") 
[20200714 23:04:14.255 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "requestallconfigparam" 
[20200714 23:04:14.255 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/requestallconfigparam/") 
[20200714 23:04:14.255 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "requestconfigparam" 
[20200714 23:04:14.255 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/requestconfigparam/") 
[20200714 23:04:14.255 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "requestnetworkupdate" 
[20200714 23:04:14.255 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/requestnetworkupdate/") 
[20200714 23:04:14.255 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "requestnodedynamic" 
[20200714 23:04:14.255 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/requestnodedynamic/") 
[20200714 23:04:14.255 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "requestnodeneighborupdate" 
[20200714 23:04:14.256 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/requestnodeneighborupdate/") 
[20200714 23:04:14.256 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "requestnodestate" 
[20200714 23:04:14.256 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/requestnodestate/") 
[20200714 23:04:14.256 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "sendnodeinformation" 
[20200714 23:04:14.256 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/sendnodeinformation/") 
[20200714 23:04:14.256 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "setpollinterval" 
[20200714 23:04:14.256 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/setpollinterval/") 
[20200714 23:04:14.256 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "setvalue" 
[20200714 23:04:14.257 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/setvalue/") 
[20200714 23:04:14.257 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "softresetcontroller" 
[20200714 23:04:14.257 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/softresetcontroller/") 
[20200714 23:04:14.257 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "syncronisenodeneighbors" 
[20200714 23:04:14.257 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/syncronisenodeneighbors/") 
[20200714 23:04:14.257 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "testnetwork" 
[20200714 23:04:14.257 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/testnetwork/") 
[20200714 23:04:14.257 UTC] [ozw.mqtt.commands] [debug]: Creating Subscription for  "testnetworknode" 
[20200714 23:04:14.258 UTC] [ozw.mqtt.commands] [debug]: Subscription Setup for  QMqttTopicFilter("OpenZWave/1/command/testnetworknode/") 
[20200714 23:04:14.280 UTC] [ozw.library] [info]: Info - Node: 0 Lookup for mfs.db.openzwave.com returned 108 
[20200714 23:05:14.350 UTC] [ozw.mqtt.publisher] [debug]: "Tue Jul 14 23:05:14 2020 PingResponse\n" 
[20200714 23:06:14.321 UTC] [ozw.mqtt.publisher] [debug]: "Tue Jul 14 23:06:14 2020 PingResponse\n" 
[20200714 23:07:14.344 UTC] [ozw.mqtt.publisher] [debug]: "Tue Jul 14 23:07:14 2020 PingResponse\n" 
[20200714 23:08:14.344 UTC] [ozw.mqtt.publisher] [debug]: "Tue Jul 14 23:08:14 2020 PingResponse\n" 
pi@HS3Pi3v5:~/ozw/logs $ 

VNC to ozwadmin and trying to open /dev/ttyAMA0 does nothing…

Do not use that one, use the Remote OZWDaemon start button. :slight_smile:
Your log looks fine, everything is good.


It works with the Nortewk HUSBZB-1…

Re-reviewing your log, this might be a problem. Maybe @Fishwaldo or @freshcoast could give insight on that error.

Ok, thanks.

With the HUSBZB-1. I was able to get further. I successfully paired an unused inovelli wall switch but nothing was appearing in HASS. I needed to add

 -e MQTT_USERNAME="homeassistant" \
 -e MQTT_PASSWORD=" <redacted> " \

to my docker startup and then it was able to connect to MQTT server.
I discovered this via MQTT Explorer not showing anything via anonymous login to 192.168.1.104. I went to HASS MQTT Mosquitto Broker integration and via reconfigure, retrieved username and password. Once adding those credentials to MQTT Explorer, it was able to connect and display “stuff”. So I then added to docker container startup configuration. Eventually, the USB adapter appeared in HASS followed shortly thereafter by the inovelli switch, which is controllable!

Now, if I can get the RaZberry card working, I’d be happy!
BTW, it is running the latest firmware which if memory serves me correctly is 5.37???

I’m not sure about the RazBerry, you might want to poke the guys in #zwave on discord.

Just to clarity, I was using two different “instances”, so to speak but only one at a time. I was actually doing docker stop, docker rm, and then docker run -d the other one as there were usually changes in my docker run commands. Now that I have the run syntax sorted out so they both work, I could instantiate both containers and then just docker stop/docker start to flip them.

docker run -d \
 --name ozw_ama \
 --restart=unless-stopped \
 --security-opt seccomp=unconfined \
 --device=/dev/ttyAMA0 \
 -v $PWD/ozw:/opt/ozw/config \
 -e MQTT_SERVER="192.168.1.104" \
 -e MQTT_USERNAME="homeassistant" \
 -e MQTT_PASSWORD="she3ieroquoow1ko2cu7iesa0bohVoo4AiQuakothahliphoghohphaephohKo1r" \
 -e USB_PATH=/dev/ttyAMA0 \
 -e OZW_NETWORK_KEY=0xBC,0x87,0xD5,0xE2,0x51,0xB3,0xA7,0x44,0x05,0x20,0xEA,0x0E,0xBC,0xF9,0xD6,0x17 \
 -p 1983:1983 \
 -p 5901:5901 \
 -p 7800:7800 \
 openzwave/ozwdaemon:allinone-latest

docker run -d \
 --name ozw_usb \
 --restart=unless-stopped \
 --security-opt seccomp=unconfined \
 --device=/dev/ttyUSB0 \
 -v $PWD/ozw:/opt/ozw/config \
 -e MQTT_SERVER="192.168.1.104" \
 -e MQTT_USERNAME="homeassistant" \
 -e MQTT_PASSWORD="she3ieroquoow1ko2cu7iesa0bohVoo4AiQuakothahliphoghohphaephohKo1r" \
 -e USB_PATH=/dev/ttyUSB0 \
 -e OZW_NETWORK_KEY=0xBC,0x87,0xD5,0xE2,0x51,0xB3,0xA7,0x44,0x05,0x20,0xEA,0x0E,0xBC,0xF9,0xD6,0x17 \
 -p 1983:1983 \
 -p 5901:5901 \
 -p 7800:7800 \
 openzwave/ozwdaemon:allinone-latest

I am using the Razberry fine on a Pi 4 (PI Os 64 bit; not using all-in-one). The main trick I needed was to ensure that there was no “serial port” contention. Here are the notes I made when I was setting it up:

Disable bluetooth so Razberry has exclusive use of the UART at ttyAMA0 
by adding the follow line to /boot/firmware/usrcfg.txt:

dtoverlay=disable-bt

Ensure that getty console doesn't also start running on ttyAMA0!

 - need to disable getty on serial ttyAMA0
 - systemctl stop serial-getty@ttyAMA0
 - systemctl disable serial-getty@ttyAMA0
 - systemctl mask serial-getty@ttyAMA0
 - remove console=serial0,115200 from /boot/firmware/cmdline.txt

Check ‘lsof /dev/ttyAMA0’ to ensure that getty or any other programs 
are not using this interface.

My docker-compose.yml is based on the example from: https://github.com/tprelog/iocage-homeassistant/wiki/Using-a-RPI-for-Z-Wave .

1 Like

Thanks but that’s not my issue. I set up the Pi over 2 years year ago with HomeSeer (Pi Version) on it. Then upgraded/moved HS to Linux version on a new box and I’ve been using ttyAMA0 on my Pi (192.168.1.101) via ser2net with HomeSeer at 192.168.1.103 for more than a year. Before starting ozwdaemon I do stop ser2net and lsof /dev/ttyAMA0 shows nothing has it open.

OK. You can run both at the same time if you set OZW_INSTANCE to something besides 1 for one of the containers.

This doesn’t seem to be anything. I always see it.

Seems like something is going on with your serial port. Here’s what a “normal” start looks like.

[20200715 8:30:35.113 PDT] [ozw.library] [info]: Info - Node: 0 mgr,     Added driver for controller /dev/ttyUSB0
[20200715 8:30:35.113 PDT] [ozw.manager] [debug]: AddDriver Completed
[20200715 8:30:35.114 PDT] [ozw.library] [info]: Info - Node: 0 Timer: thread starting
[20200715 8:30:35.114 PDT] [ozw.library] [debug]: Detail - Node: 0 Timer: waiting with timeout -1 ms
[20200715 8:30:35.114 PDT] [ozw.library] [info]: Info - Node: 0   Opening controller /dev/ttyUSB0
[20200715 8:30:35.114 PDT] [ozw.library] [info]: Info - Node: 0 Trying to open serial port /dev/ttyUSB0 (attempt 1)
[20200715 8:30:35.147 PDT] [ozw.library] [info]: Info - Node: 0 Serial port /dev/ttyUSB0 opened (attempt 1)
[20200715 8:30:35.147 PDT] [ozw.library] [debug]: Detail - Node: 255 Queuing (Command) FUNC_ID_ZW_GET_VERSION: 0x01, 0x03, 0x00, 0x15, 0xe9

The messages Trying to open serial port /dev/ttyUSB0 (attempt 1) and Serial port /dev/ttyUSB0 opened (attempt 1) are from the same function call. Since your last message is basically Trying to open serial port /dev/ttyAMA0 (attempt 1), and there are no error messages, it’s as if that function is hung trying to open the serial port or do something with it. I haven’t seen this before so I don’t have much more to add.

Thanks for the analysis. OZW says they support the RaZberry card in addition to the RaZberry USB stick. I will try some things like disabling ser2net from starting and rebooting the Pi even though lsof says its clear. I also have a Pi 1B with a fresh new Raspberry OS on it. I will transfer the RaZberry to it, install docker, etc. and try it there.

It would be really nice if ozwdaemon supported IP:Port connections. How would one go about requesting that new feature?

Sorry, that’s probably not gonna happen. FR: Add Support for network attached USB stick · Issue #79 · OpenZWave/qt-openzwave · GitHub