Installing and Testing Mosquitto MQTT Broker on Raspberry Pi for IoT Communication
In this tutorial you will get to know more about the MQTT and the terms related to it. Here we will use the Raspberry Pi as local MQTT broker and control an LED connected to NodeMCU ESP12E through MQTT application dashboard. A DHT11 sensor is also connected to NodeMCU so we get the reading of temperature and humidity on MQTT dashboard, by again using the Raspberry Pi as local MQTT broker.
Check out the full project here: https://circuitdigest.com/microcontroller-projects/installing-and-testing-mosquitto-mqtt-broker-on-raspberry-pi