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

    LoRa (Raw) & MQTT vs. LoRaWAN & private LoRaWAN server

    Scheduled Pinned Locked Moved Discussion
    loraserverloralorawan servermqtt
    4 Posts 3 Posters 1.8k Views 4 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.
    • T Offline
      Thosch42
      last edited by

      Hi all!
      In order to find the best solution for my current project, I have to make a decision. Simplified, I have a couple of sensor nodes, and they have to send there values via LoRa to an gateway. The gateway forwards the values via internet connection to any kind of server. There are (at least) two possible solutions:

      1. On the server side, just setting up an MQTT Broker, sending the values from the nodes via LoRa raw, and let the appropriate gateway forward the values to the broker.

      2. On the server side, set up a private LoRa Server, (like this one https://github.com/brocaar/loraserver), sending the values from the nodes via LoRaWAN to the gateway and forwarding them to the LoRa Server.

      As far as I thought, if I go the first way, the server side is pretty easy, but there's a lot to do on the nodes and on the gateway. I need to handle tx trials and all around the "routing" of the sensor values.

      Implementing the second solution, the server side looks a bit more complex, but the gateway seems to be straightforward, and also the efford on the nodes seems not that much.

      I would be glad to hear some opinions from you, about the pros & cons, or some different solutions for this, how I think, very common task.

      Cheers,
      Thomas

      bmarkusB 1 Reply Last reply Reply Quote 0
      • P Offline
        Paul Thornton
        last edited by

        Hi Thomas,

        Is this something that has to be completely self hosted?

        If not have you considered the things network? a simple solution would be to let TTN handle the gateway backend (Albeit you could still host your own gateway).

        And use there webhook's system or similar to route the data where ever you require it over the net.

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

          @thosch42 Create an account at LORIOT public cloud infrastructure choosing the closest server. It is free for unlimeted time, no creadit card needed. Support nearly all gateway models and has plenty of output interfaces like HTTP PUSH, WebSocket TLS Socket, MQTT, CoAP, AZURE, AWS IBM Cloud, Ceyenne and many others and has built in monitoring, logging tools to help development. Also it support Class-C devices and multicast. Depending on your location, you may enjoy benefits of server-wise roaming.

          It is the most efficient way to start and free for 1xGW and 10xDEVICE.

          Take a look on https://loriot.io/login.html

          Regards,

          Béla

          1 Reply Last reply Reply Quote 0
          • T Offline
            Thosch42 @Paul Thornton
            last edited by

            @paul-thornton said in LoRa (Raw) & MQTT vs. LoRaWAN & private LoRaWAN server:

            Is this something that has to be completely self hosted?

            From the current state of things, yes, it has to. I need a solution that can scale up. We think about several hundrets of nodes with several gateways per application. Everything has to be self powered. And also for now, it's not clear if the gateways will have a permanent connection to the higher-level network, or will initially store all the information and load them up in fixed intervals.
            My first attempt was, to use TTN. But there are opinions that speak against it. Think of areas in the world where the Internet is not as free as it should be.

            Cheers,
            Thomas

            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