This add-on is now deprecated. We highly recommend on switching to the
official Home Assistant Mosquitto add-on as an alternative.
This add-on will soon be removed from the add-on store.
About
This add-on combines the power of Hivemq’s web-based MQTT client, and the powerful Mosquitto broker (MQTT Server). With this, you can host your own MQTT server, and inspect/publish messages using the built-in web client!
Key features
The Hivemq web service can connect to a WebSocket enabled MQTT Server, it will enable you to see or post messages to specific topics easily.
The Mosquitto broker has multi-user support with ACL! This allows you to limit the access of an MQTT user to a specific topic.
With the ACL support, you can have a separate user for every device that connects to your MQTT server.
You can also have read-only users that cannot post messages.
ACL = access control list.
Installation
The installation of this add-on is pretty straightforward and not different in comparison to installing any other add-on.
Install the “MQTT Server & Web client” add-on.
Configure the options.
Start the “MQTT Server & Web client” add-on.
Check the logs of the “MQTT Server & Web client” add-on to see if everything went well.
Support
You can always get support here at the Home Assistant community forums, join the conversation!
The primary goal of our add-ons project is to provide you (as a Home Assistant user) with additional, high quality, add-ons that allow you to take your automated home to the next level.
Congrats on the new add-on! Very nice addition of the HiveMQ web client.
Just installed and tested, it works.
I could not find it in the docs, but is there a way to make the fields in the web client persistent?
When I change screens now and return, all fields are empty again and I need to re-logon the server.
Although I love the addition of it, this behavior makes the web client not that useful.
Ah thanks, that helps. It’s a case of ‘as designed’ I guess.
[EDIT]
This does not solve the issue of going to some other screen however. Even when you go back within the keep alive time frame, all fields are emptied and you need to setup a connection again.
Yes, I use the included broker.
When opening the web client in a separate browser tab, it stays connected ok. The behavior I described is when using the iframe integration.
I will test some more tomorrow and open an issue when needed. Going to get some sleep first.
You have another add-on using this port (probably another mqtt addon)
Even if you set the broker part to false you also need to change the ports under the configuration to something else.
I see in the background that you are using 1883 that is usually an mqtt port,
You need to use a WebSocket port with the web client.
Can you verify that you are using a WebSocket port?
I am getting this error on a fresh install of the add-on.
INFO: You are running the latest version of this add-on
[cont-init.d] 02-updates.sh: exited 0.
[cont-init.d] 10-requirements.sh: executing...
INFO: Password is NOT in the Have I Been Pwned database! Nice!
FATAL: The configured certfile is not found
[cont-init.d] 10-requirements.sh: exited 1.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing...
-----------------------------------------------------------
Oops! Something went wrong.
We are so sorry, but something went terribly wrong when
starting or running this add-on.
Be sure to check the log above, line by line, for hints.
-----------------------------------------------------------