Skip to content

Repository files navigation

mhi-ac-ctrl-esp32

Control Mitsubishi Heavy Industries Airconditioning locally with ESPHome!

This code is inspired by @absalom-muc's MHI-AC-Ctrl, @mriksman's esp32 homekit implementation and @ginkage's MHI-AC-Ctrl-ESPHome. Compared to the popular implementation of @absalom-muc and @ginkage, this project uses the hardware SPI peripheral instead of a software based implementation. That improves reliability and frees up CPU resources for other tasks.

Hardware

Officialy supported (tested by @hberntsen):

Community supported:

Note that it is also possible to re-use custom PCBs designed for the ESP8266 with a supported ESP32 series chip. For example with the Lilygo T-OI Plus, see this discussion.

Not supported

ESP32 chips without RMT peripheral. At the moment of writing that's the ESP32-C2 and ESP32-C61. The RMT is used to derive an SPI CS signal from the clock. Users of these chips might try an older version of the code, i.e. commit 3ddb8cb, that uses timers and interrupts for this.

Getting started

This project is used in ESPHome as external component. The ESPHome documentation will help you getting started with ESPHome. You can base off your configuration from the example.yaml included in this repository. Once you got that going and want to an external temperature sensor, have a look at example-external-sensor.yaml.

In general, the latest version of ESPHome should work. See the build workflow for the latest version of ESPHome that was tested.

About

Control MHI Airconditioning locally using your own ESP32 series chip!

Topics

Resources

Stars

68 stars

Watchers

12 watching

Forks

Used by

Contributors

Languages