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

    RTC Core2

    UIFlow
    3
    7
    9.3k
    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
      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
        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
          Piet
          last edited by

          0_1611361900876_UTC.JPG

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

            Year reports correctly with V1.7.2

            1 Reply Last reply Reply Quote 0
            • felmueF
              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
                Piet
                last edited by

                thank you

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

                  @piet glad you got it sorted out :)

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