The EcoWave™ occupancy-based wireless unitary HVAC controller provides the balance of energy efficiency and occupant comfort in fan coils, heat pumps, packaged terminal air conditioners (PTACs), and other unitary equipment used in spaces with unpredictable occupancy, such as hotel rooms, dormitories, residence halls, assisted living, public housing, and condominiums. It can be installed as a stand-alone controller or be networked with the ZigBee®-based EcoSmart Intelligent Energy Management System for cloud-based total facility management. The EcoWave system is comprised of two hardware components: the EcoAir™ battery-powered thermostat and the EcoSource™ HVAC controller, mounted at the HVAC unit. The EcoAir wireless display thermostat can be placed in the optimum location for temperature measurement, occupancy detection, and ease of use. It samples 132 data points to maximize the efficiency of HVAC equipment. The EcoAir utilizes proprietary technology that allows the room temperature to drift for energy savings while the room is unoccupied but returns to the occupant-selected set point within a predefined number of minutes.