ESP Haier: Haier Air Conditioner + ESP Home + Wemos D1 mini

Hi everybody,

Don’t know if this information will help anybody. But I was able to make a build that is working on ESP32-for-Haier (the one that is on this photos ESP Haier: Haier Air Conditioner + ESP Home + Wemos D1 mini - #103 by Knol010 ) Processor used on this board is ESP32­SOLO­1 which unlike full-scale ESP32 has only one core so normal builds for ESP32 will not work you need to make special single core builds.
This configuration for ESPHome worked for me:

esphome:
  name: haier
  platform: ESP32
  board: esp32dev
  includes:
    - Haierv2.h
  platformio_options:
    platform: [email protected]
    platform_packages: tasmota/framework-arduinoespressif32 @ 3.10006.210420

To Flash it you will need to use these pins:


The port that is used for communication with AC is UART2. I wasn’t able to make it to communicate over the Serial component (by using hardware_uart: UART2 option) but I succeeded by using my custom code based on UARTDevice ESPHome component and this version 2 protocol from albetaCOM https://github.com/albetaCOM/esp-haier/blob/e2524992f9d11af9965d4c6dbb3e2a81981ceae4/Haierv2.h .
I am not a big specialist in ESPHome. Can somebody help me with figuring out why hardware_uart option didn’t work in my case?

2 Likes