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. 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 tutorials about Home Assistant.

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.

Profile Picture Ed

If my videos help you and if you want to stay up to date with my tutorials and not miss anything to increase your knowledge of Home Assistant and Smart Home, subscribe to my channel and tick the bell. It also helps if you post a comment. This way more people get notified about these videos. I need your support so that I can keep creating these videos for you.

Oh, and don’t forget to hit the thumbs up for this video. This allows me to make more tutorials for you.

By supporting me, you also support my work as a music therapist to help people with mental issues.

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.


,

RELATED POSTS

Back to all articles