on top of the other answer: you don't even need to do that, that is what a thermostat is for...
yeah but monitoring and controlling are two different things: you can have a monotoring system and e-mail / alarms going off in case of issues, and attackers can't do shit but looking at temperature.
But when would you ever need to change the temperature remotely is my question.