This is a simple console mqtt topic monitor written in python 3. It allows you to subscribe and listen to a number of mqtt topics and display it in a form of table. Optionally it adds some eye-candies and colors to the presented data.
It was tested (with GitHub Actions CI/CD) and works under:
- OS: Ubuntu, MacOS, and Windows
- Python versions: 3.5, 3.8, and 3.9
- runs in console
- 100% python
- multiple topic subscription
- custom colors and unicode icons for a given keywords:
- sort by the topic
- window/tab title in gnome/KDE:
git clone [email protected]:filipsPL/mqtt-monitor.git
conda env create -f conda.yml
conda activate mqttmonitor
pip install -r requirements.txt
Connect to the test server and wait for messages:
./mqtt_monitor.py --conf mqtt_monitor.conf.sample
- create a conf file from template
cp mqtt_monitor.conf.sample mqtt_monitor.conf
- edit
mqtt_monitor.conf
- run
./mqtt_monitor.py --conf mqtt_monitor.conf
- enjoy
See the monitor in action: