Web based program for comfortable work with mqtt messages. It gives you comfortable web interface for working with your mqtt network. Supports filtring mqtt messages by topic and message content. Messages can be grouped by topic or rolled into a topic tree.
Supports different databases to store mqtt messages:
- MySQL
- PostgreSQL
- MariaDB
- MongoDB
Real-time statistic:
- Ping (interval beetwen sending and reciving message)
- Message count per time interval
First of all you should fill mqtt config. (Module Mqtt). After filling config use restart button to reload mqtt settings. If you want to use some storage (like MongoDB or MySQL), fill storage config. (Module storage). Also you have to choose primary storage.
Supervisor > Add-on Store >
> Repositories
Add https://github.com/BlenderistDev/homeassistant-addons to your addons
Install addon mqttClient as usual.
More information: https://www.home-assistant.io/common-tasks/os#installing-third-party-add-ons
git clone https://github.com/BlenderistDev/mqttClient.git
cd mqttClient
./install.sh
./launch.sh
git clone https://github.com/BlenderistDev/mqttClient.git
cd mqttClient
docker build -t blenderist:mqttclient .
docker run -p 4000:4000 blenderist:mqttclient
docker pull blenderist/mqttclient:latest
docker run -p 4000:4000 blenderist/mqttclient:latest
Main module. Connects to mqtt server, sends and receives mqtt messages.
hostmqtt server host- validation: required, has protocol (for example mqtt://)
usernameusername for connecting, optionalpasswordpassword for connection, optionaltopicmqtt base topic for mqtt client, optional
Module resends messages from one mqtt server to another
directiondirection of resending- validation: required
hostmqtt server host- validation: required, has protocol (for example mqtt://)
usernameusername for connecting, optionalpasswordpassword for connection, optionaltopictopic to resend. Support mqtt special chars like # or +- validation: required
Module measures time between sending and receiving message.
intervalmetering interval- unit of measurement: seconds
- validation: required, integer, more than 0
Module counts messages per time interval
intervaltime interval for counting, seconds- unit of measurement: seconds
- validation: required, integer, more than 0
ignoreRetainoption for ignoring retain messages- options:
- false - do not ignore retain messages
- true - ignore retain messages
- smart - ignore retain messages only for 2 seconds after connect to mqtt server
- validation: required
- options:
Module adds double click functionality to smart switches without double click.
intervaltime for waiting of second click- unit of measurement: miliseconds
- validation: required, integer, more than 0
topictopic for input message- validation: require
attributejson attribute with value in incoming message. For examplestate_centerorstate.state_centeror evenstate[1].state_center. Optionalnamepart of output topic name. Helps to deference similar sensors. Optional
Only pure installation
No root user
Module executes shell command with time interval and sends execution result to specified topic.
It can be usefull for monitoring some system state, like disk usage or volume level.
topictopic to send command result- validation: required
commandshell command to execute- validation: required
intervalinterval beetween command execution- unit of measurement: seconds
- validation: required, integer, more than 0
namesensor name- validation: required
Only pure installation
No root user
Module executes shell command, triggered by message to specified topic. Message should be empty or contain a valid JSON key-value object with labels to replace. You can use labels in your commands with syntax {{label_name}}
It can be usefull for block or unblock your computer, luanch programs or set volume level.
topictrigger topic- validation: required
commandshell command to execute- validation: required
Module allows to create several database storages. Config is similar to Database
Module allows to create several MongoDB storages. Config is similar to MongoDB
The module allows you to view mqtt messages stored in the storage.
storagestorage to fetch data
Module stores data to database.
dialectdatabase dialect. Supported dialects are mysql, mariadb, postrgesql.- validation: required
hostdatabase host- validation: required
userdatabase user, optionalpassworduser password, optionaldatabasedatabase name- validation: required
tabletable name- validation: required
intervalinterval to make query to database. Optional, if not set, every message will cause a query.
Module stores data to MongoDB.
hostMongoDB host- validation: required
userMongoDB user, optionalpassworduser password, optionaldatabasedatabase name- validation: required
collectioncollection name- validation: required
intervalinterval to make query to MongoDB. Optional, if not set, every message will cause a query.