This tutorial shows how to create your own professional alarm system with Home Assistant. Last year I published a similar video that got outdated because of new functionalities in Home Assistant, so this is a brand new version! This easy-to-follow tutorial enables you to set up your own do-it-yourself alarm system within minutes! No need for buying an expensive alarm system anymore. Just use your existing smart home devices to create a professional DIY Home Assistant alarm system that responds just the way you want. No programming skills are needed. Just follow this lesson and you are good to go! This tutorial also explains how to use and set up groups and automations in Home Assistant.
⭐⭐⭐ NOTE: ⭐⭐⭐
This article accompanies a YouTube video. I wrote it for people who would rather read than watch a video. In order to keep doing this, I would like to ask you to also check out the video, leave a comment under the video, give the video a thumbs up and subscribe to my YouTube channel. This means that the video is offered more often to new visitors so that they also stay informed of the latest Home Assistant tutorials.
Thank you for your support!
Steps to implement the Home Assistant Alarm System
For this alarm system, you first need to create some helpers for groups:
- Alarm Lights:
This group contains all the lights that you want to flash as soon as the alarm is triggered.
- Alarm Motion Sensors:
This group contains all the motion sensors and door and window sensors that will trigger your alarm if motion is detected.
- Alarm Speakers:
This group contains all smart speakers that should sound an alarm when the alarm is triggered.
After that, you have to enable the alarm panel in the configuration.yaml.
You have to add the secret alarm code in your secrets.yaml.
Then, you have to create the alarm panel on the dashboard. There is a standard alarm panel card available in Home Assistant to put on your dashboard, but you can also use Alarmo if you prefer that.
Now, we are going to create some automations to get the alarm system going. The first automation is the automation that is needed to trigger the alarm.
After this, we are going to create the automation that flashes the lights
We also need an automation that sounds the siren
The last automation that we need sends a message to our phone when the alarm is triggered.
After setting this up, your alarm system is ready to go!
You can also add some other ideas like that the alarm automatically gets armed when you leave the house. You can use the proximity sensor for this for example.
See the follow-up video on how to build your own NFC Tag reader to arm and disarm your alarm here.