Using host name and http for thermostat