Remote Repeater Control agent
This can be done either by your package manager or with pip.
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
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
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
- Run the following command as root:
cd ~
git clone https://github.com/dscp46/rpt-agent
cd rpt-agent/
-
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. -
Run the following command as root:
chmod +x install.sh
./install.sh