Building a Secure MQTT Broker with ESP32

Описание к видео Building a Secure MQTT Broker with ESP32

In this video, we explore the potential of using the ESP32 as an MQTT broker for small IoT projects using the PicoMQTT library. We'll cover why the ESP32 is a great choice for connecting a few devices, the features and limitations of the PicoMQTT library, and how to set up the ESP32 as an MQTT broker in different network scenarios and we will also learn how to secure our MQTT broker using username and password. This library will help us create a secure and cheap MQTT broker using ESP32.

We will look at two scenarios:
1️⃣ ESP32 as an MQTT broker while connecting to the home network, with all devices connected to the router.
2️⃣ ESP32 as an MQTT broker and WiFi access point, where all devices connect directly to the ESP32 to access the MQTT broker.

Furthermore, we'll test the broker using: 📱 Smartphone MQTT dashboard. (You can use any app)
🐍 Python client:    • MQTT in Python | building MQTT dashboard  
⚙️ ESP32 as MQTT client:    • Simulating IoT projects in Wokwi | MQ...  
📚 PicoMQTT library: https://github.com/mlesniew/PicoMQTT
ESP32 as MQTT brokerusing sMQTTbroker library    • Build Your Own Secure & Affordable MQ...  

Whether you're just starting out or looking to optimize your IoT setup, this video will guide you through the process!

Don't forget to like, share, and subscribe for more tech tutorials! 🔔

Code and blog: https://github.com/HighVoltages/ESP32...

##################### Hardware used ##############

✅ ESP32 : https://amzn.to/46ZB2I2

✅ XIAO NRF52840 sense by seeed studio: https://amzn.to/3ACVbrD

📖 Check my book "Hands on ESP32 using Arduino IDE book" : https://amzn.to/4cBAnOd

###################################################################

Chapters:
➡️00:00 ESP32 as a MQTT broker (Introduction)
➡️00:15 MQTT cloud options
➡️00:49 why we might need to use ESP32 as MQTT broker ?
➡️01:17 ESP32 as a MQTT broker using Pico MQTT library
➡️01:25 PicoMQTT library Features
➡️02:12 PicoMQTT library Limitations
➡️02:43 ESP32 as MQTT broker two scenerios
➡️03:05 ESP32 as MQTT broker only while connected to the home network
➡️03:39 ESP32 as MQTT broker only while connected to the home network code
➡️06:11 Testing using Python MQTT client
➡️07:09 Secure ESP32 MQTT broker
➡️08:46 Testing using Python ,ESP32 and smartphone as MQTT clients
➡️12:48 ESP32 as MQTT broker and access point
➡️14:16 Testing using Python ,ESP32 and smartphone as MQTT clients
➡️15:35 Performance of the library
➡️16:10 Hands on ESP32 using Arduino IDE book


###############################################################

Order your projects at fiverr: https://www.fiverr.com/users/emmiasim67/

---------------- HOW TO MQTT SERIES ----------------

How To MQTT Series:    • How to MQTT ?  

ESP8266 WifiManager:    • Esp8266 connect WIFI without hard cod...  

What is MQTT:    • MQTT for beginners | What is MQTT ?  

Raspberry pi as MQTT broker:    • Build Your Own MQTT Broker With Raspb...  ​

ESP8266 Publish/Subscribe local MQTT broker:    • ESP8266 (NodeMcu) Raspberry Pi MQTT |...  

ESP8266 Publish/subscribe to Cloud | MQTT:
   • ESP8266 Publish/subscribe to Cloud | ...  

Arduino real-time plotting MATLAB:    • Arduino Realtime graph plot using Matlab  

Arduino Real-time plotting PYTHON:    • Arduino plot graph using Python  

MQTT in MATLAB:    • MQTT in MATLAB | Realtime Data Plotting  

MQTT in Python :    • MQTT in Python | building MQTT dashboard  

Real time plotting in PYTHON using MQTT :    • Python ESP8266 MQTT commuunication | ...  

Android app MQTT:    • MQTT Android Application | MIT app in...  



#esp32 #mqtt #mqttbroker #internetofthings

Комментарии

Информация по комментариям в разработке