BLOG /How to turn your basic AC into a SMART one, all on a pocket-friendly budget!

How to turn your basic AC into a SMART one, all on a pocket-friendly budget!

My air conditioner now reports room temperature, coil temperatures, and compressor load to Home Assistant, and takes orders from it. The parts cost about fifteen dollars. Here is how it went, and how to tell in five minutes whether yours can do the same.

Paul Arbuzov

Air Conditioning Image

I have had the same air conditioner for two years. It came with a remote and a display that shows the target temperature, but no way of telling me anything else. Somewhere inside it, sensors were measuring the coil temperature, the compressor temperature, and how hard the inverter was working—and every one of those numbers stayed inside the box.

It does not anymore.

Why not just buy the official module?

You can. Depending on the brand, they run $60 to $100; they want the manufacturer's app and an account, they talk to a server in another country, and what you get back is roughly the remote control you already own, but on your phone.

The version I built is cheaper, stays entirely on my own network, exposes a pile of sensors the official module never shows, and will keep working if the manufacturer loses interest in the product. The trade-off is that you have to open the unit.

First question: does yours have the socket?

component

The connector marked CN201 WIFI sits empty on the control board of a unit that was sold without a WiFi module. It has five pins: 12 volts, ground, an enable line, and two data lines.

Answer this before buying anything. It decides the entire project, and it takes five minutes.

Unplug the unit at the wall. Open the front cover of the indoor section—usually a flap, two clips, and a couple of screws. Find the control board and look for an unused connector: typically white, four or five pins, often silkscreened with "WIFI," "CN201," or something similarly unambiguous.

Manufacturers often fit that socket across the whole production run, whether or not a particular model was sold with the optional module. Mine had it. Most do.

If it is there, you are most of the way home. If it genuinely is not, stop. The alternatives involve cutting into the control board, and that is not a weekend project.

One more thing worth checking before you order parts: a lot of brands do not manufacture their own air conditioners. Mine is sold under one name and built by a much larger company; the open-source project I ended up using was written for that manufacturer's units, not for my "badge." Search your model number together with “ESPHome” or “Home Assistant” before assuming nobody has done it. Somebody usually has. Where it lives

Article Air Conditioning Second Image

The bay behind the front panel where the official module would have clipped in, complete with its own lid and a cable route already molded in.

Because the official module is designed to sit in a recess behind the front panel, there is a ready-made space with a cover on it, just a few centimeters from the connector. Whatever you build can live in there.

That matters more than it sounds. No box glued to the wall, no cable hanging out of the unit—nothing visible at all when the cover goes back on.

The parts

  • ESP8266 board (D1 mini Pro or similar): $5

  • Level shifter, 4-channel: $1

  • Step-down converter (MP1584): $2

  • Jumper leads, heat shrink, a capacitor: $3

  • Total: $11

The air conditioner's data lines run at 5 volts and the microcontroller works at 3.3V, which is what the level shifter is for. The connector supplies 12 volts and the board wants 5V, which is what the converter is for. Everything arrives in a padded envelope. The most expensive part of this project was the coffee.

The build

Microcontroller, step-down converter and level shifter, laid into the module bay cover. Red is 5 volts, black is ground, and the pair running to the shifter are the data lines.

Microcontroller, step-down converter, and level shifter, laid into the module bay cover. Red is 5 volts, black is ground, and the pair running to the shifter are the data lines.

Nothing gets soldered to the air conditioner. Everything meets it at the existing connector, either with a matching plug or with carefully fitted jumper leads.

Three things catch people out here. All three caught me.

Do not take power from the pin that looks like 5 volts

One of the five pins reads 5 volts on a meter and is not a power supply. It is a signal line into the air conditioner's own microcontroller through a resistor; drawing current from it can destroy the control board. Take 12 volts from the correct pin and step it down. Measure every pin before you connect anything to any of them.

Set the converter output before it is connected to anything

Those little converters ship at whatever voltage the factory left them at, which can be the full input voltage straight through. Dial it to 5.0V with a meter first, then attach the microcontroller.

If nothing happens, swap the two data wires

Transmit and receive are labeled inconsistently between production runs of the same model. Swapping them is harmless to try, and it is, by a wide margin, the most common mistake.

The software half

This part is easy. ESPHome is a Home Assistant add-on that turns a text configuration file into firmware. Someone in the community has very likely already written the code that speaks your air conditioner's particular dialect, and you point at it with three lines of configuration.

You flash the board once over USB. After that, every update goes over WiFi while the unit is running.

Getting it entirely right took a series of small corrections rather than one big fix. Several sensors stay hidden unless you explicitly ask for them. One button is labeled “sleep” in the software but actually toggles the front panel display because that is how the manufacturer wired it. The left–right vanes turn out to be manual on my model, so the software control for them does nothing but make the unit beep politely at me. None of this is written down anywhere. You find it by watching what the machine says back, which is most of the fun.

The result

Mode, fan speed, swing and setpoint in half-degree steps, next to the room temperature the unit is measuring for itself.

Mode, fan speed, swing, and setpoint in half-degree steps, next to the room temperature the unit is measuring for itself.

Full control from Home Assistant, plus a set of readings I simply did not have before: indoor temperature as the unit measures it, outdoor coil temperature, both refrigerant line temperatures, compressor temperature, inverter load as a percentage, defrost status, and signal strength so I know the antenna is coping behind all that plastic.

No cloud account. No app. Nothing leaves the house.

Around fifteen dollars and one weekend—most of which went on reading rather than building.

Before you start

This means opening an appliance that is connected to mains power. Unplug it at the wall, not with the remote. Do all the wiring with the unit fully disconnected, and only power it up once everything is insulated and nothing is loose. It will almost certainly void your warranty.

If you are not comfortable with any of that, stopping here and enjoying the photos is a perfectly good outcome.