Hi @seanb-uk,
Thank you for helping me out here â I was concern that the new RFXrtx RFXCOM integration didnât work at all with my Byron Doorbell Push, but you confirmed that it indeed would/should work.
So for everyone else searching on this topic, I will now share the steps I did for integrating the Byron Doorbell Push, using RFXcom antenna with Home Assistant with the RFXcom integration.
If you are new here, you would need to be aware that you will not be able to see a state change anywhere in Home Assistant, as I guess it happens so quickly. So as mentioned by Sean, you would need to have the doorbell automation to trigger on âanyâ state change (back to that a little later).
ADD BYRON DOORBELL PUSH
Within HA under Integrations - under the RFXTRX integration. Click CONFIGURE and then enable âEnable automatix addâ. Then push the bottom on the Byron Doorbell push and then see if you can find it under the RFXTRX integration, under devices. Look for any new device added, mine âModelâ= Select Plus 3.
Once the doorbell as been added, quickly, turn off the âEnable automatic addâ under Configure, otherwise your list of devices will grow quickly.
DEBUG
If you need to debug, to see whether the doorbell are actually received by HA, you can add the following lines to your 'configuration.yaml
â and restart HA. Then using a terminal you can look for the following string in the homeassistant log file.
logger:
logs:
RFXtrx: debug
tail -f home-assistant.log | grep homeassistant.components.rfxtrx.sensor
When I push the doorbell, I get the below entries in the HA log, so you should see something similar
2021-07-17 16:03:58 DEBUG (MainThread) [homeassistant.components.rfxtrx.sensor] Sensor update (Device ID: f6:29 Class: ChimeDevice Sub: 3)
2021-07-17 16:03:58 DEBUG (MainThread) [homeassistant.components.rfxtrx.sensor] Sensor update (Device ID: f6:29 Class: ChimeDevice Sub: 3)
2021-07-17 16:04:05 DEBUG (MainThread) [homeassistant.components.rfxtrx.sensor] Sensor update (Device ID: f6:29 Class: ChimeDevice Sub: 3)
2021-07-17 16:04:05 DEBUG (MainThread) [homeassistant.components.rfxtrx.sensor] Sensor update (Device ID: f6:29 Class: ChimeDevice Sub: 3)
AUTOMATION
Now you simply need to write your automation for triggering your automation, when the doorbell has been pushed. My automation below, sends a snapshot from the outdoor security camera, sends a notification to phones and plays a tone on my SONOS speakers.
# AUTOMATION - DOORBELL
# ACTIVATING THE DOORBELL WHEN BUTTON ARE BEING PRESSED
- alias: house_doorbell_pushed
initial_state: true
trigger:
- platform: state
entity_id: binary_sensor.rfxcom_doorbell_1
action:
- service: camera.snapshot
data:
entity_id: camera.ubnt_outdoor1_generic
filename: "/config/www/doorbell.jpg"
- service: persistent_notification.create
data:
message: "DĂRKLOKKE: Nogen har ringet pĂĽ døren!"
title: "Dørklokke"
- service: notify.ios_notify_all
data:
message: "DĂRKLOKKE: Nogen har ringet pĂĽ døren!"
data:
image: "https://(TOKEN).ui.nabu.casa/local/doorbell.jpg"
attachment:
content-type: jpeg
push:
category: camera
entity_id: camera.ubnt_outdoor1_generic
- service: notify.google_notify_all
data:
message: "DĂRKLOKKE: Nogen har ringet pĂĽ døren!"
data:
image: "https://(TOKEN).ui.nabu.casa/local/doorbell.jpg"
clickAction: /lovelace/sikkerhed
- service: media_player.volume_set
entity_id: media_player.spisekokken
data:
volume_level: 0.14000000000000000
- service: media_player.play_media
data:
entity_id: media_player.spisekokken
media_content_id: http://192.168.1.xx:8123/local/Ding-dong-doorbell-rings.mp3
media_content_type: music
- service: notify.email_notification_doorbell
data:
title: "HOME ASSISTANT: Dørklokke alarm"
message: "DĂRKLOKKE: Nogen har ringet pĂĽ døren!"
data:
images:
- "/config/www/doorbell.jpg"