Časové funkce

The Miniserver can calculate various times based on geographic location. For example, you can create a program that raises the blinds every day at sunrise.

Obsah


Setup↑

For times to be calculated precisely, enter the location where the system is installed. If you are connected to the internet, the geo-coordinates of this location will be determined automatically after entering the address. An internet connection is not required for the calculation of times.


Time Functions↑

NameDescription
Active Operating TimeShows the active operating mode as used in the timer.
0 = Public Holiday, 1 = Vacation, 2 = School Holidays/Day off, 3 = Monday, 4 = Tuesday, ...
DayCurrent day of the month (1 – 31)
DaylightActive during daylight (from sunrise to sunset)
Daylight 30minActive during daylight (30 minutes after sunrise until 30 minutes before sunset)
Days Since 2009Number of days that have passed since 1/1/2009
HourCurrent hour (0 – 23)
MinutesCurrent minute (0 – 59)
Minutes Past MidnightNumber of minutes elapsed since midnight
MonthCurrent month (1 – 12)
NightActive between dusk and dawn
Pulse at DawnPulse at the beginning of civil dawn — the end of astronomical darkness, when the sun is 6° below the horizon.
Pulse at Day ChangePulse at midnight (day change)
Pulse at DuskPulse at the end of civil dusk — the beginning of astronomical darkness, when the sun is 6° below the horizon.
Pulse at Hour ChangePulse at every full hour
Pulse at Minute ChangePulse at every full minute
Pulse at Month ChangePulse at the start of each month
Pulse at Second ChangePulse every second
Pulse at SunrisePulse at sunrise
Pulse at SunsetPulse at sunset
Pulse at Year ChangePulse at the start of each new year
SecondsCurrent second (0 – 59)
Seconds Since BootNumber of seconds elapsed since the last system start
Start PulsePulse at program start
Sun DirectionSun direction in ° (0 = north, 90 = east, 180 = south, 270 = west)
Sun ElevationSun elevation in °
Time of DawnTime of dawn expressed in minutes from midnight. The value is updated daily at midnight.
Time of DuskTime of dusk expressed in minutes from midnight. The value is updated daily at midnight.
Time of SunriseTime of sunrise expressed in minutes from midnight. The value is updated daily at midnight.
Time of SunsetTime of sunset expressed in minutes from midnight. The value is updated daily at midnight.
Unix TimestampCurrent date and time as a Unix timestamp (UTC)
RokCurrent calendar year