Skip to content

Latest commit

 

History

History
98 lines (83 loc) · 6.09 KB

README.md

File metadata and controls

98 lines (83 loc) · 6.09 KB

home-assistant-apps

Home Assistant apps based on AppDaemon. A sample configuration for all apps is located here: sample_config/apps.yaml

AlarmSystem

The idea is to notify if an intrusion is detected. The system arms itself if all device_trackers are marked away and disarms if any device_tracker is back home. For me the system works perfectly without manual intervention. In order to allow baby sitters or other guest without residents you can enable a guest mode.

This system work with any light system (should support color) and with any sensors who report on/off values. I have tested it with xiaomi hub, sensors, buttons. Some disscusion can be found in the forum

Key Description Default
language language used for notifcations in text and audio english
device_trackers list of tracked devices (for auto arming / disarming) []
armed_home_binary_sensors list of binary sensors to monitor (like doors, motion, sensors) in case you are home []
armed_away_binary_sensors list of binary sensors to monitor (like doors, motion, sensors) in case you are away []
water_binary_sensors list of binary sensors to monitor (like water leakage sensors) all the time []
fire_binary_sensors list of binary sensors to monitor (like water smoke sensors) all the time []
fire_temperature_sensors list of temperature sensors to monitor (like temperature sensors) all the time []
armed_home_image_processing_sensors list of image processing sensors to monitor in case you are home []
armed_away_image_processing_sensors list of image processing sensors to monitor in case you are away []
alarm_control_buttons list of buttons to control (single click arm_away, double click disarm, long pres arm_home) []
alarm_lights list of lights to indicate alarm status (red is triggered, blinking is pending) []
alarm_arm_night_after_time time to arm at evening 23:15:00
alarm_arm_night_before_time time to disarm at morning 06:00:00
sleep_after_time start of sleeptime at evening 23:15:00
sleep_before_time end of sleeptime at morning 06:00:00
vacation_control input boolean to configure a vacation mode which arms using armed_vacation None
guest_control input boolean to configure a babysitter mode which does not auto arm None
silent_control input boolean to mute the alarm sound None
siren_switches list of siren switches to turn on or off []
notify_service script to call for notification None
notify_title title parameter for script AlarmSystem triggered, possible intruder
cameras List of cameras (snapshots will be made once alarm is triggered) []
camera_snapshot_path Path for storing camera snapshots /tmp
camera_snapshot_regex Regex for camera snapshots "camera_.*\d+_\d+.jpg"
alexa_monkeys list of alexa voice monkeys for audio notifications []
telegram_user_ids list of telegram user ids used for notifications []

HeatSaver

This app controls the temperature based on the opening and closing of windows/doors and some global control settings. Tt saves heating by lowering the thermostat if you are away or a window is open.

Key Description Default
device_trackers list of tracked devices []
door_window_sensors list of sensors to monitor (like doors, motion, sensors) []
climate_controls list of cliamte controls []
guest_control input boolean to configure a babysitter mode which does not shut down heating None
vacation_control input boolean to configure a vacaction mode which lowers temperatures None
offset_temperature offset temperature 0
home_temperature_control slider to control temperature of the state at home None
away_temperature_control slider to control temperature of the state at away None
vacation_temperature_control slider to control temperature of the state at vacation None
open_temperature_control slider to control temperature of the state at open None

LightSaver

This app controls the lights based on motion sensors, sun elevation, illumination level and some global control settings. It saves energy by switching lights off.

Key Description Default
device_trackers list of tracked devices []
motion_sensors list of sensors to monitor for motion []
lights list of lights []
guest_control input boolean to configure a babysitter mode which does not switch off lights None
vacation_control input boolean to configure a vacaction mode which switches off lights None
motion_duration time for no motion until lights are switched off 180
tracker_duration time for tracker not_home until lights are switched off 60
vacation_duration time for vation mode until lights are switched off 60
min_elevation min evelation which turns lights on 10
min_illumination min illumination which turns lights on 15
night_scene scene to use for night lights None
night_start start time for night mode 23:15:00
night_end start time for night mode 06:30:00
evening_scene scene to use for evening lights None
off_scene scene to use for lights off None

PowerSaver

This app controls the devices based on motion sensors and some global control settings. It saves energy by switching devices off.

Key Description Default
device_trackers list of tracked devices []
motion_sensors list of sensors to monitor for motion []
power_controls list of power_controls []
guest_control input boolean to configure a babysitter mode which does not switch off lights None
vacation_control input boolean to configure a vacaction mode which switches off lights None
motion_duration time for no motion until lights are switched off 180
tracker_duration time for tracker not_home until lights are switched off 60
vacation_duration time for vation mode until lights are switched off 60