How to Enable Alexa Guard Mode via Home Assistant using Presence Detection

Опубликовано: 24 Апрель 2026
на канале: vCloudInfo
3,990
58

How to Enable Alexa Guard Mode via Home Assistant using Presence Detection

Amazon Alexa Guard needs Presence detection. Having to say "I'm home" or "I'm leaving" is an annoying way to arm/disarm such a helpful feature like Alexa Guard Mode. Too many times we leave the house and forget to enable it and security is all about consistency. Home Assistant to the rescue! Using Home Assistant, HACS, and Alexa Media Player, we are able to set up some simple automations to Enable and Disable Alexa Guard Mode AUTOMATICALLY using presence detection.

If you don't know about Alexa Guard, it is a service built into most Echo devices that when enabled, will put the echo devices into a type of sentry mode. They will listen for breaking glass, Alarms (like Smoke Detectors or Sirens), and other unusual crashes or bangs. If heard, Amazon will alert you via an App push and give you the opportunity to listen to a 10-second clip and then optionally drop-in to the house to communicate or listen. It's not a full replacement for a security system but it's an amazing addition to any system already in place.

I really can't think of a non-tin-foil hat reason to not enable it. You've already bought into having echo devices in your house, you might as well get full use out of them.

It's two pieces, one that arms and one that disarms. Strategically place these bits of code in automations that trigger when people arrive and leave and you are all set. The Alexa Media Player custom component provides the bridge to make it all work.

I really liked this weekend project and hope you give it a try if you have echo devices in the house.

All the details and YAML code can be found on my Website with even more Home Automation articles:
https://www.vcloudinfo.com/2020/08/ho...

How to install HACS - ‪@KPeyanski‬
   • Home Assistant Themes and Plugins with HACS  

Parts List:
Echo Device - https://amzn.to/2x39mDy

Repo LIST:
CCostan - https://github.com/CCOSTAN/Home-Assis...

CONTACT ME:
https://www.vcloudinfo.com/about-me

SUPPORT:
Please consider supporting this channel by visiting the blog and/or using the Amazon Affiliate links found in the descriptions. They cost nothing extra and really help the channel.
Affiliate Disclosure - https://www.vcloudinfo.com/p/affiliat...

👋 About this channel: My name is Carlo. I've been running Home Assistant for a BUNCH of years. Almost from the very beginning actually. This channel is focused on bringing what I have implemented at my own house to you so that you can bring it to your house. The channel will be a mix of reviews, tutorials, and inspiration. It is a companion to my GitHub site that holds all the code for my Smart Home and my main site where I keep the more in-depth technical writings. I hope you will enjoy the videos and consider subscribing.

CREDITS:
Design by Steve Fatone - IG: @Steve_Fatone