Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 845 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 845 Bytes

Readsb MQTT statistics client

An MQTT client that reads statistics in protocol-buffer format from readsb ADS-B decoder and forward them via MQTT broker into home assistant (HASS).

Build dependencies

  • build-essential
  • libprotobuf-c-dev
  • protobuf-c-compiler
  • libpaho-mqtt

For build instructions of libpaho-mqtt see https://github.com/eclipse/paho.mqtt.c

Build with make. See readsbmqtt --help for program options.

  • Install systemd service sudo bash readsbmqtt-install.sh
  • Edit configuration in /etc/default/readsbmqtt
  • Restart systemd service sudo service readsbmqtt restart
  • Remove systemd service sudo bash readsbmqtt-remove.sh

MQTT broker like mosquitto requires connection with username and password. Entities will be automatically discoverded in home assistant with default topic prefix homeassistant/sensor.