Things Stack (TTN v3) howto write lorawan message information to ThingSpeak stream

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?

 Accepted Answer

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.

5 Comments

Hi Christopher. Thx for gettnig back at this. Unfortunately also the new TTN payload formatter has no access to SNR and such since it is not part of the payload. I made a feature request at TTN, but they state the payload formatter can only handle payload info. They forward me back to you actually, because it seems all the info is coming in with the webhook, just not as payload :)
See the feature request and their reply here:
So I do hope you can add it at your side.
Kind regards,
Robin
Is there any update to this? Having access to the metadata in addition to the payload would be a very useful feature.
Unfortunatey its still un the backlog, Im sorry. I hope you are able to find another workaround for the present time.

Sign in to comment.

More Answers (0)

Communities

More Answers in the  ThingSpeak Community

Categories

Products

Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!