talira

Theengs Decoder

Efficient, portable and lightweight library for Internet of Things payload decoding.

open sourceGPL-3.0-or-laterfree

Theengs Decoder is a library that turns the raw Bluetooth Low Energy advertisements of more than 140 sensors and devices (thermometers, plant sensors, scales, beacons and more) into human-readable JSON, so their data can be used outside the maker's own app or hub. It's small enough for microcontrollers such as the ESP32, ESP8266 and Arduino boards and also runs on PCs and servers, with a Python binding on PyPI and a Node.js binding on npm that runs as WebAssembly. Device decoders are defined as data, and new ones can be contributed. It powers BLE-to-MQTT bridges such as OpenMQTTGateway and Theengs Gateway. GPL-3.0 licensed, from Theengs.

Problems it solves

  • read my Xiaomi Bluetooth thermometers without the Mi Home app
  • decode BLE sensor advertisements into JSON in my own Python script
  • add support for dozens of Bluetooth sensors to my ESP32 project without reverse engineering each one
  • get data from cheap Bluetooth plant sensors into my home automation
  • parse BLE beacon payloads in a Node.js app

Features

  • decodes BLE advertisements from more than 140 devices to JSON
  • runs on ESP32, ESP8266 and Arduino as well as PCs and servers
  • Python binding on PyPI
  • Node.js binding on npm, compiled to WebAssembly
  • device decoders defined as data, open to contributions
  • unit-tested decoders

Limitations

  • Decodes Bluetooth Low Energy advertisements only, for the devices it has decoders for (more than 140).1

Capabilities

Has official SDKsplan not known

Alternatives

The same job

These do what Theengs Decoder does.

  1. Theengs Gateway Theengs Gateway: BLE to MQTT bridge
  2. OpenMQTTGateway One gateway, many technologies: bridge RF, infrared, Bluetooth LE, LoRa and more to MQTT
  3. rtl_433 Program to decode radio transmissions from devices on the ISM bands

Compare Theengs Decoder with the top 3