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

I’m looking at adding a couple mini splits to the house, and the company I’m working with has suggested Haier. With everything they pulled a year ago, I’d much prefer to look at a local solution so I’m wondering if anybody could provide some insight on if this setup would be compatible with this project. I’m in Canada, where Haier uses GE’s SmartHQ app.

The indoor unit model # is 1U15AP2HDB.

The WiFi adapter is a QAWF01A which looks identical to the KZW-W002, at least as far as form factor goes.

I know this project wasn’t specifically designed for North American units, I’m just wondering if there’s anybody who has any experience with it.

Yep. It is not possible in hon protocol either. There maybe a way to do it through IR remote protocol. But I can’t find any documentation about this feature so far. Or remote that supports it.

Hi Mauro,

I am afraid, it is not easy to help you remotely. Config and a way of flashing depends on your hardware. I would recommend you to take a board with USB something like this M5Stamp C3U Mate with Pin Headers | m5stack-store so you can flash it without USB to TTL converter. Example of config for M5Stamp C3U, you can find here haier-esphome/docs/usb_2_uart_boards.rst at ab6789c2caf7f4d9df2ac1ca3147e7f9ba1937f1 · paveldn/haier-esphome · GitHub

Hi @MRobi
Of course, I can’t promise anything, but I had successful integration for AC with SmartHQ together with one colleague in Mexico. SO I suppose protocol should be the same. But maybe it will require some tuning. Let me know if you need help with this. By the way you can use this controller through USB AtomS3U ESP32S3 Development Kit with USB-A | m5stack-store in this case you don’t need to make any special cable. Example of config is here:
haier-esphome/docs/usb_2_uart_boards.rst at ab6789c2caf7f4d9df2ac1ca3147e7f9ba1937f1 · paveldn/haier-esphome · GitHub

Hi and thanks for work and help to me i have this on board ac

then i found a right male connector and soldering a mini d1 to +5 GND and inverted RX TX from ac board to D1 8266

flashed esphome and upload this configuration right??

i don’t think support Hon or i can try?

Hi,

Config is really depend on your hardware. If you will take another board or solder connector to another pins you need to change config. I would recommend to start with hOn protocol especially if you have relatively new AC (less than 3 years old).

no @paveldn is really old about 10 year ago so i’m suprise that have this connector on board

so now i upload the conf and whit surprise WORK! so if you can help me this i try

Status was OK - i see internal TEMP
Mode change was OK
Fan work low medium high
Display switch not change so i hear BEEP but display still ON
My AC have orizzontal and vertical Swing motorized but if i try to change nothing do

in the log of esp i see this

[10:23:58][D][haier.protocol:019]: Sending frame: type 01, data: 4D 01
[10:23:58][D][haier.protocol:019]: Frame found: type 02, data: 6D 01 00 18 26 00 00 00 26 00 00 00 00 03 00 02 00 00 08 00 00 00 00 00 00 08
[10:23:58][D][haier.protocol:019]: Answer delay 76ms
[10:23:58][D][haier.climate:540]: HVAC Mode = 0x3
[10:23:58][D][haier.climate:541]: Fan speed Status = 0x2
[10:23:58][D][haier.climate:542]: Horizontal Swing Status = 0x0
[10:23:58][D][haier.climate:543]: Vertical Swing Status = 0x0
[10:23:58][D][haier.climate:544]: Set Point Status = 0x8
[10:24:03][D][haier.protocol:019]: Sending frame: type 01, data: 4D 01
[10:24:03][D][haier.protocol:019]: Frame found: type 02, data: 6D 01 00 18 26 00 00 00 26 00 00 00 00 03 00 02 00 00 08 00 00 00 00 00 00 08
[10:24:03][D][haier.protocol:019]: Answer delay 72ms
[10:24:03][D][haier.climate:540]: HVAC Mode = 0x3
[10:24:03][D][haier.climate:541]: Fan speed Status = 0x2
[10:24:03][D][haier.climate:542]: Horizontal Swing Status = 0x0
[10:24:03][D][haier.climate:543]: Vertical Swing Status = 0x0
[10:24:03][D][haier.climate:544]: Set Point Status = 0x8
[10:24:05][D][haier.climate:117]: WiFi signal is: -61dBm => 52%
[10:24:05][D][haier.protocol:019]: Sending frame: type F7, data: 00 00 00 34
[10:24:05][D][haier.protocol:019]: Frame found: type 03, data: 00 00
[10:24:05][D][haier.protocol:019]: Answer delay 55ms
[10:24:05][W][haier.protocol:013]: Answer handler error, msg=F7, answ=03, err=7

i can change sometingh or i can try Hon protocol??

thank’s for help!!

Hi there i’m interested in this integration for a couple of Haier AC unit i have.
I still have to check my exact model to see if i have a connector.
I was wondering how this is going to work with the remote? Is it possible with home assistant to lock the functions of the AC?

I was also thinking about totally remove the use of IR remote and place a presence sensor to decide whether the ac unit should be on. (OT: in that case do you know a good presence sensor i can use via mqtt?)

Glad it worked. No if it so old it will not work with hOn. It is much newer protocol.

Not directly. Remote is working independently of serial protocol. But you can write a automation in Home Assistant. Something like if temperature is lower than 20 put 20. etc. There is a way to lock remote in protocol but it can be unlocked with the remote :smile: so it is not reliable. Also you can try to physically disconnect (or block) IR receiver.

You can do it anyway you want. You scenario is possible

1 Like

ok thanks i just had the chance to view the correct model of my indoor unit. It is an Haier TUNDRA AS18TD2HRA. And it seems it doesn’t support the “wifi module”. :frowning:

Never say never. I checked documentation for your AC and it looks like it have CN34 connector that usually used for WiFi module so there is a chance that you can make it work. But of course you will need to make a cable to connect it. You can check this post with drawings ESP Haier: Haier Air Conditioner + ESP Home + Wemos D1 mini - #745 by paveldn

Think that in my case my ac don’t have any usb and any module but i see connector on the board with +5 GND RX TX and work! my AC about 2010 year!

So check and try!

1 Like

Wow many thanks!! Can you please link me that documentation? On the manual i found there were no schematics :sob:

EDIT: I think i found it instrukcja-serwisowa-tundra-as18td2hra.pdf

1 Like

Yes I found the same one

1 Like

That sounds promising, thank you for the input! The M5Stack usb stick looks like the way to go for sure! Just so I’ve got my mind wrapped around it, the ESPHome programmed stick takes the place of the Haier usb and communicates directly with the AC? There’s no messing around with internal boards or anything like I see in some of the other posts on here?

Yes that is right. For some boards (like the one we discussed) we can use USB as UART and in this case you can use it directly with AC.

1 Like

Just for confirmation, is the PCB itself that will power the ESP device and i don’t need another usb cable to power the ESP?
I should use PIN VIN and GND for 5v GND on the PCB?

Yes, exactly

1 Like

i have a old haier that not come white usb or other IoT but on the board i found the connector and work!