A thermostat is a component of a control system which senses the temperature of a system so that the system’s temperature is maintained near a desired setpoint. The thermostat does this by switching heating or cooling devices on or off, or regulating the flow of a heat transfer fluid as needed, to maintain the correct temperature. The name is derived from the Greek words thermos “hot” and statos “a standing”.
A thermostat may be a control unit for a heating or cooling system or a component part of a heater or air conditioner. Thermostats can be constructed in many ways and may use a variety of sensors to measure the temperature. The output of the sensor then controls the heating or cooling apparatus.
The first electric room thermostat was invented in 1883 by Warren S. Johnson. Early technologies included mercury thermometers with electrodes inserted directly through the glass, so that when a certain (fixed) temperature was reached the contacts would be closed by the mercury. These were accurate to within a degree of temperature.