Starting to moving my Z-wave devices over to HA from my Wink hub.
My first device that I moved over was a GoControl Z-Wave Door/Window sensors, to test out how HA works. It paired well but it shows up as a sensor not a binary sensor like on my Wink hub. So instead of a Open / Closed digital state like on Wink I get 0 or 255 instead on HA. Is there a way to change that to Open / Closed digital state? This also happen with GoControl motion sensor. Thanks for any help
You might need to change the report type to send (or whatever the terminology is for GoControl stuff) to binary in the z wave config panel
Thanks but that didnāt seam to work, couldnāt find any digital outputs. Itās weird that Wink found them but HA didnāt. Is there some custom way the change the way HA display the value, I been looking and searching but donāt really what Iām searching for.
Per the manual for this device 0 = Closed and 255 = Open.
Does it not come up as a binary_sensor in the <>
menu?
Under states screen it registers as āsensor.alarm_level_2ā. Under zwave node info there is no binary, even under the states there is no binary associated with that sensor. Is there a way to change the display of that sensor?
You might be able to hand edit the <config>/zwcfg_xxx.xml
file, but itās probably easier to create a template binary sensor:
binary_sensor:
- platform: template
sensors:
appropriate_name:
# device_class could also be window
device_class: door
value_template: "{{ states('sensor.alarm_level_2')|int == 255 }}"
thank Iāll give that a try
The other thing you may want to do before you get too far in is make the entity_idās of your z wave devices more human readable/useful. changing it from a vague āsensor.alarm_level_2ā to something like āsensor.front _door_position_sensor_alarm_levelā makes things way easier later
If you need a how-to just ask.
Thank you, is that under zwave node management, rename node?
yes, it starts there.
then after the node is renamed. you need to go to your HA config directory and delete the entity_registry.yaml file. (there may be another restart in there somewhere but I think the one restart should do itā¦)
Then restart home assistant. after a few seconds HA will recreate the entity_registry file and all of the devices that that entity registry picks up (z wave plus other stuff) will be imported using the new node name as the base.
Thanks everyone for all the help, this is what worked for me
binary_sensor:
- platform: template
sensors:
computer_room:
friendly_name: "Computer Rm Door"
# device_class could also be window
device_class: door
value_template: "{{ states('sensor.alarm_level_2')|int == 255 }}"