Elk rule to arm/disarm area with function key

dkemme

Member
I would like to arm or disarm with a function key and have setup these two rules, F4 is disabled on all keypads:

WHENEVER KEY F4 ON ANY KEYPAD ACTIVATES
AND (AREA 2) ARMED STATE = ARMED
THEN DISARM AREA(S) 2 IMMEDIATELY



WHENEVER KEY F4 ON ANY KEYPAD ACTIVATES
AND (AREA 2) ARMED STATE = DISARMED
THEN ARM AREA(S) 2 TO AWAY IMMEDIATELY

I've only tested when area 2 was armed and the keypad seemed to lock up (small timer in left of screen spins).

Any hints???
DJK
TIA
 
You need to add a timer that will not allow the next Rule to fire immediately. When the first Rule fires, it causes the second Rule to fire so it will disarm then arm immediately.


WHENEVER KEY F4 ON ANY KEYPAD ACTIVATES
AND (AREA 2) ARMED STATE = ARMED
THEN DISARM AREA(S) 2 IMMEDIATELY
Then turn on output 100 for 2 seconds ( not exact wording)

WHENEVER KEY F4 ON ANY KEYPAD ACTIVATES
AND (AREA 2) ARMED STATE = DISARMED
and output 100 is OFF ( not exact wording)
THEN ARM AREA(S) 2 TO AWAY IMMEDIATELY
 
Thanks, that worked great.

I also added a counter 101 to check if just armed. Not sure if necessary but working well!
DJK
 
Back
Top