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
ua1zbe 3fa6591541 Изменил(а) на 'README.md' 2023-01-09 20:36:48 +03:00
LICENSE Initial commit 2018-03-18 17:18:12 -04:00
README.md Изменил(а) на 'README.md' 2023-01-09 20:36:48 +03: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 testt

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