Latest commit 5b32867 5 years ago
README.md

DHT

ESP8266 project:

  • Connecting one DHT11 sensor to the ESP
  • Connection to MQTT broker
  • Webserver
  • Print Temperature & Humidity on OLED screen
  • OTA support
    • From Arduino IDE it self
    • From WebBrowser http://<ip>/ota (login is admin, password is MAC Address)

Configuration

  • my_wifi.h : Add your WiFi credentials
  • my_mqtt.h : Add you broker details (ip, username, password)

Copy the templates and adapt them to your needs

cp my_wifi.h.sample my_wifi.h 
cp my_mqtt.h.sample my_mqtt.h 

Dependencies

  • PubSubClient by Nick O'Leary (v2.7.0+)
  • DHT sensor library by Adafruit (v1.3.8)

Board tested