home-assistant.io/source/_components/simple_alarm.markdown
2016-02-14 00:53:37 -08:00

1.2 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category
layout title description date sidebar comments sharing footer logo ha_category
page Intruder Alerts Instructions how to receive intruder alerts from Home Assistant. 2015-01-20 22:36 true false true true home-assistant.png Alarm

The component simple_alarm is capable of detecting intruders. It does so by checking if lights are being turned on while there is no one at home. When this happens it will turn the lights red, flash them for 30 seconds and send a message via the notifiy component. It will also flash a specific light when a known person comes home.

This component depends on the components device_tracker and light being setup.

To set it up, add the following lines to your configuration.yaml file:

simple_alarm:
# Example configuration.yaml entry
  known_light: light.Bowl
  unknown_light: group.living_room

Configuration variables:

  • known_light (Optional): Which light/light group has to flash when a known device comes home.
  • unknown_light (Optional): Which light/light group has to flash red when light turns on while no one home.