Skip to content

Latest commit

 

History

History
84 lines (50 loc) · 4.01 KB

ReadMe_V2.md

File metadata and controls

84 lines (50 loc) · 4.01 KB

ESP8266 Thermostat System V2

This came out of the desire to have both remote and finer grain control of our heating and cooling system. Specifically for multi-floor houses with a single heating and cooling system it might be desirable to cool in respect to the top, ground, or basement floors. This of course isn't achievable in a single thermostat system, and thus a multi-sensor system that reports to central controller architecture was born. Overall the project costs about $60 for the server and GW1000 base station, and an extra $20 per extra sensor you get (up to 8 in total). The Ecowitt GW1000 is the base of the system, and provides a single point to query to get information about all sensors throughout the house. Seems like a reasonable deal to get a calibrated sensor, with over 1.5 year long battery and relatively high frequency data.

The "server" is a small 4 relay board near your heating and cooling unit which can then query the GW1000 to get temperature and humidity information. This server provides a small web-server that users can use to control the 24 hour schedule along with the settings of the system. Please checkout the screenshots bellow as they provide the most information about the functionality of the system.

Key Features

  • Web-based interface for thermostat
  • Integrates with Ecowitt GW1000 gateway sensors
  • Selection of what temperature "device" to cool to
  • Historical record of how long Cool / Heat / Fan was on
  • Historical sensor information (only one is shown on stats page for now)
  • 24 hour schedule of what device, temp, and fan status should be
  • Settings page for changing and saving configuration
  • Access point mode for easy setup (CSS styling needs to be fixed still)
  • Day and night CSS style mode for easy viewing

Dependencies

Server Device

The server device serves the webpage that provides user feedback, temperature information, and allow for setting of desired temperature. This will be located near the actual cooling unit and uses a set of relays to turn on and off the fan, heat, and cooling functions. The wiring that I used for my US-based heater/cooling unit was the following:

  • R - 24VAC
  • G - Fan/Blower
  • Y - Cool/Compressor
  • W - Heat

To "enable" one of the functions, have the relay connect the 24VAC wire with the desired function. I wired the system so that these are "normally open" (NO) so that if the device lost power the heater/cooling unit failed gracefully. There is a pretty nice pre-made four relay system on amazon that I used, but one could easily build one and trigger using a ESP8266 form factor that exposes enough GPIO pins.

server photo

Main Screen:

screenshot 1screenshot 2screenshot 3

Statistics Screen:

screenshot 4

Settings Screen:

screenshot 5screenshot 6screenshot 7

Afterthoughts

Overall this is a really great system that provides all the information and control that I need. If there was one thing it would be I need to add support for an SD card to save the historical data to, and also support serving of the style sheets instead of from the internet.