The Ring doorbell system is compatible with Home Assistant/Hassio. The following guide will take you through the steps to install the Ring Doorbell component and sensors to allow you to use the Doorbell for automations.
Additional details are available under the Ring Component page at the Home Assistant website.
What you will need:
- A Ring Doorbell
- Lights for automation (optional) – I’m using the Xiaomi Yeelight Ⅱ RGBW 10W
- Switch for automation (optional) – I’m using the Sonoff Wifi Smart Switch
If you haven’t already seen my initial Hassio setup guide, please visit this link. Refer to my Instruction video here or follow the detailed instructions below:
Step 1 – Add Ring configurations to your configuration.yaml and secrets.yaml file
Configurations.yaml
Create a new section for all the ring related configurations.
You will likely already have a ‘sensor’ component, and so add the ring platform as a new line underneath.
If you have not already used camera and binary_sensor components, then add new ones. Otherwise, add the ring platform underneath the existing components.
secrets.yaml
Add in your Ring user name and password details.
Step 2 – Restart your device
Restart your device under Configuration > General > Restart
You should now be able to see the various sensors in your Home Assistant Home page.
Step 3 – Add an automation using the Ring Sensors
I’m currently using the following automations for my Ring Doorbell:
- Doorbell Motion Light – When Motion is detected and it is dark, turn on my front lamp and garage light.
- Doorbell Motion Light Auto Off – After motion has stopped, wait and then turn off the front lamp and garage light.
- Doorbell Motion Notification (when light off) – When Motion detected, flash my kitchen light and play a ding on my Google Home.
- Doorbell Motion Notification (when light on) –
When Motion detected, flash my kitchen light and play a ding on my Google Home. - Doorbell Ring (when light off) – When doorbell rings, flash my kitchen light and play a ding on my Google Home.
- Doorbell Ring (when light on) – When doorbell rings, flash my kitchen light and play a ding on my Google Home.
Note: I had some issues with lights staying on, so have made two versions for the notifications to ensure if the light was off before, it will stay off.
Doorbell Motion Light
Triggers:
Conditions:
Actions:
Doorbell Motion Light Auto Off
Triggers:
Conditions: N/A
Actions:
Doorbell Motion Notification (when light off)
Triggers:
Conditions:
Actions:
Doorbell Motion Notification (when light on)
Triggers:
Conditions:
Actions:
Doorbell Ring (when light off)
Triggers:
Conditions:
Actions:
Doorbell Ring (when light on)
Triggers:
Conditions:
Actions: