ChirpStack v4 Decoder
Harvy2's decoder is cross-platform — the same source code (ES5.1) runs on The Things Stack, ChirpStack v3, and ChirpStack v4. The decoder shown here is identical to the one on the The Things Stack page.
Installation (ChirpStack v4)
- Open the ChirpStack v4 web UI.
- Navigate to Device profiles → your device profile → Codec.
- Set Payload codec to
JavaScript functions. - Paste the decoder code (latest version) into the Codec functions field.
- Click Submit.
Releases
| Version | |
|---|---|
| v1.2.0 (Latest) | First ES5.1 cross-platform release |
Earlier versions (v1.1.0 and below) used ES6+ syntax and are not compatible with the ChirpStack v3 and v4 runtimes. They remain available on the TTS page only.
Looking for the legacy v1.0.1 ChirpStack v4 decoder? It is still available under Unsupported → ChirpStack v4 (legacy).