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

    PyGate and Ubidots

    Scheduled Pinned Locked Moved Expansion Board
    3 Posts 3 Posters 57 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.
    • S Offline
      sashok0127
      last edited by

      Hello.
      I want to collect and send Lora-nodes data to Ubidots server directly. I have bought Pygate board but I didn't find any ways to realize it in the documentation. There present example only to send data to TTN. Moreover, APIs is really poor, just functions for init, run and stop the event handler.
      Can I get the raw nodes data?
      Or maybe in some way I can change server address and request string?

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

        Hi,
        Currently, the Pygate firmware is still being developed. Im not too familiar with Ubidots, but if it works the same as TTN, you should be able to enter your own router address to connect the gateway.

        Changing the request data would require some source code manipulation. I can point you towards the file where the data is assembled in a JSON packet: https://github.com/pycom/pycom-micropython-sigfox/blob/Dev/esp32/pygate/lora_pkt_fwd/lora_pkt_fwd.c#L1491

        The relevant portion is below the line I selected

        Gijs

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

          @sashok0127 TTN has a direct integration with Ubidots. If i were you i would setup your gateway to forward data to TTN then build your Ubidots reporting using the existing integration. More info here: https://help.ubidots.com/en/articles/2362758-integrate-your-ttn-data-with-ubidots-simple-setup

          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