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

    RTC update in Unipi 1.1

    Scheduled Pinned Locked Moved Unipi 1
    2 Posts 2 Posters 1.0k Views
    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áčekM 1 Reply Last reply
      Reply Quote 0
      • Martin KudláčekM
        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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post