MQTT
-
MQTT (Part 4): Secure Communication Between Devices
Ensuring secure communication between devices is crucial when working with MQTT. In the previous parts of this MQTT series, you set up communication between two ESP8266 devices and exchanged sensor data. However, security measures were not yet implemented. Without proper security, an unauthorized user could intercept your data or disrupt your system. This tutorial will…
-
MQTT (Part 3): Sending and Receiving Data
In the previous part, you learned about the MQTT broker and how to set it up with Mosquitto on a Raspberry Pi. Now, it’s time to establish communication between devices. In this tutorial, you will learn how to send data from an ESP8266 to the broker and how another ESP8266 can subscribe to this data…
-
MQTT (Part 2): Setting Up an MQTT Broker on the Raspberry Pi
In the previous part, you learned the basics of MQTT. Now, we dive deeper into the central element of any MQTT application: the broker. In this tutorial, you will learn how to set up an MQTT broker on your Raspberry Pi using Mosquitto. What is an MQTT Broker? An MQTT broker is the heart of…
-
MQTT (Part 1): Introduction
This tutorial series is all about MQTT – the messaging protocol that is excellent for exchanging data between devices. Imagine you want to monitor the temperature in your greenhouse. To do this, you install temperature sensors that send their readings via MQTT to a central broker. The broker then distributes the data to all “interested”…