MicroPython - MQTT Publish/Subscribe using ESP32/ESP8266
This post will show you how to connect, published, and subscribe to MQTT topics with your broker using MicroPython and an ESP32/ESP8266 board. We will be using the library umqttsimple in communicating with our Mosquitto MQTT broker. WriteUp: https://www.donskytech.com/micropython-mqtt-esp32-esp8266/ Code: https://github.com/donskytech/micropython-ESP32-ESP8266/tree/main/mqtt How to test MQTT using MQTTX?: https://www.youtube.com/watch?v=Fhk-x-QD5XQ Contents of the Video: 0:00 - Intro 0:51 - umqttsimple library in ESP32 1:31 - Project files 2:27 - MQTT Subscribe Demo 5:30 - MQTT Publish Demo 7:24 - DonskyTech Intro Plug 7:36 - MQTT In Nutshell 9:10 - boot.py 9:31 - subscriber.py 12:29 - publisher.py 13:45 - publisher.py If you like my post or videos then please consider subscribing to my channels and sharing them with your friends: Website: https://www.donskytech.com Youtube: https://www.youtube.com/c/DonskyTech Facebook: https://www.facebook.com/DonskyTech Twitter: https://twitter.com/DonskyTech If you are generous and think I have helped you, please consider buying me a coffee. 🙂 Buy Me a Coffee: https://buymeacoffee.com/donskytech #mqtt #mosquitto #micropython #esp32 #esp8266 #umqttsimple #mqttx
Download
0 formatsNo download links available.