Humidity and temperature measurement