Skip to main content

ChirpStack v3 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 v3)
  1. Open the ChirpStack Application Server web UI.
  2. Navigate to your device profile → Codec.
  3. Set Payload codec to Custom JavaScript codec functions.
  4. Paste the decoder code (latest version) into the Decoder function field.
  5. Click Update device-profile.

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.0 ChirpStack v3 decoder? It is still available under Unsupported → ChirpStack v3 (legacy).