In one of the last blog posts,we took a closer look on the available MQTT client tools out there. While these all of these tools work great, they have a drawback in common: You need to download and install them. Some they don’t work on all operating systems. And others don’t support all MQTT 3.1 features like username/passwords.
We are proud to present aMQTT client, which implementsall MQTT 3.1 features and whichruns on any operating system. Introducing theHiveMQ Websockets Client.
This client runs on any modern browser (sorry Internet Explorer <10!) and you can use it to publishand subscribe at the same time. Under the hood it leverages the awesomeEclipse Paho Javascript library for MQTT andZurbs Foundation as CSS framework.
This web client works perfectly with anyHiveMQ MQTT broker with websockets enabled. Now let’s take a closer look on the features of the web client:
Connecting with mqttdashboard.com
You can connect to any HiveMQ (even a broker running on localhost!) with all the MQTT 3.1 features you want to use like Last Will and Testament and Username/Password. It’s of course possible to use secure websockets which use SSL to encrypt your traffic.
A few subscriptions
You can subscribe to any number of topics you want. Topic wildcards are fully supported. All topics subscriptions are marked with a color of your choice to differentiate the incoming messages on that topic subscription. When clicking the “X” on a topic subscription, you can unsubscribe from the topic.
Incoming messages
Incoming messages appear in the “Messages” panel and contain all relevant information about the publish like Quality of Service, topic and a timestamp.
Publishing via the web client
The web client supports publishing of messages with all characteristics a MQTT publish can have likeQuality of Service and theretain flag.
Click here to use the online version of the HiveMQ Websocket client. If you don’t like to use a self hosted (or locally running) HiveMQ, you can use the MQTTDashboard.
Host:broker.mqttdashboard.com
Websockets port:8000
The source code is available on Githubhere. Tell us in the comments if you like the idea of a portable MQTT client for the browser which uses kick-ass technology like websockets orcontact us.
Team HiveMQ shares deep expertise inMQTT, Industrial AI, IoT data streaming,Unified Namespace (UNS), and Industrial IoT protocols. Our blogs explore real-world challenges, practical deployment guidance, and best practices for building modern, reliable, and a secure data backbone on the HiveMQ platform, along with thought leadership shaping the future of the connected world.
We’re on a mission to build the Industrial AI Platform that transforms industrial data into real-time intelligence, actionable insights, and measurable business outcomes.
Our experts are here to support your journey. Have questions? We’re happy to help.Contact us.
A beginner’s guide to load balancing MQTT clients. Explore best practices, techniques, and tools to achieve a scalable and reliable MQTT infrastructure.
Explore Async.MQTT5, a modern C++ MQTT client that works out of the box with HiveMQ Cloud. Learn how to implement it for MQTT implementation.
Get started with MQTT in C. Learn to configure an MQTT Broker in C with code examples and security best practices.
Newsletter sign up
By clicking the subscribe button you give your consent to the use of your data according to ourPrivacy Policy. You can withdraw your consent at any time with future effect.