• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    RTC update in Unipi 1.1

    UniPi 1 - First Generation
    2
    2
    134
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      FabioIT last edited by

      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!

      Martin Kudláček 1 Reply Last reply Reply Quote 0
      • Martin Kudláček
        Martin Kudláček @FabioIT last edited by

        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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post