Alexa Guard with Home Assistant

With one of the latest releases of the Alexa Media Player custom component for Home assistant, there is a way to Arm and Disarm the Alexa Guard feature.

Amazon Alexa Guard is Now Available to All Users Via an App Update -

Alexa Guard is a feature of Alexa that offers 3 features via your Echo units:
It sends a notification to the Alexa app if one of the first 2 conditions is detected.

1. Listens for sound of alarm (fire, CO, burglar etc.)
2. Listens for sound of breaking glass (optional)
3. Turns lights on and off at night in a typical pattern when you set it to Away mode (optional)

I added this to enhance my current Arm and Disarm Automations that I recently enhanced by adding in my old wired alarm system. Read about adding in a EnvisaLink to my DSC Alarm here .

I will not go into the installation of the Alexa Media player in Home Assistant, there are many articles on it. Please refer to the Wiki or the Forum. there are a few steps to get it working, but I found it pretty straight forward. Also Dr Zzs has some good YouTube videos on it.

I did have a series of Home Assistant automations to turn on and off lights, but the Alexa Guard is a more advanced option and is easy to add in to my Automations with the with the following:

# Arms Alexa Guard.        
- service: alarm_control_panel.alarm_arm_away        
  entity_id: alarm_control_panel.alexa_guard # (or whatever yours is called)
# Only Disarm if armed.  Otherwise, Exit out.     
- condition: state       
  entity_id: alarm_control_panel.alexa_guard_ # (or whatever yours is called)           
  state: armed_away     
- service: alarm_control_panel.alarm_disarm       
  entity_id: alarm_control_panel.alexa_guard_ # (or whatever yours is called)

You will have a unique Alexa guard number that will be populated in your Home Assistant Entities and should just be listed once the Alexa Media component is installed.

I use my iPhone for presence detection with the Home Assistant Mobile App to trigger the Arm and Disarm, but I also have it trigger when I manually lock/unlock my Yale front door lock.

Leave a Reply

Your email address will not be published. Required fields are marked *