Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Is it possible to update time using Lora Otaa?

    Scheduled Pinned Locked Moved LoPy
    lopyrtcotaasynchronize
    9 Posts 5 Posters 1.7k Views 5 Watching
    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.
    • J Offline
      jclo13
      last edited by

      Hello, I am trying to obtain correct time in my lopy, the problem is that I want to use the minimum power, that is why I disable the wifi, is it possible to synchronize the RTC information by Lora-Otaa? actually, I am using the TTN operator.

      Thanks

      Jose

      Charly86C 1 Reply Last reply Reply Quote 0
      • J Offline
        jubbs
        last edited by

        The best method I could determine was to use the GPS shield and get the time from that.

        J 1 Reply Last reply Reply Quote 0
        • bmarkusB Offline
          bmarkus
          last edited by

          LoRaWAN OTAA has nothing to do with time. The answer is no.

          1 Reply Last reply Reply Quote 0
          • J Offline
            jclo13 @jubbs
            last edited by jclo13

            thank you for your answers, @jubbs how can I do it?

            1 Reply Last reply Reply Quote 0
            • danD Offline
              dan
              last edited by

              Hi @jclo13,
              You can use the RTC module for keeping track of time. By setting the NTP server, you can keep it synced with a server. (You'll need WiFi connection)

              1 Reply Last reply Reply Quote 0
              • Charly86C Offline
                Charly86 @jclo13
                last edited by

                @jclo13 after join your module can send a Lora frame on custom port, then backend can see this frame and prepare a downlink with time. On next uplink device will receive time.
                Need some work but will works

                bmarkusB 1 Reply Last reply Reply Quote 0
                • bmarkusB Offline
                  bmarkus @Charly86
                  last edited by bmarkus

                  @charly86 said in Is it possible to update time using Lora Otaa?:

                  @jclo13 after join your module can send a Lora frame on custom port, then backend can see this frame and prepare a downlink with time. On next uplink device will receive time.
                  Need some work but will works

                  How is it related to OTAA?

                  Also keep in mind downlink will be sent after the next uplink. Reception delay depends on many factor, like RX window settings, transmission delays, etc. You have to correct time received and expect few seconds inaccuracy at the end, at least using 'Class-A'.

                  Using 'Class-B' beacons would be different.

                  Charly86C 1 Reply Last reply Reply Quote 0
                  • Charly86C Offline
                    Charly86 @bmarkus
                    last edited by

                    @bmarkus yeah sorry, forgot to mention this method is not accuracy proof ;)
                    It’s not related to otaa i just said you can do it after join (which is part of otaa) but there is no other way to do that as far as I know

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      jclo13 @Charly86
                      last edited by

                      @charly86 thank you, I will try it

                      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
                      • 1 / 1
                      • First post
                        Last post

                      Pycom on Twitter

                      Pycom