Advanced thermostat control

Take a look at Thermostat Director. I use that an combination or CoRE to do exactly that.