A heating and cooling thermostat requires a web-connected microcontroller, relays for activating the external circuits, and analog inputs for reading the temperature ...