I use the Ring security system for my home and I love the ease of use and the subscription price. I have a number of door/window sensors, motion detectors, doorbell cam, and indoor and outdoor cams, which provide me with peace of mind in terms of security. However, they don’t make glass break sensors, which defeats the whole purpose of window open/close sensors since intruders can easily break the glass window and get in.
Alexa Guard on the other hand provides this feature with the use of echo devices. Since I have plenty of echo devices all over my house, I can rely on Alexa Guard for glass break sensors while we are away. The only trouble is my Ring Alarm is mostly automated and changes the alarm state based on various automations. So instead of modifying the existing automations to include Alexa Guard, I added the following automation to keep both Ring alarm and Alexa Guard in sync.
Automation
This automation uses custom components for Ring and Alexa. Once you have set them up from HACS, you can easily create automation to keep both in sync through Home Assistant configuration->automations or by adding the following into automations.yaml
(You’ll have to update the device_id if you are putting this in the yaml file directly as it’ll be unique to your Home Assistant install). Check out my getting started with Home Assistant post if you haven’t.
- id: '1606618862622'
alias: Alarm - Sync Ring Alarm and Alexa Guard
description: ''
trigger:
- platform: device
device_id: fc02c8fb53d2e4b9e63cd1ec12f384bf
domain: alarm_control_panel
entity_id: alarm_control_panel.bothell_alarm
type: armed_home
- platform: device
device_id: fc02c8fb53d2e4b9e63cd1ec12f384bf
domain: alarm_control_panel
entity_id: alarm_control_panel.bothell_alarm
type: armed_away
- platform: device
device_id: fc02c8fb53d2e4b9e63cd1ec12f384bf
domain: alarm_control_panel
entity_id: alarm_control_panel.bothell_alarm
type: disarmed
condition: []
action:
- choose:
- conditions:
- condition: device
device_id: fc02c8fb53d2e4b9e63cd1ec12f384bf
domain: alarm_control_panel
entity_id: alarm_control_panel.bothell_alarm
type: is_armed_away
sequence:
- service: alarm_control_panel.alarm_arm_away
data: {}
entity_id: alarm_control_panel.alexa_guard_b5f8b
- conditions:
- condition: device
device_id: fc02c8fb53d2e4b9e63cd1ec12f384bf
domain: alarm_control_panel
entity_id: alarm_control_panel.bothell_alarm
type: is_disarmed
sequence:
- service: alarm_control_panel.alarm_disarm
data: {}
entity_id: alarm_control_panel.alexa_guard_b5f8b
default: []
mode: single
Check out my other posts on automations for Home Assistant if you are looking for more automation ideas.
One thought on “Syncing Ring Alarm and Alexa Guard”