Connects to the specified APRS-IS server, and posts the APRS output to MQTT. Can parse parameters, or dump the raw JSON from aprslib. It's currently for receive only from APRS-IS and sending to an MQTT server.
Go to file
mloebl e1ed5feeb0
Update README.md
Add comment about Kyke Gordon's work that was already in the header of the script
2019-01-07 19:37:19 -05:00
LICENSE Initial commit 2018-03-18 17:18:12 -04:00
README.md Update README.md 2019-01-07 19:37:19 -05:00
mqtt-aprs.cfg.example First pass 2018-03-18 17:20:00 -04:00
mqtt-aprs.default First pass 2018-03-18 17:20:00 -04:00
mqtt-aprs.init First pass 2018-03-18 17:20:00 -04:00
mqtt-aprs.py Round the altitude value 2018-03-18 17:50:19 -04:00

README.md

mqtt-aprs

Connects to the specified APRS-IS server, and posts the APRS output to MQTT. Can parse parameters, or dump the raw JSON from aprslib. It's currently for receive only from APRS-IS and sending to an MQTT server.

This script uses the aprslib, https://github.com/rossengeorgiev/aprs-python, to do the heavy APRS lifting.

INSTALL

sudo apt-get install git python-pip

sudo pip install setuptools
sudo pip install setproctitle
sudo pip install paho-mqtt
sudo pip install aprslib

mkdir /etc/mqtt-aprs/
git clone git://github.com/mloebl/mqtt-aprs.git /usr/local/mqtt-aprs/
cp /usr/local/mqtt-aprs/mqtt-aprs.cfg.example /etc/mqtt-aprs/mqtt-aprs.cfg
cp /usr/local/mqtt-aprs/mqtt-aprs.init /etc/init.d/mqtt-aprs
update-rc.d mqtt-aprs defaults
cp /usr/local/mqtt-aprs/mqtt-aprs.default /etc/default/mqtt-aprs

Edit /etc/default/mqtt-aprs and /etc/mqtt-aprs/mqtt-aprs.cfg to suit.

Set executable on the service: sudo chmod a+x /etc/init.d/mqtt-aprs

Start the service: /etc/init.d/mqtt-aprs start

APRS is a registered trademark Bob Bruninga, WB4APR

Forked from original https://github.com/kylegordon/mqtt-owfs-temp, and customised for use with APRS