PyGate and Ubidots
-
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? -
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
-
@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
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