Z-wave door sensors reported as ON/OFF

I have a TZDW-100 door sensor that automatically is found as a “thing” in OH2.
An item (channel?) is also automatically created with Label=Binary Sensor, Item Type=Switch.
When I use this item in my sitemap I get ON and OFF instead of OPEN CLOSE.

If I try to change the item properties I get “cannot update non-managed items”

Is there a way around this?
I do want the icon for open and closed door to work as well.
Thanks in advance

This is because the database for this device is defining this channel as a general binary sensor rather than a door sensor. I’ve just updated it.

Many thanks.
Just out of curiosity, what did you change?
I have another one, DSB54 which has the same problem :slight_smile:.
And was thought that I’d try to update it since I now have access to the Device database.

By the way is there a way to sync a running instance of OH with a new database?

I changed the channel type from sensor_binary to sensor_door.

Feel free to update it - or I can do it if you like…

No - the database is compiled into the binding, so it needs to be updated in github and compiled.

Having a hard time navigating around endpoints, association groups and parameters.
So please go ahead and do the update for DSB54 as a door sensor.
Roughly, when would this be available if I do an update?
Thanks in advance

I will try and update this tonight, so it will be available in tomorrows snapshot.

You’re the best :slight_smile:

I’ve done an upgrade of the installation which leaves the configuration untouched.
The reports still gives ON/OFF
20:59:14.815 [INFO ] [marthome.event.ItemStateChangedEvent] - zwave_device_6f789ecc_node20_sensor_binary changed from ON to OFF
Is there a way to fix it with current configuration or do I have to do a fresh installation?

You have to delete the thing, and add it back in…

In HABmin, select the thing and hit delete. Then press the discovery button which will add it to the inbox. From the inbox, add the thing again and it should pick up the new configuration.