Succeeded! Something went wrong!
Yosensi Payload decoder script featured image

Yosensi Payload decoder script

BLOG > Entry

Our simple script allows you to decode measurement data from our devices into a readable form for your LoRaWAN device’s monitoring/management environment.

When you’re considering the YO devices, the first question that must be answered is: do I already have my own management system that I want to connect to or should I use the all-in-one Yosensi Management Platform? If you’re going with the first option, then you’ll still be required to have a payload decoder that can be implemented in your system. However, if you choose the second option – then lay down and relax, everything will be prepared by the Yosensi team to fit your needs :)

Our simple script allows you to decode measurement data into a readable form for your LoRaWAN device’s monitoring/management environment. It is compatible with the TTN v3 payload formatter and ChirpStack payload codec, including the proper functions and naming of variables. All you need to do is provide encoded data.

If you want to know more about our Payload…

Every payload needs to be encoded before it’s sent. If you want to find out more about the Yosensi Payload structure, then check out our Payload description document and previous blog post.

If you just want to know where the code is…

Here https://github.com/yosensi/yosensi-payload-decoder

Example

YO Pure Pro raw payload:

"02:00:00:00:0d:00:01:00:ea:10:00:00:38:1a:00:01:00:2d:20:00:03:00:00:00:10:69:00:01:00:0b:6c:00:01:01:0c:70:00:01:00:53:25:00:11:02:00:1b"

Decoding output.
Figure 1. Decoding output.

Jakub Sobecki
by Jakub Sobecki
| 5 August 2022