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!


  • administrators

    Hello @fabioit,
    the time and date is managed by the timesyncd service. To set the timezone and disable the NTP use the timedatectl:

    0_1588855330568_8cf1e8f7-93a8-4e59-86cf-e14e58e35a71-image.png

    Best regards,
    Martin


Log in to reply