RTC update in Unipi 1.1
-
Hello!
how to Set the clock via libraries as DTUtils OR SysTimeRtcGet/SysTimeRtcSet functions?I can do it but the raspy is connceted to internet and timezone is set automatically by NTP.
So I can't set a strange clock (i don't know at the moment the time zone where will be installed so I can't set in the raspy).There is a way to set the timezone from codesys? I tired but doesn't work.
Thank you very much!
-
Hello @fabioit,
the time and date is managed by thetimesyncd
service. To set the timezone and disable the NTP use thetimedatectl
:Best regards,
Martin