DEV Community 👩‍💻👨‍💻

DEV Community 👩‍💻👨‍💻 is a community of 963,864 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Pieter Brinkman
Pieter Brinkman

Posted on • Originally published at on

Use your alarm for presence detection in your Home Automation setup

One of the great things about home automation is the possibility to activate scenes based on presence of people in the house. Having solid presence detection in your home is not easy to achieve. There are a lot of ways to do this, but most of them use ping your devices, using network connectivity, Bluetooth or GPS geo-fencing technology. These solutions might work for some use cases, but if your presence detection is based on devices will only work for known devices and people. Meaning you can never be 100% sure that no-one is home.

So do not , I repeat do not , trigger scenes that shut down all the lights if no-one is home based on phones. I’ve a great story about a baby sitter that called me very unhappy about all lights being turned off and also that every time she switched them on they went off again. This go back to one of the essential rules of home automation. Read the 7 tips for a successful home automation.

However, switching lights off when nobody is home or mimicking your presence with lights while you are on holiday are key benefits of home automation solution. A great way of doing this is by installing an alarm and read the status of the alarm, e.g. Fully Armed, partial armed or off.

Having this information in your home automation platform will help you automate and control your home based 100% accurate information of people being in your home, you will now know that;

  • When the alarm is fully armed , no-one is in the house (if there is anyone in the house you have another issue :-|).
  • When the alarm is partial armed the person(s) in the house are going to/are in or just getting in/out of bed.
  • When the alarm is disabled , people are actively living in the house.

Now you can use that information for all kinds of actions. For example; turn off all the lights when the alarm is fully armed and start a light scene that mimics your presence in your house, which is a great addition for your home security.

In my personal setup I use a Woonveilig / Egardia alarm. I picked this alarm because the hardware is solid, you can communicate directly with the alarm and the subscription is optional.

I’ve chosen not to fully integrate my alarm with my home automation or build my own custom alarm solution using z-wave modules. For security reasons I advise to keep the control of the alarm separated from your home automation setup.

Read and learn how to integrate Woonveilig / Egardia alarm with OpenHab using Node-Red [LINK]

The post Use your alarm for presence detection in your Home Automation setup appeared first on

Top comments (0)

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.