And here is mine with Pushbullet (not that I have to reset the switch of my doorbell to “off” with the script)
script:
deurbel_notify_reset:
sequence:
- service: notify.pushbullet
data:
title: “Deurbel”
message: “Er staat iemand voor de deur”
- service: homeassistant.turn_off
data:
entity_id: switch.deurbel
- service: tts.google_say
data:
message: ‘Er staat iemand voor de deur. Ga eens snel kijken wie het is!’
language: ‘nl’
automation:
alias: ‘Deurbel notify’
trigger:
platform: state
entity_id: switch.deurbel
to: ‘on’
action:
service: script.turn_on
entity_id: script.deurbel_notify_reset
Thanks guys. Here’s what I came up with. Turn on two lights and send me a text if the doorbell comes on. Next I’ll take one of my MQTT outlets and maybe have a radio plugged into it. Push the doorbell and the radio comes on. Everything is working and I can tweak the rest. Many thanks.
automation 3:
alias: 'Doorbell Ding'
trigger:
- platform: state
entity_id: binary_sensor.ring_front_door_ding
from: 'off'
to: 'on'
action:
- service: switch.turn_on
entity_id: switch.ge_12722_onoff_relay_switch_switch_3_0
- service: switch.turn_on
entity_id: switch.front_room_light
- service: notify.mypushbullet
data_template:
title: "Doorbell"
message: >-
Someone at the door, open it!
I have Hassio 98.5 and the same trigger word for word but it does not trigger when I push the door bell. I can manually trigger the automation, but the Ring doorbell does not get recognized as going ‘on’.
My Alexa’s tell me that someone is at the door and my phone gives me the notice but it won’t trigger the automation. Any ideas would be appreciated.
My automation looks like this:
- id: ring_ding
alias: Ring Ding Lights
trigger:
- platform: state
entity_id: binary_sensor.ring_front_door_ding
from: 'off'
to: 'on'
condition:
- condition: state
entity_id: sun.sun
state: 'below_horizon'
- condition: state
entity_id: switch.front_lights
state: 'off'
action:
- data:
entity_id: switch.front_lights
service: switch.turn_on
- delay:
minutes: 5
- data:
entity_id: light.front_lights
service: light.turn_off
I added the single quotes around ‘below_horizon’ as a test to see if that made it work but it triggers manually either way.
Old thread, I realize, but hopefully someone can give me a hint.
Thanks.
@bart56
I’m currently having issues as well with the ding and motion binary sensors from ring. I think there might be something going on with the ring platform. My sensors update with the last motion and last ding but the binary sensors stay in the off state.
You’re edit is right.
It seems to work today. To test it I changed ‘below_horizon’ to ‘above_horizon’. I still need to test it tonight to be sure.
Thanks for the reply!
Hello everyone - FYI in this old thread - I have been researching the Ring Doorbell topic and found that events are lost in many places. The behaviour is depressingly unreliable. I am using a Ring Video Doorbell 3 (RSSI -41) and Home Assistant core-2021.9.7 and supervisor-2021.09.0.
All Ring Doorbell events register in the Ring app on Android and iOS, likely other deep integrations like Alexa too. Most Ring events seem to arrive at Home Assistant and are recorded in ‘Last Activity’. Curiously not all these events create a Ding event, thus triggering actions only on Ding results in a lot of events getting missed. Home Assistant is AFAIK not officially supported by Ring so it is disappointing but not surprising that not all events make it from Ring’s infrastructure, but why some Activity events do not create a Ding looks like a bug somewhere.
So far it seems that there is no reliable way to get a Doorbell event into HA using Ring’s own APIs and I am thinking of hacky solutions like soldering wires into my Doorbell to trigger my own events (which will void the warranty and worse probably break the waterproof seal) or seeing if it is possible to trigger on the events in a mobile app or Alexa, or through IFTTT or similar.
I have been using Ring Doorbell (binary_sensor.front_door_ding) for 5 years now. It was flawlessly working for 3 years and I really loved it. But lately, the binary_sensor.front_door_ding notification to HA has been missing. Someone else mentioned, restarting Ring integration might help for few hours. Or deleting and re-adding Ring integration also help but only for few hours still.
I have been looking at Alexa (Amazon) logs and the ding notification is reliable. So why is Alexa getting the ding and not HA? Don’t know how this works in details, but Alexa get the press button detection while HA shows no notifications.
In the Alexa App, I started removing all HA integration definition and the Ring ding (button press) started showing consistently at HA. I’ll let it soak longer but so far, it seems like Alexa integration with Ring is causing the notifications to go to Alexa but not HA.
I am using Ring Integration Button Press (binary_sensor.front_door_ding) to play Westminster chime (mp3) into all my Sonos speakers. I have them in the backyard and have been missing the ring doorbell announcement.
This is a follow up of the ring / amazon Alexa / Sonos player integration. For months now, as everyone is saying, the Ring cloud is not notifying Home Assistant about the push button binary_sensor.front_door_ding changes. Don’t know why. But Amazon Alexa never miss a notification. I guess Amazon is putting priority there. Current solution that is working 100% is to create an amazon Alexa Routine when “Front Door is pressed” (Ring), then action is to play a script (seen a scene in Alexa). The script can play any MP3 into Sonos speakers. Actual script take a Sonos Snapshot of the music played, Unjoin, Set new Volume, Play MP3 (Westminster Chime) for x seconds and finally Sonos restore to resume the music if it was playing.