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

I have 1. So I just need to compile the haier.yaml from your GitHub and flash that to the board?

It worked never mind. I flashed them, they are online. ESP Home only tells they’re offline.
Temp in history showing -9.000.000.000

@paveldn BTW Do you have hON indoor unit with 2 flaps or just one flap? By flap I mean the thing that covers the air outlet of the unit when unit is off.

Is it in Home assistant history? Strange it shouldn’t. I will check why this can happen.

To tell the truth I don’t remember for sure :slight_smile: . I think it is two, I will check after 21st of September when I will be back from vacation

Yes in HA history

I used this one

There i could turn off the screen and the beep. I don’t see any possibilities now is they right?

if you switch to the dev branch https://github.com/paveldn/ESP32-S0WD-Haier/blob/2370ee2ed611f016d5c671d04a2d6bc373e7b8f3/haier.yaml

there is beeper option for commands sent from HA

beeper: true 

also I think there is now option to disable beeps even from remote.

IIRC beeper: false in config also disables display, but i’m not really sure if it was on hOn or some of my own smartAir2 experments :slight_smile:

1 Like

@Knol010 Also I think that maybe it can be confusing that beeper, display etc. are separate settings from climate so you need to add more entities

1 Like

When I use dev branch I get errors in the ESP yaml.




I had the master, now the dev. Thx it’s working now.

1 Like

It is not working really great. I see this in the logs of ESP Home:

[W][api.connection:080]: Home Assistant 2022.9.2 (::FFFF:192.168.2.15): Connection closed

And it is showing offline in ESP Home.
Schermafbeelding 2022-09-13 om 13.26.44

It is online in HA, not connected to the AC so that’s why you see “off 0”.

@Knol010
Try to remove line
name_add_mac_suffix: true
In your yaml file, build and upload firmware.
If it will not help remove device from HA. Restart HA. And add device again.

1 Like

I fixed it with a setting in ESP Home.
@evlo and @paveldn is it possible with the dev branch to get a switch for “Health mode”?
With the old config I also had the option to block the remote is that also possible?

Yes, both things are possible. But I need to implement them :slight_smile: Just need some time.

1 Like

I wait patiently

Hi paveldn,

I’m really new with all integrations to home assistant.
I have haier pro 11 AC with wifi integrated in the ac.

I saw that you created a project in git with all the requires details to add the ac to home assistant.

I downloaded esphome to my home assistant.

Can you please add a manual how do I download/install and integrated the AC to home assistant?

Regards,
Eran

Don’t want to write a long post (it is not easy from the phone) , but in short you need to do is 3 stages:

  1. Build esphome firmware on your pc (or mac, or raspberry pi etc.) For this you need to install python Download Python | Python.org, install pip (How to Install PIP For Python on Windows | phoenixNAP KB), install esphome as pip package (pip install esphome) download my code from github and build firmware.
  2. Flash esphome to haier esp32 module. You will need usb to ttl (something like this CP2102 USB naar TTL Serial UART Bridge 3.3v-5v | Serieel | OTRONIC Elektronica) in short you will need to connect usb-to-ttl to haier esp32 module like described here ESP32-S0WD-Haier/README.md at dev ¡ paveldn/ESP32-S0WD-Haier ¡ GitHub and flash it with esphome update command
  3. Add device to home assistant. It should appear automatically (if you done everything right) If not use “add integration” esphome and enter your device ip

Last question for now. I have 3 flair units that’s working with the ESP32-S0WD-Haier dev branch integration.
I have another unit which is using another protocol which working with esphome-smartair2.

Is it possible to add switches like display light etc for that?

Theoretically it is possible. Just need to implement it. Also, because I don’t have this type of AC on my hands it is more difficult to test.

If I need to do some testing in the future let me know!

1 Like

Thanks, I definitely will need a help with testing and let you know