Overview: alarm systems, home automation and Home Assistant

5 minutes of reading

Anyone has ventured into the realization of one profirst personal domotica will be stumbled - sooner or later - in one of the most typical questions: "how do i deal with the alarm?”

It is not an airy question. Given the possibility of domotize the non domotic, as well as that to integrate Naturally domotic components, it is natural that the burglar alarm system is among domotic wishes of who is implementing the technology elevation of proenvironment.siren

From the point of view of Home Assistant, Include an alarm system in the propria domotica means integrate its features (armo, detection, triggering) so as to render them methods and attributes of such entity usable not only β€œas such", but also in concert with the rest of the home automation.

For example, if it is realized automation that, compared to the departurenameof tenants prosee it automatically to turn off the lights, where the alarm system has also been added to this automatism the armo of such a system it would be child's play. Similarly, the possibility to trigger the siren via home automation could enable the system to do it not only against a break-in (a function inherent to the alarm itself) but also to very precise states of the profirst home automation (for example the detection of a water leak carried out by a previously integrated sensor).

Integrating an alarm system a Home Assistant it is feasible, but approThere are many. To do so, and possibilities are basically the two:

  • integrate a natively compatible home automation system Home Assistant;
  • forcefully integrate a traditional system.

Home automation and HA compatible

For home automation intrusion alarm system means a system capable of being controlled by final management tools which provide for aapp, a cloud environment or a computerized environment that allows it to be managed and monitored inside and outside the home.

Many now exist, but often their enormous limit is the very low degree of integrability towards HUB personal. These environments are closed in on themselves and do not offer any appiglio for integrated domotization - our fixed gloss. For this reason, however, let us consider these home automation systems in the same way as those traditional.

Those that offer instead a good degree of integrability are those to be considered footnamedomotic systems. In the context of this overview, we are specifically interested in those that offer it to Home Assistant.


Without going around it, the alarm systems of this type today they are few: the complete list is available here.

An example, that of the photo, is theEgardia Security System.

All these anti-intrusion systems can therefore be integrated on Home Assistant so native, which makes it possible to manage them in personal domotics without any particular effort.

The user who is in progated to domotize the burglar alarm system can therefore check if the prosystem both among those natively integrated with Home Assistant and, if you haven't bought it yet, decide whether to buy one of this type directly or not.

Traditional systems

In 90% of the cases we find ourselves before to closed, monolithic systems, which offer the protraditional features and nothing more. Maybe it's systems very complex which also have a domotic soul, but unfortunately closed in on itself, not integrabile to another technological reality.

Sometimes, however, there is no system available and we prefer to make something "handmade", approcertainly not much proprofessionally but often more than adequate proneeds and to the probudget.

In these cases, Home Assistant he comes to our aid with three different components that allow to obtain similar results, however, beating quite different paths between them:

  • Manual Alarm Control Panel;
  • Manual Alarm Control Panel with MQTT support;
  • MQTT Alarm Control Panel.
Manual Alarm Control Panel

It is a component as elementary as it is versatile which allows us to define entity which rappsents, apptogether, an alarm system. It is typically used to build an alarm system in proprio.

In fact, this component allows modeling the logic which is usually contained in the alarm control units. It is indeed possible to define the expected states (armed, armed presence off, triggered etc.) as well as features such as trigger duration, activation codes, recovery time after triggering, activation times, delay and much more.

Once the configuration is defined - then its logic - this entity comes fully managed through automation, which prothey see to orchestrate the functionnameof the alarm system. It goes without saying that there will be some suitable for activating / deactivating the alarm (such as those related to the presence / absence of tenants) as well as others deputies to trigger in case of detected burglary.

And here comes the beauty: the entities used as trigger (ie those that materially will detect burglary) could be of any kind: presence sensors, magnetic sensors for gates, infrared: in short, whatever technology is desired, as long as it is integrated with Home Assistant. In this area there is plenty of choice.

The same goes for the trigger, that is who must take opposite of a detected burglary: it could be anything, a siren controlled by a simple actuator, one macchina for smoking, a simple notification to a mobile phone: it's all a matter of configuration and choices proprie.

Manual Alarm Control Panel with MQTT support

It is about same, identical component as above, with the only (not inconsiderable) difference to generate a commandable entity (in terms of armo) through commands MQTT.

In practice it is possible:

  • arm them
  • arm it in presence mode
  • arm it in night mode
  • disarm

by publishing a topical MQTT opportunameformatted (and indicated in the configuration) and related payload. Also, the entity generated by this component provides the profirst by telemetry MQTT (also indicated in the configuration).

It seems a small thing, but it is not: this approopens the possibility to check the status of the entity (and therefore the functionnameof the automations connected to them) not only through Home Assistant but also through physical devices (as long as their actions obviously have MQTT evidence).

MQTT Alarm Control Panel

This component, instead, it is very different from the previous two.

This component, in fact, does not provide logic modeling of an anti-theft system, but is limited to trace its status. In practice, an entity generated through this component and the proinjection of the state of a physical system.

In essence, in the presence of a home automation alarm unit capable of sending and receiving MQTT commands, this is the component to be used for integration on Home Assistant.

But ... he hadn't said it was possible domotize traditional alarm systems, not domotic in any way? Yes, we confirm it, and the component to use is always this.

Control panel alarmIn fact, let us return for a moment to the previous sentence, or the one referring to a "home automation alarm unit capable of sending and receiving MQTT commands". If you have an alarm of this type, bingo: through the "MQTT Alarm Control Panel" component it will be easily integrated. Once done, every time we act on the control unit (perhaps through the control panel, or a remote control, a remote control or whatever it is, it doesn't matter) or some event will occur (eg a break-in), the status changes will come notified to the entity defined on Home Assistant; vice versa, any action taken at Home Assistant (manual or automatic via automation) will also be performed by the alarm system itself.

Then, how this has to do with it with a traditional alarm system, which does not have any type of domotic door?

The speech is very, very broad: we will deal with it in detail with a proad hoc jet. But what you need to know is that, through "MQTT Alarm Control Panel" it is possible - in combination with other physical and logical techniques - to domotize traditional anti-theft systems.

To do it there is no single solution, and it is not always definitive. However, the goal is usually to have simple MQTT actuators which, appphysically applied to some entry point (already prepared or derived) at the alarm system (as mentioned, approwe will merge later) prosee to the execution of the functions profirst of the system.

When I have, for example, an actuator for armo, one for disarmament, one for forced triggering (panic), I can simulate the existence of a single virtual MQTT component which, then used in configuration via "MQTT Alarm Control Panel", let me get the full result.

Told so it seems complex - and perhaps it is - but well explained it allows you to domotize a traditional alarm system on your own Home Assistant.

We have dedicated the topic related to the domotisation of a traditional alarm system not equipped with any technological interface an extended projet .

OPEN BOARD: anti-intrusion / alarm systems and personal home automation 🚨

Home Assistant Official LogoATTENZIONE: remember that there is on our FORUM community an ad hoc section dedicated to Home Assistant, for any doubt, question, information on the specific merit of these components.

inDomus telegram channel