Skip to main content

The Things Stack (TTS) Decoder

Starting with v1.2.0 the decoder source is ES5.1-compatible and works identically on The Things Stack, ChirpStack v3, and ChirpStack v4. The code below is the canonical version also used on the ChirpStack platform pages.

Releases

Version
v1.2.0 (Latest)ES5.1, cross-platform (TTS + ChirpStack v3/v4)
v1.1.0TTS only (uses ES6+ syntax, not compatible with ChirpStack)

Changelog

v1.2.0

  • remove port 6 support (legacy payload for firmware < v1.0.0)
  • add port 42 support (button press count) for firmware >= v1.1.0
  • add port 99 support (hardware version and variant decoding) for firmware >= v1.1.0
  • add current limit validation for port 10 (1000A normal, 10000A Rogowski mode)

v1.1.0

  • add rogowski_flag
  • add support for counter mode (port 30 and 31)