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

    Devices lost LoRa activation

    Scheduled Pinned Locked Moved LoPy
    lopy4lorawan
    6 Posts 4 Posters 479 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.
    • R Offline
      River
      last edited by

      I have 6 LoPy nodes deployed in the field connected to brocaar loraserver (loraserver.io). For unknown reason (I'm still investigating) all the devices lost it's activation, by the way the devices messages appears correctly under gateway but I think LoPys have lost the sequence number. The nodes are OTAA activated.

      At the moment LoPys in the field think they are joined to the network, but they aren't (the gateway rejects their messages).

      One of the nodes has easy access and pressing reset button has reactivated correctly and now is sending messages.

      I want to know if it's possible to reactivate remotely, by means of sending an special packet or something similar. Anyone here knows if it's possible or had a similar experience?

      Best regards

      robert-hhR bmarkusB 2 Replies Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @River
        last edited by

        @River Can you reset the counter in the loraserver portal? TTN allows to do so.

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          River @robert-hh
          last edited by

          Hello @robert-hh From web frontend it's blocked, but I will test to modify the value directly under database, by the way I've just asked under loraserver forums too in order to "touch the correct knob".

          Thinking a little bit more, maybe it's not possible to reset or make rejoin remotely..

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

            @River said in Devices lost LoRa activation:

            At the moment LoPys in the field think they are joined to the network, but they aren't (the gateway rejects their messages).

            What do you mean GW rejects their messages, can you provide details?

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              River @bmarkus
              last edited by

              @bmarkus The devices lost it's activation key. Finally went to the site in order to reset manually the nodes and they rejoined without problems.

              The next idea I have for future development is to send a ping packet periodically from the node to gateway application, if the node doesn't receive a downlink then do a rejoin to the network.
              Sadly, this will require to save another variable to nvs in order to keep a counter of wakes or sent packets.

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                jcaron @River
                last edited by

                @River are you sure you’re not missing something in your code? When you wake up, you should restore LoRa settings, then check if the node thinks it has joined, and it not, try to join.

                If some any reason you don’t get to the LoRa save, the next restore will result in the device having lost the join state, and being unable to send anything...

                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