Patent attributes
A thermostat for controlling an HVAC system in an enclosure may include a passive infrared sensor, an active infrared sensor, and an electronic display having a first mode and a second mode. The thermostat may also include one or more processors programmed to change a setpoint temperature of the thermostat to an energy-saving temperature upon detection of a non-occupancy condition for the enclosure. The processor(s) may detect the non-occupancy condition based at least in part on readings received from the passive infrared sensor. The processor(s) may also be programmed to change the electronic display from the first mode to the second mode upon detection of a person approaching the thermostat. The processor(s) may detect a person approaching the thermostat based at least in part on readings received from the active infrared sensor.