Skip to main content

Astronomical timer​

Astronomical timer setup instructions


The astronomical timer creates schedules and routines based on sunrise and sunset. For example, you may need a schedule that turns outdoor lighting on at sunset and off at dawn.

A simple photocell switch can do this, but it has several drawbacks:

  • the light sensor's condition must be monitored (if it becomes dirty, the light stays on during the day)
  • stray light on the sensor can prevent the lighting from turning on when required
  • the light cannot be turned on earlier\later relative to the light level

The astronomical timer has none of these drawbacks.

The following steps show how to configure this example.

Attention

iRidi Server is required to use the astronomical timer.

  • The astronomical timer does not require an Internet connection.

Project setup in iRidi pro​

  1. Create a server project or open an existing one.
  2. In the project settings, enter your coordinates as decimal values in the Latitude and Longitude fields and click Save .

Астротаймер1.png


  1. Add and configure the equipment you will use.
  2. In the SCHEDULE (schedule setup) section, create a schedule for the lighting devices. Set the event start to sunset (Sunset) and the event finish to sunrise (Sunrise).

Астротаймер2.png


  1. In the ROUTINE section, create rules:
    Rule 1:
    WHEN → Event start

Астротаймер3.png


Note

You can also trigger an event at the required angle of the sun relative to the horizon. To do this, use the system token SolarAtitude :

SolarAltitude.png


THEN → send a value to the device channel to turn it on

Астротаймер4.png


Астротаймер5.png


Rule 2:
WHEN → Event finish

Астротаймер2-1.png


THEN → send a value to the device channel to turn it off

Астротаймер2-2.png


BUT ONLY IF → the device is currently on (Feedback == 1)

Астротаймер2-3.png


Астротаймер2-4.png


Configuration is complete. The server automatically calculates sunrise and sunset times based on your location.