OpenZWave configuration question

Hey guys,

short question. I hope someone can answer it! :slight_smile:

I got a different USB config a in the OpenZWave integration. In the integration the config is displayed like this (I figured out that it work much better when the full usb stick path is deployed in the config, with the ttyACM0 path somethimes the integration cant connect).

image

In OpenZWave it looks like this:

image

Is that a problem? Because I am not able to add a node to the Z-Wave network. The stick (Aeontec Gen5) is searching for new nodes but never find anything…

The owz log only shows:

[20201217 15:10:48.231 CET] [ozw.library] [info]: Info - Node: 255 FUNC_ID_ZW_ADD_NODE_TO_NETWORK: 
[20201217 15:10:48.232 CET] [ozw.library] [info]: Info - Node: 255 ADD_NODE_STATUS_DONE 
[20201217 15:10:48.232 CET] [ozw.library] [debug]: Detail - Node: 255   Expected reply was received 
[20201217 15:10:48.232 CET] [ozw.library] [debug]: Detail - Node: 255   Message transaction complete 
[20201217 15:10:48.233 CET] [ozw.library] [debug]: Detail - Node: 255 Removing current message 
[20201217 15:10:48.233 CET] [ozw.library] [debug]: Detail - Node: 255 Notification: AddDevice ControllerCommand - Completed 
[20201217 15:10:48.234 CET] [ozw.notifications] [debug]: Notification pvt_controllerCommand  1 7 0 Thread:  0x7fad815e38 
[20201217 15:10:48.234 CET] [ozw.mqtt.publisher] [debug]: Publishing Event controllerCommand 255 NotificationTypes::Ctrl_Cmd_AddNode NotificationTypes::Ctrl_State_Completed NotificationTypes::Ctrl_Error_None 
[20201217 15:10:48.236 CET] [ozwadmin] [debug]: ControllerCommandNotification:  255 NotificationTypes::Ctrl_Cmd_AddNode NotificationTypes::Ctrl_State_Completed NotificationTypes::Ctrl_Error_None 
handler exception: [Errno 107] Socket not connected
[20201217 15:10:57.065 CET] [ozw.manager] [info]: Client Connection Disconnected! 

Maybe I am doing something wrong? The Zigbee Integration is working fine with the whole usb path.

Thanks!

Which Start button did you click on? You’re supposed to use the one in the Remote section, and the USB path is not used. Using the Local Client will blow things up since two processes will be accessing the stick at the same time.

Hey,

I am using the “Start” Button for Remote OZWDaemon. When I press the “Start” Button for the local client, the application just shut down and I am back on the first window.

Did it just shut down, or did it first give you an error message about increasing the network cache?

I thought it just shut down. But I checked the logs, this happends after I use start for the local client:

[16:21:40] INFO: Starting ozw-admin...
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
ozwadmin: Settings Path is at  "/root/.config/OpenZWave/ozw-admin.conf"
ozwadmin: Checking  "/data/ozw/config"  for manufacturer_specific.xml
ozwadmin: Checking  "/data/ozw/config"  for options.xml
ozwadmin: DBPath:  "/data/ozw/config/"
ozwadmin: userPath:  "/data/ozw/config/"
ozwadmin: Settings Path:  "/root/.config/OpenZWave/ozw-admin.conf"
ozwadmin: Using Saved Network Cache Size: 1000
QT_MESSAGE_PATTERN: %{backtrace} is not supported by this Qt build
[20201217 16:21:40.737 CET] [ozwadmin] [info]: OZWCore Initilized QTOpenZwave(0x55b0e53660) QTOZWManager(0x55b0e53320) 
[20201217 16:21:40.797 CET] [default] [warning]: QVncServer created on port 5900 
[20201217 16:22:01.900 CET] [ozw.mqtt.publisher] [debug]: "Thu Dec 17 16:22:01 2020 PingResponse\n" 

Try increasing the network cache size before you connect to the Zwave stick. See here:

I’m not certain that this is what lies at the root of your issue, but it might be worth trying…

Thanks for that tipp. But the first start button does nothing, even after the change. Only the second start shows me the interface, but there nothing happend if I press add node.

[16:56:19] INFO: Starting ozw-admin...
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
ozwadmin: Settings Path is at  "/root/.config/OpenZWave/ozw-admin.conf"
ozwadmin: Checking  "/data/ozw/config"  for manufacturer_specific.xml
ozwadmin: Checking  "/data/ozw/config"  for options.xml
ozwadmin: DBPath:  "/data/ozw/config/"
ozwadmin: userPath:  "/data/ozw/config/"
ozwadmin: Settings Path:  "/root/.config/OpenZWave/ozw-admin.conf"
ozwadmin: Using Saved Network Cache Size: 10000
QT_MESSAGE_PATTERN: %{backtrace} is not supported by this Qt build
[20201217 16:56:19.536 CET] [ozwadmin] [info]: OZWCore Initilized QTOpenZwave(0x7faf232940) QTOZWManager(0x55a28743a0) 
[20201217 16:56:19.593 CET] [default] [warning]: QVncServer created on port 5900 
172.30.32.2 - - [17/Dec/2020 16:56:21] 172.30.32.2: Plain non-SSL (ws://) WebSocket connection
172.30.32.2 - - [17/Dec/2020 16:56:21] 172.30.32.2: Path: '/websockify'
172.30.32.2 - - [17/Dec/2020 16:56:21] connecting to: 127.0.0.1:5900
[20201217 16:57:01.925 CET] [ozw.mqtt.publisher] [debug]: "Thu Dec 17 16:57:01 2020 PingResponse\n" 

Er, just what are you trying to do here?

Are you trying to Add a Node to the ZWave network?

If so, then once you click the “Add Node” in the OZWadmin window, you need to go to the new Zwave device and (usually) press a physical button on the device once or three times (whatever the instructions say) to get the new node included in the network.

Ähm, yeah thats what I am trying to do :smile:

But there is no feedback from the device. I thought my first zwave device was broken, so I bought a second one to test it (a smart plug from aeotec) but also this device will not be added…

image

This is the only screen I see, I can press what I want on my device. The paring mode from the smart plug is active when you plug it in or press the button to times.

But it will not shown as new node.

Perhaps the device is too far away from the controller?

Zwave stick is on my desk, the device is under the desk. I thought that too at the beginning

OK - then let’s take a step back. Are the device and the controller both using the same region wavelengths?

So the Stick is a Aeotec Z-Stick Gen5 Model: ZW090-C (868.42 MHz) and the plug also uses 868.42 Mhz and the second device has a range from 868.4 - 869.8 MHz.

Maybe the model from the Z-Stick is not working? Never read about the ZW090-C here :thinking:

EDIT: I already plugged it in to an usb-hub because I read about a issue with the PI4, but I am not sure if this model is supported by OZW.

Ah - right. Well, two things. the ZW090-C is definitely the EU model. But, there is certainly an issue about the older Gen5 stick not working properly with the RPi4. That may be the root of the issue here.

I actually purchased an Aeotec Gen5+ stick and migrated my ZWave network from the older Gen5 stick to the Gen5+ model because of this issue.

Yeah maybe thats it. I read a lot about it the last hours and there was many solutions about that stick with the usb hub. But its not working for everyone. Maybe I am the one where it does not work.

I ordered a Gen5+ stick, but it will be shipped from china :roll_eyes: Maybe I have to wait for that. Thanks anyway for your help! I can play around with zigbee the conbee 2 is works great. :slightly_smiling_face: