MATLAB Answers

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

53 views (last 30 days)
R. De Gruijter
R. De Gruijter on 21 Jul 2021
Commented: R. De Gruijter on 13 Aug 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?

Answers (1)

Christopher Stapels
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.
  1 Comment
R. De Gruijter
R. De Gruijter on 13 Aug 2021
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

Sign in to comment.

Communities

More Answers in the  ThingSpeak Community

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!