Sun Interval Timer
The Sun Interval Timer Device is a superset of the Interval Timer. Like the Interval Timer, it acts like one of those plugin wall timers one buys at the hardware store, but it also understands times relative to when the sun rises and sets.
Like the Interval Timer, the Sun Interval Timer Device has a single output terminal, "out", which it turns on for user definable intervals. It understands the same syntax as the Interval Timer plus two unique time strings called "sunrise" and "sunset". These two times are the sunrise and sunset times for a particular day.
The following are all valid intervals:
If you want a time relative to sunrise or sunset, you can add or subtract the number of minutes you wish to differ.
As you can see, when adding and subtracting sunrise and sunset offsets, you can express the minutes as a pure number or as a simple arithmetic operation (the system understands +/-/*).
Time Intervals with a Day of the Month
You can define intervals for particular days of the month. See Interval Timer.
Time Intervals with a Day of the Week
You can define intervals for particular days of the week. See Interval Timer.
Using Days of the Month and Days of the Week Together
You can define intervals for particular days of the month and week. See Interval Timer.
Creating a Sun Interval Timer
Sun Interval Timers are created by running the TimerSunInterval Script. The Sun Interval Timer has one output terminal, "out" which is
Running the TimerSunInterval Script with the parameters listed below will create an Sun Interval Timer which turns on from sunrise to 12PM and from an hour before sunset to 8:30AM the next day, on the first Wednesday of each month: