摘要 |
To provide an air conditioner 1 that includes an outdoor device 10 and an indoor device 20 and performs air conditioning inside a room. The indoor device 20 includes a control unit 25, a storage unit 26, and an infrared sensor unit 30 that detects a human by detecting infrared rays. The infrared sensor unit 30 includes thermal-image acquisition elements 33 1 to 33 n that detect infrared rays to acquire thermal image data, and a sensor control unit 34 that controls the thermal-image acquisition elements 33 1 to 33 n . At a time of reception of the thermal image data transmitted from the infrared sensor unit 30, the control unit 25 determines whether an error has been occurred in communication for each of the thermal-image acquisition elements 33 1 to 33 n . The control unit 25 sets a thermal-image acquisition element whose sum of number of times of determination that an error has occurred in the communication is equal to or larger than a certain number, as a communication-error established element. The control unit 25 performs setting of not acquiring the thermal image data from the thermal-image acquisition element set as the communication-error established element. |