This is a Sketch for the arduino IDE to enable the usage of a DHT22 sensor connected to a NodeMCU (ESP8266) with MQTT. Also supported are 2 status LED's and a SPI diaplay.
After start the sensor device, there will be a Wifi-AP for configuration purposes. After successfully configuration, the sensor is connected as a Wifi-client and send the temperature and humidity data via MQTT within the given intervall.
During AP-mode and client-mode, there are some RESTful functions (HTTP-requests) available, for configuration and retrieving information.
Features
- MQTT data transport to broker
- RESTful functions (HTTP-requests)
- Configuration via Wifi-AP
License
MIT LicenseFollow DHT22-MQTT-Sensor-ESP8266 (NodeMCU)
Other Useful Business Software
Our Free Plans just got better! | Auth0
You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of DHT22-MQTT-Sensor-ESP8266 (NodeMCU)!