Home Energy

Heat Pumps in Home Assistant, Locally

A mini-split heat pump is often the largest energy load in the house, and the way it usually joins a smart home is through the manufacturer’s cloud — an account, an app, and a dependency on servers you do not control staying up, staying compatible, and staying in business. Every major brand’s cloud has had outages and API changes that broke home automations without warning. The local routes in this guide remove that dependency: a wired ESPHome module inside the unit for the best-supported brand, infrared control for almost everything else, and a clear-eyed look at what each route can and cannot do.

Published Nov 21, 2026

Why local control matters for this appliance in particular

A light bulb on a vendor cloud is an annoyance when the cloud fails. A heat pump is the house’s heating and cooling, and its automations are the ones tied to real money and real comfort: setback schedules, demand response, pre-heating before a price spike, coordination with solar production. When a vendor changes an API or retires a service, those automations do not degrade politely — they stop, usually discovered on the coldest morning of the year. Local control inverts the relationship. The unit takes its orders from hardware in your own home, over your own network, using a protocol that does not change because a product manager had a quarter to make. The vendor’s app can live or die as it pleases; the house keeps its schedule either way. That is the whole argument, and for the biggest load in the home it is a strong one.

The best route: Mitsubishi CN105 with ESPHome

Mitsubishi’s mini-splits and heat pumps carry a connector inside the indoor unit labeled CN105, intended for the brand’s own accessories, which speaks a serial protocol that the open-source community reverse-engineered years ago. An ESP32 wired to that connector becomes a full local controller: mode, setpoint, fan speed, vane position and the unit’s own temperature readings, all reported and commanded locally, with no Mitsubishi cloud account involved at any point. The project to build on is echavet/MitsubishiCN105ESPHome, the actively maintained ESPHome component for this connector — it requires ESPHome 2025.7 or newer, and its documentation strongly prefers an ESP32 over the ESP8266 boards older builds used, because the smaller boards have proven unreliable in this application, largely around voltage regulation. Follow that advice: the ESP32 costs little more and removes the flaky category entirely.

The build itself is modest: a cable to the CN105 connector, the ESP32, and a level of care appropriate to opening an appliance — power off at the breaker, and if opening the indoor unit is beyond your comfort, an HVAC technician can fit the module in minutes during a service visit, since the connector is a documented accessory port rather than a hack into the wiring. In ESPHome the component declares as a climate entity with the connector’s options, and Home Assistant gains a thermostat card that is indistinguishable from any other — except that it answers during internet outages, responds instantly, and cannot be deprecated. The project is unofficial and reverse-engineered, and says so itself; the protocol has been stable in community use for years, but the framing belongs on the page: this is a community build on an undocumented interface, undertaken with eyes open. The same connector family also serves Mitsubishi’s Lossnay ventilation units, which the component supports as well.

Daikin and the other brands: a general map

Daikin owners have local options too, but the landscape is less settled, so this guide maps it at the level the facts support rather than inventing steps. Daikin’s own Wi-Fi adapters and cloud services have a history of API restrictions that broke third-party control, which is precisely the pattern this guide exists to escape. The wired route is the known-good direction: ESP32 modules that connect to the unit’s wired service port and speak its local protocol directly, giving the same class of local control as the CN105 build — full state, full command, no account. Community projects in this space are active and evolving, so the practical advice is to identify your exact indoor unit model, check the current state of its wired-module projects before buying anything, and treat any guide promising a five-minute Daikin integration — including via the brand’s cloud — with suspicion. What is safe to say generally: the wired path exists, it is the local-first recommendation, and it rewards model-specific research before purchase.

The universal fallback: ESPHome IR climate

Almost every mini-split ever made can be controlled the way its own remote controls it: infrared. ESPHome’s IR climate platforms support a long list of brands — Daikin, Mitsubishi, LG, Fujitsu General, Hitachi and more, plus a generic platform covering many others — using an ESP32 with an infrared transmitter aimed at the unit’s receiver. The climate entity this produces looks complete: mode, temperature, fan, swing. The catch is built into the physics. Infrared is one-way. The controller knows what it last sent, not what the unit is actually doing, so if someone uses the handheld remote, the two disagree silently. ESPHome mitigates this with an optional infrared receiver that listens for the handheld remote’s commands and keeps the state in sync — worth the extra component, because a control system that believes the unit is off while it heats an empty house is worse than no control system. Position matters as much as parts: the transmitter needs line of sight to the unit’s receiver window, which usually means mounting the ESP on the wall or ceiling opposite, and testing at the sunniest time of day, when infrared interference peaks. As a fallback that works on nearly anything, IR climate is genuinely good. As a first choice where a wired route exists, it is second place, and the gap is the state feedback.

What local control unlocks

With the heat pump in Home Assistant as a local climate entity, the energy playbook from the rest of this cluster opens up. Schedules follow occupancy and the house’s actual rhythm instead of a fixed program in a vendor app. Setpoints can float with electricity prices — pre-cooling before a peak window, coasting through it — alongside the strategies in the time-of-use load shifting guide. Solar-aware automations can spend a sunny afternoon’s surplus on comfort rather than exporting it for pennies, coordinated through the home energy control layer. And the failure mode flips: the automations now depend on your hub and your network, both of which you can fix yourself, on your schedule, with parts from a drawer. That is the entire philosophy of this site applied to the largest load in the house — the cloud becomes an optional extra, not a load-bearing wall.

Official documentation and references

Frequently asked questions

Will the CN105 module void my warranty or damage the unit?

The CN105 connector is the manufacturer’s own accessory port, and the module only communicates through it — no wiring is cut and no board is modified. That said, the project is unofficial and reverse-engineered, and it describes itself as use-at-your-own-risk. Power off at the breaker before opening the unit, and if you are not comfortable inside the appliance, have an HVAC technician fit it during a service visit.

ESP32 or ESP8266 for the CN105 build?

ESP32, without much debate. The maintained component’s documentation recommends it strongly: ESP8266 boards, including common D1 mini clones, have proven unreliable in this application, mostly around voltage regulation. The price difference is small and the reliability difference is the whole project.

Does IR climate know when someone uses the handheld remote?

Not by default — infrared is one-way, so the controller only knows what it sent. ESPHome’s answer is an optional infrared receiver that listens for the handheld remote’s signals and updates the tracked state to match. Without it, treat the handheld remote as retired; with it, both control paths coexist.

Can I control a Daikin locally too?

Yes, via the wired route: ESP32 modules that connect to the unit’s wired service port and speak its local protocol, avoiding Daikin’s cloud and its history of API restrictions. The projects are model-specific and evolving, so confirm your exact indoor unit’s support in the current project documentation before buying hardware.

What happens to my schedules if the internet goes down?

Nothing — that is the point. A local climate entity takes its orders from your own hub on your own network. Vendor outages, API changes and retired cloud services cannot reach it. The remaining dependencies are your Home Assistant instance and your LAN, both of which are yours to maintain.

Related guides