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

    OTAA Node says 'Not yet Joined..'

    Scheduled Pinned Locked Moved LoPy
    otaananogatewayfrequencylopy
    12 Posts 3 Posters 4.2k Views 3 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.
    • RobTuDelftR Offline
      RobTuDelft
      last edited by

      Did you register the Lopy node (using the example code) at TTN under applications?

      Without data you're just another person with an opinion.
      Hackster | About me

      1 Reply Last reply Reply Quote 0
      • A Offline
        avinash
        last edited by

        @RobTuDelft Yes, I did. It's showing 'never seen' in the console. I just tried using ABP method as well, but the device status in console is same.

        RobTuDelftR 1 Reply Last reply Reply Quote 0
        • RobTuDelftR Offline
          RobTuDelft @avinash
          last edited by

          @avinash Maybe try these things:
          Make sure you flash the device with the correct regional setting and the latest firmware.
          Also check your antenna connections.
          Did you try to send something? There is no handshake procedure with ABP, you usually enter your keys manually in a config.py file.

          Without data you're just another person with an opinion.
          Hackster | About me

          A 1 Reply Last reply Reply Quote 0
          • A Offline
            avinash @RobTuDelft
            last edited by

            @RobTuDelft I've tried reflashing the device. I've manually replaced the keys in the code. This is the code I've used -
            0_1495273543918_ABP_Code.JPG

            In the ABP code I just added the lora.has_joined( ) part and the program did pass through the part. I'm assuming that means the Node has joined the LoRa network, but I'm not able to receive the data yet and TTN Console says device 'never seen'

            1 Reply Last reply Reply Quote 0
            • J Offline
              jmarcelino @avinash
              last edited by

              @avinash
              How far away is the node from the gateway? LoRa works better when you have some distance between the two (e.g. not on the same desk). Of course if it's far away there's other issues at play.

              Also what are you using as antennas and are they correctly connected to the connector next to the LED?

              A 1 Reply Last reply Reply Quote 0
              • RobTuDelftR Offline
                RobTuDelft
                last edited by

                @avinash You have s.send("Hello") and on the next line you are sending again. Also, I can see you changed the order of join and removing/addding the channels. Debug in small steps.

                Without data you're just another person with an opinion.
                Hackster | About me

                A 1 Reply Last reply Reply Quote 1
                • A Offline
                  avinash @jmarcelino
                  last edited by

                  @jmarcelino Initially they were on the same table, thanks for the suggestion. Now I'm trying with keeping them 30 feet apart, but still no difference.

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    avinash @RobTuDelft
                    last edited by

                    @RobTuDelft Thanks Rob, I'm using pretty much the example code now. PFA the same, but the TTN console status says 'never seen'.0_1495463359109_ABP2.JPG

                    I'm just wondering if I can tweak the nanogateway code a little and check if I can setup a standalone gateway without linking it to TTN and check the Node range.
                    Any thoughts on this?

                    RobTuDelftR 1 Reply Last reply Reply Quote 0
                    • RobTuDelftR Offline
                      RobTuDelft @avinash
                      last edited by

                      @avinash Did you register using the correct device EUI? This can be obtained from the LoRa radio. You can upload this script to both the Lopy gateway and the node to find out their respective EUI's and register them correctly with the TTN using these EUI's.

                      For the nano gateway you can use these files and for the lopy nano gateway compatible node that connects through OTAA with the gateway you can use these files. These I can confirm to be working for me.

                      Without data you're just another person with an opinion.
                      Hackster | About me

                      A 1 Reply Last reply Reply Quote 0
                      • A Offline
                        avinash @RobTuDelft
                        last edited by

                        Thanks @RobTuDelft for the Scripts, I'll recheck the EUI and if it still doesn't work, will try with your codes.

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          avinash
                          last edited by

                          Even after repeated attempts, unable to get my node working. I tried Sodaq One and lopy nano gateway which worked fine. So, I'm guessing there is a problem with my other LoPy which I'm trying to use as a node.

                          Thanks everyone for your help.

                          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