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

    Implement your own LoRaWAN Server

    Scheduled Pinned Locked Moved LoPy
    loralorawanlorawan server
    15 Posts 8 Posters 7.2k Views 11 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
      jmarcelino @ledbelly2142
      last edited by

      @ledbelly2142
      Yes, I’m replacing The Things Network server with this LoRa Server in my largest single install (15 LoRa gateways, 150 nodes)

      I find it much more configurable, especially if you want to use LoRaMAC commands - for example to reassign channels on the fly

      bmarkusB C 2 Replies Last reply Reply Quote 0
      • bmarkusB Offline
        bmarkus @jmarcelino
        last edited by

        @jmarcelino said in Implement your own LoRaWAN Server:

        Yes, I’m replacing The Things Network server with this LoRa Server in my largest single install (15 LoRa gateways, 150 nodes)

        Great! Which type of GW's are you using?

        I find it much more configurable, especially if you want to use LoRaMAC commands - for example to reassign channels on the fly

        What do you mean reassign channels on the fly?

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

          @bmarkus said in Implement your own LoRaWAN Server:

          Great! Which type of GW's are you using?

          It's a mix. I started with the RisingHF (9), now have 5 Laird RG186 and one MatchX.

          I'm looking to stabilise on the Laird RG186 (best price/performance of all gateways out there as far as my application is concerned) but it's been hard to get stock.

          What do you mean reassign channels on the fly?

          Because I run a private network and all nodes are under my control I don't need to stick with a standard channel map so I optimise channel frequencies as necessary. I do this using targeted NewChannelReq downlinks.

          It's also possible to force "difficult" nodes to operate on a single channel (instead of the 3 channel LoRaWAN default) via ChMask. This is all at the LoRAMAC/Network server layer so the nodes don't need any application code change (such as having add_channel() calls) and can operate normally on a public network.

          The LoRa Server ability to load custom NetworkServer modules makes this relatively easy to implement.

          1 Reply Last reply Reply Quote 1
          • F Offline
            fbt
            last edited by fbt

            Hi, @gas @jmarcelino could you provide some additional details about your implementation with a lorawan server and Lopy devices?. have you used nodes and nanogateways implemented with Lopy devices? i would appreciate a lot. thanks

            1 Reply Last reply Reply Quote 0
            • C Offline
              chumelnicu @jmarcelino
              last edited by

              @jmarcelino Hi ! What kind of lora server do u use ? https://www.loraserver.io/ ?

              Thank you !

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

                @chumelnicu
                Yes that's the one

                C 1 Reply Last reply Reply Quote 0
                • C Offline
                  chumelnicu @jmarcelino
                  last edited by

                  @jmarcelino I use tthar server too .. very nice solution .

                  Have you ever test and https://github.com/gotthardp/lorawan-server . Seems very nice too

                  Thank you!

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    gas
                    last edited by

                    Hi
                    in my case :
                    loraserver + mainflux application
                    pi +ica card as lora GW 1
                    matchX as lora GW 2
                    lopy as GW mono channel

                    and 3 lopy devices working as nodes (with GPS,Temp/humidity, light , mouvments, logging)

                    F M 2 Replies Last reply Reply Quote 0
                    • F Offline
                      fbt @gas
                      last edited by

                      @gas said in Implement your own LoRaWAN Server:

                      lopy as GW mono channel

                      Hi @gas , thanks a lot for your answer ... so it is possible to implement, just for integration test purposes, a loraserver, with a single Lopy as mono-channel GW, and a Lopy as LoRa node? (nowadays i only have two lopy, but i would like to test this scenario before thinking about buying some additional devices). thanks a lot. i relally appreciate yor help.

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

                        @fbt

                        Yes, you can use the lorawan nano gateway example

                        https://github.com/pycom/pycom-libraries/tree/master/examples/lorawan-nano-gateway

                        but connect to your private LoRa Server instead of TTN

                        Just change the SERVER defined in config.py to match your private server

                        F 1 Reply Last reply Reply Quote 1
                        • F Offline
                          fbt @jmarcelino
                          last edited by fbt

                          Thanks @jmarcelino ... actually i've successfully implemented TTN based lorawan with a lopy acting as nanogateway and a lopy acting as a node. but i would like to ensure that there are no additional hw requirements (but the a pc running ubuntu) o move to Lora Server. in case some of you experts could share a brief tutorial describing the minimal tricks to successfully implement this alternative to TTN, it could be great!. thanks again for your support!

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            maamar @gas
                            last edited by

                            @gas hello Gas,
                            loraserver and mainflux is installed in your Pi or in your computer
                            did you use postgres?

                            thank you in adavnce
                            Maamar

                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              sunshixing
                              last edited by

                              This post is deleted!
                              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