Sending data from dragino Lg01-N to thingspeak
Latest activity Reply by Massimiliano Neri
on 4 Mar 2023
Hi,
I'm trying to send data from a LoRa Node to the dragino Lg01-N gateway and then to the thinkspeak platform. Actually, the data arrives to the gateway and i get the following result read from the gateway

but the value does not reach the thingspeak platform.
on the other side i tried to send the data manually from the gateway using the following command

and the data is written successfully at the thingspeak. In this link we set the topic -t as channels/XXXXX/publish. but at the first figure the topic which is sent automatically from the gateway to the thingspeak is channels/XXXXX/publish/APIkey
i think the problem is here. i don't know how to change the form of the topic received by the gateway and sent to the thingspeak...is it possible to modify that? i tried to modify the mqtt_process.sh file, but all my changes do not make anny effect on the received packet from the lora node.
could you help me please to resolve this problem?
thank you in advance
2 Comments
Time DescendingI have the same problem, the data arrive at the Gateway LG01P but are not sent to Thingpeak. I also tried with a direct curl link (ThingPeak's HTTP address) but nothing from the rate. If you solved it, let me know. Thank you.
The top syntax is for the older version of the MQTT API. You no longer need to supply the channel API keys, but you do noot to set up an MQTT device. I am not familiar with how to change the dragino settings, perhaps you might try the Things network forum?
Sign in to participate