Need help with programming lights in Elk

ralbright

New Member
Okay, I am really new here, as well as new to Elk programming. I tried what you has been listed for turning off lights after x minutes, but was having issues deciphering everything and then getting everything to work correctly.

What I want to have happen is during the night if a motion detector detects motion while the system is off, it will turn the corresponding light on to 25%, then when the time is between 1 hr before sunrise and 1 hr after sunrise, I want the light to turn on to 75% when motion is detected. During the day (Ie from 1 hour after sunrise to 1 hour before sunset) the light is not triggered at all. During the twilight hours of 1 hour before sunset and 10 pm, I want the light to turn on to 75%, and then after 10pm only raise to 25%.

I just put this programming in and it seems to work to some extend, except the time is 8:45pm (sunset is at 9:23pm) and the light only goes to 25%

WHENEVER Living R. Motion (Zn 3) BECOMES NOT SECURE
AND Living Room - C (10 (A10)) IS OFF
AND House (Area 1) ARM STATE - DISARMED
AND THE TIME IS EARLIER THAN 1 HOUR BEFORE SUNRISE
THEN SET Living Room - C (10 (A10)) to 25% BRIGHT, FADE RATE = 3

WHENEVER Living R. Motion (Zn 3) BECOMES NOT SECURE
AND Living Room - C (10 (A10)) IS OFF
AND House (Area 1) ARM STATE - DISARMED
AND THE TIME IS EARLIER THAN 1 HOUR AFTER SUNRISE
AND THE TIME IS LATER THAN 1 HOUR BEFORE SUNRISE
THEN SET Living Room - C (10 (A10)) to 75% BRIGHT, FADE RATE = 3

WHENEVER Living R. Motion (Zn 3) BECOMES NOT SECURE
AND Living Room - C (10 (A10)) IS OFF
AND House (Area 1) ARM STATE - DISARMED
AND THE TIME IS LATER THAN 1 HOUR BEFORE SUNSET
AND TIME OF DAY IS EARLIER THAN 10:00 PM
THEN SET Living Room - C (10 (A10)) to 75% BRIGHT, FADE RATE = 3

WHENEVER Living R. Motion (Zn 3) BECOMES NOT SECURE
AND Living Room - C (10 (A10)) IS OFF
AND House (Area 1) ARM STATE - DISARMED
AND TIME OF DAY IS LATER THAN 10:00 PM
THEN SET Living Room - C (10 (A10)) to 25% BRIGHT, FADE RATE = 3

WHENEVER Living R. Motion (Zn 3) BECOMES SECURE
AND House (Area 1) ARM STATE = DISARMED
THEN TURN Output 21 ON FOR 10 MINS, RESTART TIMER IF RUNNING

WHENEVER Output 21 STATE IS TURNED OFF
AND House (Area 1) ARM STATE = DISARMED
AND THE TIME IS EARLIER THAN 1 HOUR BEFORE SUNSET
THEN TURN Living Room - C (10 (A10)) OFF, FADE RATE = 7

WHENEVER Output 21 STATE IS TURNED OFF
AND House (Area 1) ARM STATE = DISARMED
AND THE TIME IS LATER THAN 1 HOUR BEORE SUNSET
THEN SET Living Room - C (10 (A10)) TO 25% BRIGHT, FADE RATE = 7


If anyone could take a look at this and let me know what I am missing (I know it is probably something REALLY EASY), I would be really grateful.

Thank you in advance.
 
Back
Top