Mictronics - DIY Electronic projects and more.

Readsb statistics in Home Assistant

Readsb statistics can be integrated in Home Assistant via MQTT protocol.

Example Lovelace dashboard in Home Assistant
Example Lovelace dashboard in Home Assistant

The readsb MQTT client is available in Python3 and C programming language, easy extendable for statistic parameters no yet included. The readsb protocol-buffer statistic file format is supported as well the JSON format for the ADS-B Exchange version of readsb.

Source code #

C source code for readsb protocol-buffer format

Python3 source code for readsb protocol-buffer and JSON format

Python3 source code for JSON format only

The source code demonstrates how to talk to Home Assistant via MQTT broker, including entity auto discovery.

👈 Home