TIME
It is possible to assign commands to 10 calendar dates ( TIME[0] - TIME[9] ). The date/time can be set in the Setup/Peripherals menu,
using the internet with the NTP protocol, or by command. With the help of an RTC module, there is no need for an internet connection; the module can keep the current date and time even after a restart or power outage. It supports DS3231, DS1307, and DS1302 chips. The RTC devices can be set in the Setup/Peripherals menu.
If the DS3231 is not a counterfeit, it has a maximum drift of 1 minute per year. It has an internal thermometer, which can be assigned to the TEHU command. Its power supply is 3.3V, and the SCL pin can be shared with the SCL pin of the OLED display(s).
The DS1302 and DS1307 are less accurate but have non-volatile RAM, which is used by the NVR command. Some of them work with a 3.3V power supply, but if not, they require 5V.
Date, Time
TIME=Y2026M12D24h20m15s00
Sets the date and time if for some reason NTP is not usable.
TIME@
Sends the time to STDOUT.
TIMES:TIME@
Sends the time to STDOUT when the second changes.
TIMEM:TIME@
Sends the time to STDOUT when the minute changes.
Timer
TIME[0]=Y2026M12D24h20m15s30
Sets the time to execute the commands.
s: second
m: minute
h: hour
D: day
M: month
Y: year
If a parameter is not specified, it will default to the current date/time.
TIME[0]=W0111110h20m16
Executes the commands at 20:16 from Monday to Friday.
W: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday.
0: does not execute.
1: executes.
TIME[0]@
Displays the set time.
TIME[0]R@
Displays the remaining time until the command execution.
TIME[0]E@
Displays the elapsed time since the start.
TIME[0]+1m
s: second
m: minute
h: hour
D: day
If the timer is active, adds the specified value to the set time.
If not active, adds the specified value to the current time and starts the timer.
TIME[0]-10s
Subtracts from the set time.
TIME[0]:LED(ON)
Executes the commands when the time reaches the set value.
TIME[0]F
Stops the timer.
TIME[0]FC
Stops the timer and executes the commands.
Sunrise, Sunset
SUNR@
Displays the sunrise time.
SUNS@
Displays the sunset time.
SUNR:LED(OFF)
Executes the command at sunrise.
SUNS:LED(ON)
Executes the command at sunset.
SUNR+30
SUNR-30
Executes the command 30 minutes after/before sunrise.
SUNS+20
SUNS-20
Executes the command 20 minutes after/before sunset.
Months, Days Names
MONTH[1]Január|
MONTH[2]Február|
MONTH[3]Március|
MONTH[4]Április|
MONTH[5]Május|
MONTH[6]Június|
MONTH[7]Július|
MONTH[8]Augusztus|
MONTH[9]Szeptember|
MONTH[10]Október|
MONTH[11]November|
MONTH[12]December
Month names. %ML %DATE Default: English
WEEK[1]Vasárnap|
WEEK[2]Hétfő|
WEEK[3]Kedd|
WEEK[4]Szerda|
WEEK[5]Csütörtök|
WEEK[6]Péntek|
WEEK[7]Szombat
Day names. %WL Default: English
TIME(h) óra |
TIME(m) perc |
TIME(s) másodperc
Time names. %TIME, %TIMER[x], %STPW[x] Default: ":"