Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/filipspl/mqtt-monitor
pretty print mqtt messages in console
https://github.com/filipspl/mqtt-monitor
console-application iot iot-application iot-monitoring mqtt mqtt-client
Last synced: about 1 month ago
JSON representation
pretty print mqtt messages in console
- Host: GitHub
- URL: https://github.com/filipspl/mqtt-monitor
- Owner: filipsPL
- License: gpl-3.0
- Created: 2021-05-07T14:48:38.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-04T14:29:46.000Z (over 2 years ago)
- Last Synced: 2023-02-28T18:09:25.797Z (almost 2 years ago)
- Topics: console-application, iot, iot-application, iot-monitoring, mqtt, mqtt-client
- Language: Python
- Homepage:
- Size: 1 MB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
console mqtt_monitor
======================- [About](#about)
- [Features](#features)
- [Installation](#installation)
- [Conda python environment](#conda-python-environment)
- [Set up with pip](#set-up-with-pip)
- [Usage](#usage)
- [Test server](#test-server)
- [Set up your own config](#set-up-your-own-config)
- [Screencast](#screencast)# About
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.
![](obrazki/README-1de557a3.png)
It was tested (with GitHub Actions CI/CD) and works under:
- OS: Ubuntu, MacOS, and Windows
- Python versions: 3.5, 3.8, and 3.9CI Status: [![Python application](https://github.com/filipsPL/mqtt-monitor/actions/workflows/python-app.yml/badge.svg)](https://github.com/filipsPL/mqtt-monitor/actions/workflows/python-app.yml)
## Features
- runs in console
- 100% python
- multiple topic subscription
- custom colors and unicode icons for a given keywords:![](obrazki/README-cd1710ec.png)
- sort by the topic
- window/tab title in gnome/KDE:![](obrazki/README-b4260277.png)
# Installation
`git clone [email protected]:filipsPL/mqtt-monitor.git`
### Conda python environment
```
conda env create -f conda.yml
conda activate mqttmonitor
```### Set up with pip
`pip install -r requirements.txt`
# Usage
## Test server
Connect to the test server and wait for messages:
`./mqtt_monitor.py --conf mqtt_monitor.conf.sample`
## Set up your own config
- 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# Screencast
See the monitor in action:
[![asciicast](https://asciinema.org/a/emHhmWkkbyLIGC8CpPD7xwZBu.svg)](https://asciinema.org/a/emHhmWkkbyLIGC8CpPD7xwZBu)