PDA

View Full Version : Dawn/Dusk Effect with Season Lighting - JR


lessthanlights
11/29/2008, 11:49 AM
I'm having trouble wrapping my head around how to do this with seasonal lighting on the JR. Any help would be appreciated.

LT1 = Dawn/Dusk Actincs
LT2 = Daylight T5s
LT3 = Sump



LT1 ON at sunrise
LT1 OFF 90 minutes after sunrise

LT2 ON 90 minutes after sunrise
LT2 OFF 90 minutes before sunset

LT1 ON 90 minutes before sunset
LT1 OFF at sunset

LT3 ON same length as LT2 but 12 hours opposite

dovla
11/29/2008, 01:07 PM
perhaps

If Sun 000/090 Then LT1 ON
If Sun 090/-090 Then LT2 ON
If Sun 090/-090 Then LT3 OFF

lessthanlights
11/30/2008, 10:08 PM
If Sun 090/-090 Then LT2 ON - will get LT working right - Thanks

How do I get LT1 on 90 before sunset and off at sunset?

If Sun 090/-090 Then LT3 OFF - will that make LT3 on for the same length as LT2 but 12 hours later???

kenargo
12/01/2008, 12:52 AM
The 2 values in the SUN command are offsets to sunrise and sunset. The 1st value is an offset for sunrise; positive values to be sunrise + minutes, - value for minutes before sunrise. Sunset works the same way. The values max at 240 minutes so your range of time to turn something on is sunrise +/- 4 hours and the range to turn something off is sunset +/- 4 hours. You will not be able to have something turn on 90 minutes before sunset using this method; you would need to use 'if time', 'if timer' to make that possible.

d0ughb0y
12/01/2008, 11:25 AM
You can try this program

If SUN 000/000 Then LT1 On
If SUN 090/-090 Then LT2 On
If Timer LT2=On Then LT1 Off
If SUN 090/-090 Then LT3 off