ESP8266 and Raspberry pi communication using MQTT

esp8266 mqtt

In this blog, we will learn how to subscribe and publish MQTT messages using ESP8266 (NodeMcu). We will use the Raspberry pi as a Local mosquitto MQTT broker.