🚀 In this video, I’ll show you how to set up the Mosquitto MQTT broker, explain how MQTT works, and demonstrate it using an ESP32 board to control an LED.
🔗 Code & Setup:
➡️ GitHub Sample Code: https://github.com/LazyTechGeek/MQTT-...
➡️ Arduino Board Manager URL: https://espressif.github.io/arduino-e...
📌 Helpful Links:
➡️ Arduino IDE Download: https://www.arduino.cc/en/software
➡️ Home Assistant MQTT Integration: https://www.home-assistant.io/integra...
📌 Chapters:
00:00 Intro
00:20 MQTT Key Components (Client, Broker, Connection)
01:51 MQTT Communication Diagram
02:09 How MQTT Works (Topics & Publish-Subscribe)
04:13 MQTT Flow Demonstration (Topics & Publish-Subscribe)
05:40 Understanding QoS (Quality of Service)
07:11 QoS in Action (Flow Diagram)
08:13 Installing the Mosquitto MQTT Broker
09:59 Using an MQTT Debugger (Publishing & Listening)
12:41 Arduino Code Breakdown for ESP32
17:91 Flashing the ESP32 Board
20:51 MQTT Demo: Controlling an LED with ESP32
22:11 Outro
🎵 MUSIC USED IN THIS VIDEO
Intro Track: Powerful Action Rock Trailer
Artist: RocknStock
Source: Pixabay
Link: https://pixabay.com/users/rocknstock-...
💬 Got questions? Drop them in the comments! If this guide helped you, don’t forget to like & subscribe for more smart home & automation tutorials.
📢 Join our Discord community for smart home discussions!
🔗 / discord
🔔 Subscribe for more: / @lazytechgeek