Controlling the thermostat remotely