Time¶
/stm.cgi?set_rtc¶
Set the time in the RTC.
GET /stm.cgi?set_rtc=A,B,C,D,E,F
A
is year, integerB
is month, integerC
is day of month, integerD
is hours, integerE
is minutes, integerF
is seconds, integer
Example:
http://192.168.1.100/stm.cgi?set_rtc=2019,03,21,15,15,29
/stm.cgi?t_ena=A&t_man=B&t_ser=C&t_por=D&t_zon=E&t_int=F¶
Set the time settings.
GET /stm.cgi?t_ena=A&t_man=B&t_ser=C&t_por=D&t_zon=E&t_int=F
A
determines whether NTP/manual mode is selected and if automatic daylight saving is enabled, integer0-3
(2 bits - 1st is NTP/manual and 2nd is automatic daylight saving)B
is the timestamp of the date in seconds to be set in manual mode, integerC
is the NTP server address, stringD
is the NTP server port, numberE
is a time zone shift, integerF
is the update interval for NTP mode, integer
Example:
http://192.168.1.100/stm.cgi?t_ena=0&t_man=1553181301&t_ser=pool.ntp.org&t_por=123&t_zon=1&t_int=600