Home » Blog » Professional ALARM SYSTEM in Home Assistant! How to set it up.

Professional ALARM SYSTEM in Home Assistant! How to set it up.

Create a professional alarm system in Home Assistant.
Click on the image to watch the video

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. To keep doing this, I want to ask you to 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!

Ed

Click here to watch the video


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 can download the code to copy and paste here.

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.

You can download the code to copy and paste here.

After this, we are going to create the automation that flashes the lights

You can download the code to copy and paste here.

I need your help!

You will be doing me a huge favor if you subscribe to my channel if you haven’t already. And, you will help me a lot if you also give this video a thumbs up and leave a comment. This way, YouTube will present this video to new people, making the channel grow! In the video description, you will also find information about how you can sponsor me so that I can continue to make these tutorials for you.

Thank you!

We also need an automation that sounds the siren

You can download the code to copy and paste here.

The last automation that we need sends a message to our phone when the alarm is triggered.

You can download the code to copy and paste here.

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.


,

Back to all articles