In the previous article, we saw how to install and use the Broker MQTT Mosquitto on a Raspberry Pi 3 (or some other system). The advantage of owning your own Broker is to keep your data “at home”. It is however possible to publish / subscribe data from connected objects using an online Broker.
8 Brokers MQTT in the Cloud
Online Brokers are not yet very numerous but at least 4 of them will allow you to start the realization of your connected objects. ThingStudio is clearly the most advantageous at the moment because totally free (and without limitations) for the Makers, Hackers and Designers. It joins the same free-of-charge strategy for individuals, students (and small businesses) as Autodesk with fusion360.
|Broker||Free offer||Free with limits|
|ThingMQ||In the free offer the topics are not protected|
|ThingStudio||Free for Makers, Hackers and Designers||X|
|cloudMQTT||Free up to 10 connections (10 Kbps), then from $ 19/month for 100 connections||X|
|IBM Bluemix||Free up to 375 GB / hour / runtime (3 runtime maximum)||X|
|Heroku||Free with Cute Cat offering up to 10 customers connected, then from $ 19 / month||X|
|Hivemq||Paying (price on request)|
|Microsoft Azure IoT||Free if you have an Azure account. Integration with the SDK Microsoft Azure IoT|
|MQTT.io||Service still under development|
Finally, you will definitely find DIoTY in your research. DIoTY seems free and provides an application on iOS and Android (or rather a webapp developed with the ionic framework) to connect your connected objects. I prefer to stay away from this service at the moment because registration seems to me dubious since a gmail account.
5 OnlineMQTT Brokers for Testing
You can also do some online testing on some Brokers. Be careful, however, not to publish anything sensitive. Topics are accessible by anyone.
|Mosquitto||iot.eclipse.org||1883 / 8883||n/a|
|Mosquitto||test.mosquitto.org||1883 / 8883 / 8884||8080 / 8081|
- MQTT router with Node-RED, connect all your Sonoff Tasmota modules to cloudMQTT
- CloudMQTT test, free online MQTT broker. Control Domoticz with the JSON API
- Xiaomi Mijia Honeywell Smoke Detector Test with Domoticz, Emergency Notification with PushOver
- #Test Zigbee2MQTT gateway. Part 2, include Xiaomi Aqara or Mijia accessories to Domoticz with Node-RED [update]
- #Test Zigbee2MQTT project, hack of the Xiaomo Aqara Smart Home Gateway. Part 1: assembly, demo with Node-RED, 3D printed case [update]
- ESP8266 + DHT22 + MQTT: make a connected object IoT and include it in Home Assistant