🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    RTC Core2

    Scheduled Pinned Locked Moved UIFlow
    7 Posts 3 Posters 11.5k 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.
    • P Offline
      Piet
      last edited by

      Set time using NTP host reports an error for the 'year' and needs to be set using a constant.
      Hour reports incorrectly. 1 hour needs to be added for UTC + time zone.

      1 Reply Last reply Reply Quote 0
      • felmueF Online
        felmue
        last edited by

        Hello @Piet

        could you share your UIFlow code? I can read hour, min, sec, day, month and year just fine, no error.

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        1 Reply Last reply Reply Quote 0
        • P Offline
          Piet
          last edited by

          0_1611361900876_UTC.JPG

          1 Reply Last reply Reply Quote 0
          • P Offline
            Piet
            last edited by

            Year reports correctly with V1.7.2

            1 Reply Last reply Reply Quote 0
            • felmueF Online
              felmue
              last edited by

              Hello @Piet

              ok, I think I see now what you mean. Interestingly there seems to be a difference between Hardware - RTC and Advanced - NTP. Using the functions from RTC then yes, the hour is off by 1. If I use the NTP functions, the hour is correct.

              0_1611401715441_UIFlowRTCvsNTPTest.png

              Thanks
              Felix

              GPIO translation table M5Stack / M5Core2
              Information about various M5Stack products.
              Code examples

              1 Reply Last reply Reply Quote 0
              • P Offline
                Piet
                last edited by

                thank you

                ZontexZ 1 Reply Last reply Reply Quote 0
                • ZontexZ Offline
                  Zontex @Piet
                  last edited by

                  @piet glad you got it sorted out :)

                  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