This forum post that details making a WiFi thermostat really brings the point ... a re-build of this demo code from the ESP8266 BASIC docs, is nothing more than a few off-the-shelf parts soldered ...
In the winter, experts recommend that you set your thermostat to 68 degrees Fahrenheit when you're home, and 60 to 65 degrees ...