/rpt-agent

Primary LanguagePythonMIT LicenseMIT

rpt-agent

Remote Repeater Control agent

Install guide

Install paho-mqtt for python3.

This can be done either by your package manager or with pip.

Installing the package using apt.

You can do this if your operating is sufficiently recent, or if you're running Spotnik v4.

Run the following commands as root:

apt update
apt install python3-paho-mqtt

Installing pip and the package with Python <3.9

Run the following commands as root:

wget "https://bootstrap.pypa.io/pip/3.4/get-pip.py"
sed -i 's/env python/env python3/' get-pip.py
chmod +x get-pip.py
./get-pip.py
pip install paho-mqtt

Installing pip and the package with Python >=3.9

Run the following commands as root:

wget "https://bootstrap.pypa.io/get-pip.py"
sed -i 's/env python/env python3/' get-pip.py
chmod +x get-pip.py
./get-pip.py
pip install paho-mqtt

Install rpt-agent

  1. Run the following command as root:
cd ~
git clone https://github.com/dscp46/rpt-agent
cd rpt-agent/
  1. Edit file rpt-agent to set the repeater callsign you've set up on your MQTT server, the server's hostname and the MQTT password.

  2. Run the following command as root:

chmod +x install.sh
./install.sh