Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 1.41 KB

README.md

File metadata and controls

15 lines (9 loc) · 1.41 KB

igate_monitor

View received packets from an iGate LoRa APRS in a Telegram Bot

Simple procedure written in Python3 and working on linux that receives packets from a LoRa APRS iGate (Kiss functionality must be enabled in the iGate) by CA2RXU and sends them to a Telegram Bot.

First step

Create your Telegram Bot following BotFather's instructions inside Telegram. Start it and retrieve your CHAT ID, then insert your API TOKEN and CHAT ID into the igate_monitor.sh script. The .sh script must be runnable. You need curl present in your system to run the Bot. You can test if everything works by running sh igate_monitor.sh TEXT (needs an argument).

Second step

Edit the python code and specify the TNC ip/dns and port in the configuration section. Nothing else is needed. You can run the code and check that it reaches the TNC, then wait for your iGate LoRa to receive APRS packets from the network. These will be displayed and sent to the script that runs the Bot. The two files must reside in the same folder. If the iGate is restarted or becomes unreachable, you will need to restart the program. To put it in the background you can use this syntax: nohup python3 igate_monitor.py &