Time¶
/stm.cgi?set_rtc¶
Set the time in the RTC.
GET /stm.cgi?set_rtc=A,B,C,D,E,F
Ais year, integerBis month, integerCis day of month, integerDis hours, integerEis minutes, integerFis 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
Adetermines 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)Bis the timestamp of the date in seconds to be set in manual mode, integerCis the NTP server address, stringDis the NTP server port, numberEis a time zone shift, integerFis 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