The origin of the thermometer