Why does MQTT matter?

Marina Serozhenko
MQTT Buddy
Published in
2 min readMar 15, 2017

What is MQTT

MQTT (Message Queuing Telemetry Transport) is a lightweight messaging protocol that provides its clients with an easy way to share their telemetry information using a publish/subscribe communication pattern. MQTT is perfect for resource-constrained devices because it saves memory usage and power.

How it works?

Connected devices subscribe to a topic hosted on an MQTT Broker. Every time when another device/service publishes data to a topic, all of the devices subscribed to it will automatically get the updated information.

Best of MQTT

1.Strong Delivery Guarantees. MQTT Protocol ensures that all messages are transmitted, even if the connection breaks off briefly.

2. Cloud Broker. Using MQTT Client for controlling your IoT devices, you get rid of home server.

3. Flexibility of your subscriptions. You can choose what topics “to listen” manually setting up your preferences. A client can “listen to” all sensors located in a living room or all temperature sensors all over your home.

4. Last will & testament. If the client disconnects unexpectedly, the broker sends the message to all subscribed clients on the topic which were specified in the Last Will message. To discard this message, just send DISCONNECT message.

5. Retained Messages help new clients to receive a status update right away after subscribing to a topic.

MQTT Protocol definitely plays important role in IoT industry with its capability to work with low-powered devices meeting all IoT’s need at the same time. It’s a perfect solution for home automation, which replaces expensive Smart Home system with budget sensors and controllers.

Subscribe and get PRO version of our MQTT Client for free :)

--

--