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

    New firmware release 1.6.7.b1 (LoRaWAN Nano Gateway with TTN example!!)

    Scheduled Pinned Locked Moved Announcements & News
    firmware
    113 Posts 34 Posters 88.5k Views 32 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
      JF002
      last edited by

      @daniel Congratulations for you and the whole team! I've just upgraded to 1.6.7.b1, and tried the examples (NanoGateway and OTAA node) and... it works like a charm! I'm currently sending my room temperature (from a DS18B20 sensor) on TTN using these examples!

      For now, there is no TTN gateway at range at home, I have to move away from my home to find some signal. The possibility to create a "dev" nano-gateway that connects to TTN allows me to work on my projects from home, this is wonderful!

      1 Reply Last reply Reply Quote 1
      • J Offline
        johncaipa
        last edited by

        Very good news, we were expecting this !. Congratulations to the entire Pycom team.

        1 Reply Last reply Reply Quote 0
        • G Offline
          gertjanvanhethof Pybytes Beta
          last edited by

          This is really fantastic news. I immediately uploaded the code to by LoPy.
          TTN Dashboards shows gateway is connected!
          Now I have to test to send messages to it with my other LoPy.

          1 Reply Last reply Reply Quote 0
          • C Offline
            constantinos
            last edited by

            Daniel,

            I lost the functionality of receiving messages from RFM95. It was working with firmware version 1.2.2 and now is lost.

            I just receive nothing at all now.

            1 Reply Last reply Reply Quote 0
            • D Offline
              daniel
              last edited by

              @constantinos please try playing with the public argument in the constructor:

              https://docs.pycom.io/pycom_esp32/library/network.LoRa.html#network.lora.init

              Before the last 2 releases the default of True for the public sync word was not being honoured, and now it is. Set this value to False and that will most likely make the LoPy work with the RFM95 again.

              C 1 Reply Last reply Reply Quote 1
              • C Offline
                constantinos @daniel
                last edited by

                @daniel Thanks! It works!

                1 Reply Last reply Reply Quote 0
                • R Offline
                  rskoniec
                  last edited by

                  @daniel Really nice update! NanoGateway and OTAA node works like a charm! Thank you Pycom Dev Team! :)

                  The machine is working as good as it's code.

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    daniel
                    last edited by

                    Thanks for the thumbs up!! :-)

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

                      Someone can help me with an example of how to use it on US or AU frequencies, I still can not do it on my own. Thanks

                      1 Reply Last reply Reply Quote 0
                      • robert-hhR Offline
                        robert-hh
                        last edited by

                        @daniel Hello Daniel, I do not want to impose any kind of pressure on you, since you are doing a great work in imroving the device, but at what time do you plan the next update of the github repository with the micropython files?

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          daniel
                          last edited by

                          @robert-hh, no worries, our only focus from today onwards is code maturing and doing the migration to the MicroPython migration. We'll also update our own repo as we were sorting out the way to publish Sigfox libraries.

                          1 Reply Last reply Reply Quote 1
                          • D Offline
                            daniel
                            last edited by

                            @johncaipa, for sure, I'll work on an example for US frequencies and will add to the same repo where the other are. We'll do our best to get it done today or tomorrow.

                            Cheers,
                            Daniel

                            J 1 Reply Last reply Reply Quote 0
                            • C Offline
                              Colateral
                              last edited by

                              If Wipy WLAN is configured simply as STA-AP ... the ftp is not working.

                              from network import WLAN
                              wlan = WLAN(mode=WLAN.STA_AP, ssid='Cola', auth=(WLAN.WPA2, 'abc12345678'))
                              wlan.ifconfig(id=1, config=('192.168.10.1, '255.255.255.0', '192.168.10.1', '192.168.10.1'))

                              connect to 'Cola'
                              and ftp(with micro/python) is connecting on 192.168.10.1 but fails on root dir (/flash)

                              L 1 Reply Last reply Reply Quote 0
                              • L Offline
                                livius @Colateral
                                last edited by

                                @Colateral
                                I also wait for this but still do not know how to work with it
                                STA work but AP not able to connect
                                https://forum.pycom.io/post/4202

                                think about people first, then computers

                                C 1 Reply Last reply Reply Quote 0
                                • robert-hhR Offline
                                  robert-hh
                                  last edited by robert-hh

                                  @Colateral: I tried your setting and it worked fine for both addresses (STA and AP), using command line ftp on Linux. Did you use passive mode? Active mode is not supported.

                                  C L 2 Replies Last reply Reply Quote 0
                                  • C Offline
                                    Colateral @robert-hh
                                    last edited by

                                    @robert-hh Yes. It is passive mode. My environment is on Windows10. I tried with WinScp, TotalCommander and Windows10 ftp in passive mode. I saw that is working if I use the default 192.168.4.1 IP instead of the custom IP 192.168.10.1 .

                                    1 Reply Last reply Reply Quote 0
                                    • robert-hhR Offline
                                      robert-hh
                                      last edited by

                                      @Colateral That sounds strange that 192.168.4.1 works, but not 192.168.10.1. The other thing that suprises me is, that you used command line ftp on WIndows 10 in passive mode. The one I have here does not support it. Do you have a special version?

                                      C 2 Replies Last reply Reply Quote 0
                                      • G Offline
                                        gas @jmarcelino
                                        last edited by

                                        @jmarcelino
                                        doesn't this in lower case
                                        I tried the lorwan nano but no luck i don't see it connected
                                        I changed the WiFi parameters and the use the code snippet to generate the gateway_id (i added .lower())
                                        added the gateway on TTN using the same Id
                                        but no lock i don't see pull/push arriving to TTN

                                        do we need to change the router address too ?

                                        Thanks

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

                                          @robert-hh said in New firmware release 1.6.7.b1 (LoRaWAN Nano Gateway with TTN example!!):

                                          I tried your setting and it worked fine for both addresses (STA and AP)

                                          Did you tried WLAN.STA_AP? or separately? WLAN.STA and another try WLAN.AP. Separately it work but not as WLAN.STA_AP.
                                          I have tested this and i can not connect to AP in that mode.
                                          But i have while True: loop.
                                          Inside loop i have machine.idle but this do not help.
                                          I see Wipy on the list of networks but can't connect.

                                          think about people first, then computers

                                          1 Reply Last reply Reply Quote 0
                                          • R Offline
                                            rskoniec @gas
                                            last edited by

                                            @gas On the TTN gateway configuration you should use router.eu.thethings.network:1700 from config.py @jmarcelino addons generating GATEWAY_ID are OK.

                                            The machine is working as good as it's code.

                                            G 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
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 5 / 6
                                            • First post
                                              Last post

                                            Pycom on Twitter

                                            Pycom