This project is Publishing Humidity and Temperature DHT22 sensor and Controlling LED using Node-RED and ESP32
I adopted Tutorial from Rui Santos in https://randomnerdtutorials.com/esp32-mqtt-publish-subscribe-arduino-ide/
For MQTT broker used Mosquitto
Hardware :
- PC with installed Ubuntu OS, Node-RED, and Mosquitto MQTT Broker
- DOIT ESP32
Software :
- Arduino IDE
- Node-RED
- Node-RED Dashboard
- Mosquitto MQTT Broker
for library PubSubClient you can download in https://github.com/knolleary/pubsubclient/archive/master.zip