Created At
Jun 13, 2022
Created By Joep Verhaeg
Smart alarm activation scene (with interactive push message)
Created At
Jun 13, 2022
Last Update
Jun 15, 2022
Platforms
HC 3 Lite, Z-box Hub, Yubii Home, Venture WISE, HC 3
Views
1796
Download
160
By activating the alarm with the use of this scene, the HC3 checks whether any doors or windows are still open before switching on the alarm.
If this is the case, the user will be notified via an interactive push message on his or her phone and smartwatch, with which the user can decide to switch on the alarm even though a window is still open:
The implementation consists of the following parts:
A trigger to activate the alarm, for example a RFID tag reader, which is connected to the HC3 via a FIBARO smart implant, to activate the alarm;
The ArmAlarmWithSensorCheck.lua scene which is started by the above-mentioned trigger;
A scene started by the interactive push message sent by the ArmAlarmWithSensorCheck.lua scene.
Add a scene and insert in the In the ACTIONS block of the Lua scene, enter the code: hub.alarm(“arm”)
Add a scene and copy the contents of the ArmAlarmWithSensorCheck.lua file and paste it in the ACTIONS block. In the Declarations (Conditions/Triggers) block enter the trigger code that you want to use to activate the alarm. Change the variables to the previous scene id and to the phones from people who want to receive the interactive push message.
Full documentation of the smart alarm activation scene is included in the provided ZIP file in English and Dutch language.
You can read a detailed guide about installing a secure Z-Wave alarm with the Home Center 3 at https://docs.joepverhaeg.nl/hc3-alarm/. This article answers questions about secure Z-Wave and how to install the sensors correctly when installing an alarm system.
how to apply the above code to hc3 system