Things Stack (TTN v3) howto write lorawan message information to ThingSpeak stream
13 views (last 30 days)
R. De Gruijter on 21 Jul 2021
See my post here for more info: <https://www.thethingsnetwork.org/forum/t/payload-formatter-v3-how-to-return-rssi-and-snr-to-a-thingspeak-channel/49946> .In the payload formatter I cannot access information like SNR (signal to noise ratio) of a lorawan message. But this information is definitely available in the Things Stack. So how do I get this data into a ThingSpeak channel for recording?
Christopher Stapels on 13 Aug 2021
Right now that data is not available directly from the ThingSpeak integration. We will consider it an enhancement request, thank you for the feedback. I would start by forwarding the packet that you get at TTN to a webhook reader. ( Ive used this site). Then find the key parts in the TTN packet, and write your payload formatter to translate the SNR information into the field data that you send to ThingSpeak. I'm not sure the payload formatter has access to the SNR parts of the packet though, I think it only applies to the payload section. The new TTN is pretty flexible though, so there may be a way. Good luck, please let us know if you get it worked out.