Haier AC integration

Someone can figure out how to use that in HA??

There is a repo to communicate with native wifi controller, but that is NodeJS :confused:
It could be great!

Will be very useful also for me!

I would love it too. I’m currently trying to ‘parse’ / dissect all this mess. It looks like this repository is the only help on the internet… Also mailed Haier, I didn’t expect a response :stuck_out_tongue: (haven’t got one).

It looks like not all models have the same response, or it might be that the response has changed in newer firmware (Haier Air Conditioner).

Currently have a hard time discovering which byte contains which information, and when does it change. Also because there is no documentation I have no idea if what I think I know is correct.

First need to know more about the fields, if that is clear (sort of) I want to change the states. And if that is clear, it needs to be ported from C# to python. And then… integrated into Home Assistant.

Not sure if all of this is feasible without help. I could provide a tool to connect to it and log some info, which MIGHT return some results if parsed correctly.

If anybody is interested, let me know. It’s currently programmed in C#, it’s .NET Core, so it runs on Linux/Mac also.

Well, I now made the tool we can use to try to hopefully control it.

Please, anybody having a Haier airco, and the official wifi KZW-W002, use it, and preferably some programming knowledge, run it, try to help.

All info is in Readme / link above.

Thank you very much!! I’ll try and let you know!

I have Haier AC with built in WiFi.

Unfortunately I am not able to get any data with your script:

Started!
2020-07-20 18:27:13 | AsyncTcpClient_Message | Connecting to server |
2020-07-20 18:27:13 | Haier AC Connected!
2020-07-20 18:27:31 | AsyncTcpClient_Message | Connection closed remotely |
2020-07-20 18:27:31 | ClosedCallback, closedRemotely: True
2020-07-20 18:27:31 | AsyncTcpClient_Message | Connecting to server |
2020-07-20 18:27:31 | Haier AC Connected!
2020-07-20 18:27:49 | AsyncTcpClient_Message | Connection closed remotely |
2020-07-20 18:27:49 | ClosedCallback, closedRemotely: True
2020-07-20 18:27:49 | AsyncTcpClient_Message | Connecting to server |
2020-07-20 18:27:49 | Haier AC Connected!
2020-07-20 18:28:06 | AsyncTcpClient_Message | Connection closed remotely |
2020-07-20 18:28:06 | ClosedCallback, closedRemotely: True
2020-07-20 18:28:06 | AsyncTcpClient_Message | Connecting to server |
2020-07-20 18:28:06 | Haier AC Connected!

@Michal_Trawka Ahh, looks like I didn’t respond yet. Yes, the newest firmware (2.5.14) stops sending anything… So I need like a ‘hello’ of ‘init’ command, or maybe ‘polling’ is the same command.

I’ve already tried to calculate CRC16 low and high, but is wasn’t good, and didn’t have more time to check. It would be nice if it works with everything official (also).