I have been integrating my Z-wave light control with Elk.
Many of the rules have been going smoothly, but I am having trouble getting my head around a specific rule.
My outside lights come on a Sunset.
I want them to turn off at 4hrs after sunset, unless, the alarm is set. If the alarm is set, I want the lights to stay on until I turn the alarm off, in which case I want them to stay on for 15 more minutes and turn off.
I tried this
WHENEVER Area 1 ARM STAT BECOMES DISARMED
AND TIME OF DAY IS LATER THAN 4 HOURS AFTER SUNSET
THEN TURN Output 208 ON FOR 15 MINS
THEN TURN Outside Lights [12(A12)] OFF, FADE RATE=0
I suspect the problem is that the BECOMES DISARMED EVENT is a singular moment in time, not if the Elk is NOT ARMED
Do I need to do this with multiple rules?
Many of the rules have been going smoothly, but I am having trouble getting my head around a specific rule.
My outside lights come on a Sunset.
I want them to turn off at 4hrs after sunset, unless, the alarm is set. If the alarm is set, I want the lights to stay on until I turn the alarm off, in which case I want them to stay on for 15 more minutes and turn off.
I tried this
WHENEVER Area 1 ARM STAT BECOMES DISARMED
AND TIME OF DAY IS LATER THAN 4 HOURS AFTER SUNSET
THEN TURN Output 208 ON FOR 15 MINS
THEN TURN Outside Lights [12(A12)] OFF, FADE RATE=0
I suspect the problem is that the BECOMES DISARMED EVENT is a singular moment in time, not if the Elk is NOT ARMED
Do I need to do this with multiple rules?