Skip to main content

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)
  1. Open the ChirpStack v4 web UI.
  2. Navigate to Device profiles → your device profile → Codec.
  3. Set Payload codec to JavaScript functions.
  4. Paste the decoder code (latest version) into the Codec functions field.
  5. 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).