Alarm system with Domoticz works very well!
Posted: Sunday 23 August 2020 23:12
Hi,
at https://github.com/CreasolTech/domoticz_lua_scripts you can find some scripts for Domoticz.
In particular, you can find the following 4 files, to be placed into domoticz/scripts/lua , that can be used to get a complete alarm system, that manages magnetic contact sensors, PIRs, tampers, sirens, and much much more.
alarmSet.sh
alarm_config.lua
alarm_sendsnapshot.sh
script_device_alarm.lua
Everything can be controlled by smartphone/browser through the domoticz web interface, and all notifications are sent to a Telegram group (with you and your familiars).
alarm_config.lua is used to configure sensors/siren stuff and Telegram chatid/key.
alarmSet.sh is a script that can be called by a scene/group to set the alarm in 4 different modes:
1=OFF
2=DAY (no sirens, just send notification when a door/window/blind/PIR was opened
4=NIGHT (use only internal sirens, to not disturb neighbours case of alarm)
8=AWAY (activate both internal and external sirens in case of alarm)
The script_device_alarm.lua is customized to send some short video on Telegram when external PIRs/radar will be activated (IPCams are needed, for this function): in this way it's possible to control is someone (or a cat!!) is walking around your building.
The reason why I publish my scripts is that alarm system by Domoticz and this script is fully customizable, and has nothing less than a commercial alarm system.
If you need some explanation, don't hesitate to ask and I'll make a short doc in the next days.
at https://github.com/CreasolTech/domoticz_lua_scripts you can find some scripts for Domoticz.
In particular, you can find the following 4 files, to be placed into domoticz/scripts/lua , that can be used to get a complete alarm system, that manages magnetic contact sensors, PIRs, tampers, sirens, and much much more.
alarmSet.sh
alarm_config.lua
alarm_sendsnapshot.sh
script_device_alarm.lua
Everything can be controlled by smartphone/browser through the domoticz web interface, and all notifications are sent to a Telegram group (with you and your familiars).
alarm_config.lua is used to configure sensors/siren stuff and Telegram chatid/key.
alarmSet.sh is a script that can be called by a scene/group to set the alarm in 4 different modes:
1=OFF
2=DAY (no sirens, just send notification when a door/window/blind/PIR was opened
4=NIGHT (use only internal sirens, to not disturb neighbours case of alarm)
8=AWAY (activate both internal and external sirens in case of alarm)
The script_device_alarm.lua is customized to send some short video on Telegram when external PIRs/radar will be activated (IPCams are needed, for this function): in this way it's possible to control is someone (or a cat!!) is walking around your building.
The reason why I publish my scripts is that alarm system by Domoticz and this script is fully customizable, and has nothing less than a commercial alarm system.
If you need some explanation, don't hesitate to ask and I'll make a short doc in the next days.