Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Small Python program that reads the MQTT server where you have connected OpenwebRX to read the topics OpenwebRX/CLIENT and OpenwebRX/RX and send a message to your Telegram when someone connects with their IP, country, ISP, frequency, and profile. It also notifies you when they disconnect. For example, when a client connects, you will receive a Telegram notification with details such as: IP: 78.138.82.254 Country: Spain City: Ciudad Lineal ISP: Aire Networks del Mediterraneo Frequency: (Frequency details from OpenwebRX/RX) Profile: (Profile details from OpenwebRX/CLIENT) When the client disconnects, you'll receive another notification indicating the disconnection. You have a config.py file where you need to put the Telegram token, chatID, and the configuration of your MQTT server. Info about MQTT in OpenWebRX can be found at this URL https://fms.komkon.org/OWRX/#HOW-MQTT OpAlo Dependencies: The standard library modules (logging, time, asyncio, typing, json, datetime) are included with Python, so we don't need to install them separately. Third-party libraries (aiohttp, paho-mqtt, python-telegram-bot) need to be installed. Here is the command to install these dependencies: pip install aiohttp paho-mqtt python-telegram-bot