I have been trying to add aeotec DWS7 door sensor to openhab with aeotec z-stick gen5.
But the state of the sensor is always NULL. When checked in the /var/lib/openhab2/zwave folder, there are no network.xml file created for the door sensor node. Please help me to resolve this issue. The following are the steps I did.
added the thing for door sensor by tapping the tamper switch 3 times as suggested in the catalogue
Entered the below line in the .items file
Contact Door_Contact “Contact [MAP(en.map):%s]” (Door) { zwave=“3:command=SENSOR_BINARY,sensor_type=10,respond_to_basic=true” }
Linked the item to door sensor channel which is automaticaly created
After the above 3 steps, I restarted the openhab service.
Result :- The state of the door sensor is always returned as NULL.
Any help to resolve the issue is greatly appreciated
@Bruce_Osborne
Thank you for your inputs, I will repeat the discovery so some more time. I had initialy tried for auto discovery, but Zwave detects the door sensor and creats the thing. But it doesnt’ create the network.xml file.
As Bruce already said, you need to wake up the device up. The file is only created after the discovery is completed. This will require the device to be woken up a few times so that the binding can communicate with it.