I’ve been using OH for about 18 months now, until now doing everything via config files. I have a bunch of MQTT based sensors, switches and feeds into the system. Works great.
I recently upgraded to 2.5.5-1 and a Pi4, and that has been working great.
I need to now integrate a ZWave sensor. I’ve gone for the much recommended Aeotec ZStick Gen 5 and am trying to use it with the ZWA008 Door/Windows sensor 7 (supported)
I can load the binding.
I can configure the stick to be seen as a controller and be seen online as a Thing (using Paper UI)
Once the stick is a thing, I see a ….node…xml file in openhab2-userdata\zwave
I can search, find and add the sensor and get it seen as a thing ( Z-Wave Node 002: ZWA008 Door/Window Sensor 7) and it comes on line.
I can create (in Paper UI) a linked item : ZWaveNode002ZWA008DoorWindowSensor7_BatteryLevel
Should I have a …Node2.xml file now? I don’t
I never see a value for battery in the control/other item panel. I just see a value of -NaN % reported.
I’ve been round the loop many times, cleaning and retrying and never get further.
I’ve woken it up countless times and even left it overnight…
I think I should have a second xml file for the sensor?
I’m happy to post logs or whatever, but I suspect I’ve just missed a stage…
Your sensor is most likely a battery operated device. You need to wake up the device several times until the initial communication between the sensor and the controller is finished. It takes some time, be patient
Did you include the sensor into the Z-Wave network? It is not recommended to create zwave Things manually due to the high chance of error.
If the device is not discovered at all that usually means it has not been included into the network. That network information is stored on the stick. It determines what the node is value is.
No xml file until the binding receives the NIF (Node information Frame) from the device. sometimes i have had to delete the Thing from OH (do NOT exclude from the network) and rediscover / add Wake up the device until discovery is complete.
If left too long I have found that sometimes the thread gets orphaned.