DIY Decoder 🔜

🔜 Coming soon

This feature is currently in active development. This page has been created to give you a sneak preview of this awesome feature. We expect to release it in the second half of 2024.

How it works

This page describes the current design of the DIY Decoder functionality. The final version of this feature could differ from what is described below.

With a DIY Decoder, you can provide your own code snippet used to decode messages from your LoRa devices on the KPN Things platform. The code snippet should be written in JavaScript. See DIY decoder scripts for the details.

Initially, DIY decoders are only supported for "Own LoRa" devices. Once you have linked your "Own LoRa" device to a Flow, you can add and edit DIY decoders on the Data Procession page for that Flow.

Initially we do not provide a rich code editor in the Things Portal. We suggest you write the code snippet in the editor of your choice and paste the content in the script field of the DIY decoder edit page in Things Portal.

After activating your DIY decoder in a flow, all messages from your "Own LoRa" devices that are part of that flow, are decoded by your own DIY Decoder and sent to all destinations configured for that flow.

A test routine for your DIY Decoder will be provided later.

Last updated