make thermometer work with https.