*** What's wrong with this Rule?

Mp333

Active Member
I have set up where the garage door closes automatically after 5min once the Area is Armed. However the garage door closes even when the Area is not Armed. What am I missing here?
 
Whenever the Area 1 is Armed (Also tried ARMED AWAY)
THEN Set Garage Dr (Counter 9) to 300
WHENEVER Every 1 sec
AND Garage Door(Zone 23) is not Secure
THEN Subtract 1 From Garage Door 1 (Counter 9)
WHENEVER Garage Door 1 (Counter 9) changes to 0
THEN TURN Garage 1(Out 14) on for 5 sec
 
 
And then I also have one that closes the Garage door automatically after 7pm

WHENEVER the time is 7pm
And Garage Zone 23 is not secure
THEN TURN Garage 1(Out 14) on for 5 sec
 
Thank you
 
Not  sure what is wrong, but typically most people set a phantom relay for a timer.   But I just use my exit timer.
 
Exit Timer:

WHENEVER EXIT DELAY, ANY AREA ENDS
AND AREA ARMED
AND Garage Door (Zn x) IS NOT SECURE
THEN TURN Garage Door(Out x)ON FOR 3 SECS

 
Phantom Output:
Code:
WHENEVER Area1 IS ARMED AWAY
  THEN TURN Output 200 on for 3 MINS, RESTART TIMER  IF RUNNING

WHENEVER Output 200 is TURNED OFF
  AND Garage Door (Zn x) IS  NOT SECURE
  AND AREA ARMED
    THEN TURN Garage Door (Out x) ON FOR 3 SECS
 
How does the timer restart. Is this a user user input?
 
WHENEVER Area1 IS ARMED AWAY
THEN TURN Output 200 on for 3 MINS, RESTART TIMER IF RUNNING
 
There is nothing manual it is automatic.   The timer is started when you arm away. The RESTART TIMER  IF RUNNING  is optional.  If you check it it will restart the timer again if you re-arm before the timer expires, otherwise the timer will continue. So lets say you forget something, run back into the house and hit ARM AWAY again to restart the exit timers, the Output countdown will also reset.

If you disarm before the timer expires it will continue to countdown but the AND AREA ARMED will prevent it from closing the garage if it is disarmed at that point.
 
Back
Top