Hi everyone, I’ve been “working” on a custom local Home Assistant integration for Haier air conditioners that communicates directly with the AC over the local network, without relying on the cloud.
This project is based on the “reverse engineering” work from the official SmartAir2 (not hOn) mobile app and the excellent Homebridge implementation (haier-ac-remote/packages/homebridge-haier-ac at master · bstuff/haier-ac-remote · GitHub)
So far the integration supports:
Turn the AC ON (currently in Cool mode)
Turn the AC OFF
Set the target temperature
Control the fan speed
Fully local communication (no cloud dependency, usernames or password)
In my testing, the integration has been some sort of stable, and I haven’t encountered any significant bugs so far.
During testing… Sometimes… it needs more than one press (Home Assistant, Developer Tools, Actions)
This was written in python and was done with the help of ChatGPT, since my knowledge of any kind of programming language is almost zero.
This is still an early work in progress, and since i have a regular job and this is not a priority it can take a while, but the foundation is working well.
The goal now is to share this, so this can be look in to it for someone with more knowledge than me.
I’m sharing this to see if there is interest from other Haier (SmartAir2) users and to gather feedback. If you own a compatible Haier AC and would be interested in testing, I’d love to hear from you.
Contributions, testing, and suggestions are all welcome. Hopefully, this can become a solid local alternative for anyone who prefers keeping their smart home independent of cloud services.
Just copy the folder to the custom_integration and do not forget to change IP and MAC address in the file “climate.py”
Please feel free to share this and create another post, i just want this to work well
EDIT: also don’t forget to add this to the folowoing to the configuration.yaml
climate:
- platform: haier_local
ip: your.ip
mac: “mac.address”
unique_id: HaierAC_01
