This object is in archive! 
Rule exit delay time
Need Answer
I`m looking for a way to program a rule witch works after the exit delay time of my security partition.
I want to send a http request to my Sonos if the security partition is armed and the door will be opened , 90 sec after i armed the system.
Look at the attach what i try
Files:
Bildschirmfoto...
No connection
Real-time notifications may not work
Maybe you could save the time when security is armed to a variable (is this even possible) and have a different rule triggered by door opens to check if the variable is less than 90 secs old.
Maybe you could save the time when security is armed to a variable (is this even possible) and have a different rule triggered by door opens to check if the variable is less than 90 secs old.
Thank you Marius for this idea.
Now it works.
The way:
Rule 1
If Alarm armed
wait 90 sek
Set Variable Armed90Sek =1
Rule 2
If Alarm armed AND Door open AND Variable Armed90Sek = 1
HTTP Request to Sonos (Disarm the Alarm)
Set Variable Armed90Sek =0
Thank you Marius for this idea.
Now it works.
The way:
Rule 1
If Alarm armed
wait 90 sek
Set Variable Armed90Sek =1
Rule 2
If Alarm armed AND Door open AND Variable Armed90Sek = 1
HTTP Request to Sonos (Disarm the Alarm)
Set Variable Armed90Sek =0
I think you first issue could have been solved using the advanced blok 'refresh all' before testing door status, because no matter how long you wait in a rule, retrieving sensor status will always get the status back when the rule was triggered, not when you check the status.
I think you first issue could have been solved using the advanced blok 'refresh all' before testing door status, because no matter how long you wait in a rule, retrieving sensor status will always get the status back when the rule was triggered, not when you check the status.
I am not so sure. If refresh_all is called after 90 seconds, it would (probably?) only get the status Door_open in that instant? So the door would have to be in open state exactly after 90 seconds in order to validate the if clause to be true?
I am not so sure. If refresh_all is called after 90 seconds, it would (probably?) only get the status Door_open in that instant? So the door would have to be in open state exactly after 90 seconds in order to validate the if clause to be true?
Replies have been locked on this page!