How to use an ESP32 or ESP8266 to create a smart thermostat
An ESP implementation of a smart thermostat or simple ON/OFF timer
Access via logical name e.g. http://thermostat.local/
For ESP8266 it requires ESPAsyncTCP to use this library you will need version 2.5.1 of ESP8266 Arduino Core until the issues are fixed with the latest.
For ESP32 it requires AsyncTCP to use this library you may need to have the latest git versions of ESP32 Arduino Core
Comprehensive features:
-
7-Day timer and 4 target temperature periods per-day, all adjustable
-
Graphical view of temperature / humidity history
-
Frost protection, Over-heat protection
-
Hysteresis to prevent cycling and save energy
-
Early start mode, to achieve room temperature before the Schedule begins
-
Saves all settings in flash memory
-
Simulation mode for testing without a sensor or relay (just ESP required)
-
Use as a simple ON/OFF timer
-
All HTML is fully validated by W3C
Example webpages:
ESP32 Wiring:
ESP8266 Wiring: