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.
host
mqtt server host- validation: required, has protocol (for example mqtt://)
username
username for connecting, optionalpassword
password for connection, optionaltopic
mqtt base topic for mqtt client, optional
Module resends messages from one mqtt server to another
direction
direction of resending- validation: required
host
mqtt server host- validation: required, has protocol (for example mqtt://)
username
username for connecting, optionalpassword
password for connection, optionaltopic
topic to resend. Support mqtt special chars like # or +- validation: required
Module measures time between sending and receiving message.
interval
metering interval- unit of measurement: seconds
- validation: required, integer, more than 0
Module counts messages per time interval
interval
time interval for counting, seconds- unit of measurement: seconds
- validation: required, integer, more than 0
ignoreRetain
option 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.
interval
time for waiting of second click- unit of measurement: miliseconds
- validation: required, integer, more than 0
topic
topic for input message- validation: require
attribute
json attribute with value in incoming message. For examplestate_center
orstate.state_center
or evenstate[1].state_center
. Optionalname
part 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.
topic
topic to send command result- validation: required
command
shell command to execute- validation: required
interval
interval beetween command execution- unit of measurement: seconds
- validation: required, integer, more than 0
name
sensor 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.
topic
trigger topic- validation: required
command
shell 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.
storage
storage to fetch data
Module stores data to database.
dialect
database dialect. Supported dialects are mysql, mariadb, postrgesql.- validation: required
host
database host- validation: required
user
database user, optionalpassword
user password, optionaldatabase
database name- validation: required
table
table name- validation: required
interval
interval to make query to database. Optional, if not set, every message will cause a query.
Module stores data to MongoDB.
host
MongoDB host- validation: required
user
MongoDB user, optionalpassword
user password, optionaldatabase
database name- validation: required
collection
collection name- validation: required
interval
interval to make query to MongoDB. Optional, if not set, every message will cause a query.