I’ve managed to add the sensor in to home assistant using a trigger-based template sensor (HA running in a VM on my server and conbee stick on RPI using deCONZ integration). The sensor listens for the event (much like an automation) but controls a binary sensor for “on”. I’ve also included a time based off function, so that if someone repeatedly presses the door bell, it only triggers the sensor on once (this is adjustable).
I’ve added the following to my config file:
template:
- trigger:
- platform: event
event_type: deconz_event
event_data:
id: doorbell_sensor
unique_id: '00:12:34:00:12:34:56:78'
event: 1002
device_id: ##random alphnumeric string##
binary_sensor:
- name: "Door bell"
state: "on"
auto_off:
seconds: 10
To find the event data, check the “EVENTS” in the developer tools and in Event to subscribe to use “deconz_event”. Make sure that the sensor is attached and connected to your conbee and press the door bell a few times. You should then see the event and data required for the above template.
Adjust auto_off for the time out to reset the sensor back to “off”. You should now have a binary sensor available in home assistant for further automation, etc.
Unfortunately, no battery information, but hopefully will see this sensor integrated in the future.