Setting up HiveMQ

18 November 2020 at 10:34 pm


This autumn, I’ve been really busy getting another round of students through Embedded Systems and Machine to Machine Communications (M2M) at Kristiania University. As part of the course, we use MQTT quite a bit but it’s a constant annoyance that you have to build Mosquitto from source just to get Websockets to work. This year I tested the community edition of HiveMQ and it actually works really well.

I’m kind of kicking myself for not using it earlier, but there’s very little info out there about how good a solution this really is. So - I made a video tutorial on how to set up HiveMQ on a DigitalOcean droplet. Takes just a little more than 30 minutes and it’s a fully featured MQTT broker that is free and Open Source. Go grab it here and follow along the tutorial?

Yeah. I know. I edited the start a bit too much, but this was put together really quickly 😉

URLS mentioned:

Official installation instructions:

Setting up Websocket listeners:

Online client for testing your installation:

Role based Access Control Extension:

Article image for Setting up HiveMQ