Hi,
I have been surfing this forum trying to get an answer to my problem but cannot seem to find a simple answer to my problem (using UI5)
So, I want a user to set my alarm, it will wait for 30 seconds before actually arming it. If the user cancels the alarm in this time then the alarm will not be armed.
When the user triggers the alarm when it is armed, it will wait for 10 seconds before triggering the actual alarm giving the user time to deactivate it.
I have seen examples using the Now function but since the resolution of this is gt than 1minute it is not applicable so would need to be a timer.
I presume I need a virtual switch which the user would turn on to activate the commencement of the alarm setting. And would I need another virtual switch to set the alarm in pending activation mode?
I solved this in different way. instead of delaying your alarm activation, delay your alarm trigger once activated for specific sensors.
E.g.:
Create a condition that will only trip the sensor of no motion has been detected for 1 minute
Condition “cExitDelay1”
((tMSA_Away; tKitchenMotion > 1:00) AND tMSA_Away AND tKitchenMotion)
Action: No action
Create a condition to trigger the sirene based on the above condition
Condition “cTriggerAlarm”
cImmediateAlarm OR cExitDelay1
Action: trigger sirene
Thanks for the response Roel.
How would you approach the entrance delay issue then?
Since it doesn’t seem possible I have now gone the route of using adding a REST service on a Windows PC (called from Vera) which can perform all the timer delays I want with speaking announcements etc.
Once Raspberry Pi can run Windows 10 I shall transfer the service onto them so I can broadcast spoken messages around the house.