An air conditioner doesn't need a network connection of its own to accept commands from a phone. Giulio Pons demonstrates that approach in a Hackaday.io project, using an ESP8266 to imitate the infrared remote for his Daikin unit. Created on May 13, 2019, the project adds a second control path without changing the appliance itself.
The small controller sits where its infrared LED can reach the air conditioner. Wi-Fi carries commands to the box; infrared carries them the final distance to the appliance. A temperature and humidity sensor adds room readings, but there's an important distinction: measuring the room isn't the same as knowing the air conditioner's state.
A transistor drives the infrared link
Pons built the controller around a WeMos D1 mini, an ESP8266 board programmable through the Arduino IDE. He describes testing the circuit on a breadboard before soldering it together.
The infrared transmitter uses pin D0 to drive a BC547 NPN transistor through a resistor. The transistor switches the LED current rather than asking the microcontroller pin to supply it directly. That matters because the infrared LED sends pulses, and Pons wanted more current than the pin could source on its own.
Pin D4 reads a DHT11 temperature and humidity sensor. Pons notes that his sensor module already includes a pull-up resistor, unlike the version represented in his schematic. He also leaves questions about resistor selection in the write-up. Those unresolved notes make the circuit worth understanding rather than treating every illustrated component value as a settled build instruction.
Three web routes connect the phone to the box
At startup, the ESP8266 joins the home Wi-Fi network and starts a web server. The visible code excerpt defines three HTTP routes:
These routes separate the phone interface from the hardware work. The phone sends a request, and the ESP8266 either reads the room sensor or transmits the appropriate infrared command.
For access from outside the home, Pons describes forwarding a router port to the ESP8266 and contacting it through the router's public IP address. That is a separate concern from making infrared control work: exposing a device's web server to the internet also requires an access-control decision. The visible overview doesn't describe authentication, so its port-forwarding approach shouldn't be read as a complete security design.
A sent command isn't a confirmed state
Both the original handheld remote and Pons's Wi-Fi controller communicate in one direction. The air conditioner receives commands and beeps, but it doesn't send a reply to either remote.
That leaves a useful boundary around what this retrofit can know. A successful HTTP request confirms communication with the ESP8266, not that the air conditioner received the infrared transmission. Likewise, the DHT11 can report room conditions without confirming the appliance's current setting.
In an October 24, 2023 comment, Theodore suggested investigating the connector used by a Daikin Wi-Fi module as a possible source of power and a direct command path. That remained a suggestion; Pons's reply reiterated that his unit had no Wi-Fi module and that he was controlling it through infrared.
The enduring lesson is the distinction between remote control and remote feedback. This project supplies the former with a small, external box. For a follow-on build, the most useful question is how the interface should represent uncertainty when a command has been sent but the appliance's response cannot be confirmed.
