Integration with Haier HoN app

It works!

Now find out to make automation that sends airco to the right mode…

I love this integration! Waited for 2 years :slight_smile:

OUPS, Yes it’s a bug, I will fix it today!

1 Like

I’ve updated the fix. You can download the new version

Thanks all for the great comments :slight_smile:
Please share details about your tested configuration, I will update them in the README file

Great!
I have 1x AS35PBAHRA and 2x AS25PBAHRA as multi-split.

For me only 2 things and I will have everything :smiley:

  1. Possibility to set screenDisplayStatus - I have one unit in bedroom and leds are too bright to sleep.
  2. Sleep (Silent) preset mode

I just checked some basic documentation and looks like first point is not easy to achieve via climate entity… so probably I will hardcode that somehow if mac is the bedroom unit.
For second case it should be easy to add that based on current code base so maybe I will be able to implement that and prepare correct pull request.

I did some tests and by adding the 2 lines below in the get_command() function the climate.py file, it should do the trick for point 1:

# display is OFF
command[`screenDisplayStatus`] = `0`
# no BIP when receiving a command
command[`echoStatus`] = `1`

I will try to create services to modify these values later

2 Likes

I have 3x AS25TADHRA-2 units.
All working good!
Great Job!

Who has nice automations with AC?

I try this but its not working.
who has answer how to work?

- alias: 'Aircos aan'
  trigger:
    platform: state
    entity_id: input_boolean.aircos
    to: 'on'    

  action:
    - service: climate.set_temperature
      target:
        entity_id: climate.slaapkamer
      data:
        temperature: 22
    - service: climate.set_hvac_mode
      target:
        entity_id: climate.slaapkamer
      data:
        hvac_mode: cool

Good morning,
Thank you for this integration, big advance.

I just tested on my own, so I don’t have a Haier product or air conditioner.
I have a Candy Dryer that is controllable by HoN (CSOE C10TREX-47).

It accepts my Hon account but no entity is added.
If I can help:slight_smile:

Have a great day.

For now there is no dryer support, but you can try to implement it by looking at the oven code.

You’ll need to look at the dryer type code and the various sensors it has.

1 Like

Hello,

From my site something is going wrong.
When I add this integration to HA, after configuration (it means username and password from hOn) and of course restart of HA, I have a log information like this:


Logger: homeassistant.config_entries
Source: custom_components/hon/hon.py:138
Integration: hOn
First occurred: 16:56:15 (1 occurrences)
Last logged: 16:56:15

Error setting up entry .... for hon
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 339, in async_setup
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/hon/__init__.py", line 40, in async_setup_entry
    await hon.async_authorize()
  File "/config/custom_components/hon/hon.py", line 138, in async_authorize
    self._id_token = params["id_token"][0]
KeyError: 'id_token'

I’m sure that user and password is correct.
Can You help me?

Thanks in advance

Hello,
Great Job!
I have multi-split AS07TS5HRAх2/2U40S2SM1FA.
Working good!
There is a dry button on the remote control. When I use this mode, the air conditioner works, while the state of climate_my_ac is off
Is it possibility to add dry hvac_modes?

I’ve published a new version with 3 services for climate appliances:

  • climate_set_sleep_mode
  • climate_set_echo_mode
  • climate_set_screen_display
    @Patras3 I think you have everything you need :slight_smile:

@lmaszcz can you please retry ? the error should be more clear now

@Sergey0000001 I’ve added some INFO logs with details on current appliances. Can you please share them? We need to find a way to detect if your appliance supports the DRY option.

2 Likes

It looks like auto function is not working?
If I make automation with auto it doesn’t go to auto.

Is it possible to get this to work with my HON washing machine? I just want to be able to create a HA notification when the wash cycle is complete. Thanks!

I am curious as well about this. I don’t have a HON washing machine at the moment, but my old one broke and I’m looking at what the options for a smart washing machine are. The Hoover H-Wash 500 stands out among the smart washing machines because it’s €200 cheaper than alternatives.

It would be great to be able to turn on the washing machine automatically when solar energy production is at its highest (or rather, just before).

After update it works :grinning_face_with_smiling_eyes:

Great job.
BTW. Did you plan to do possibility to set it up night mode,silent and fast and maybe eco pilot? Same question for possibility to setup at position 1 or 2 or 3 or 4

Thanks ! The silent mode is already included via a service => hOn: Set climate sleep mode
I will add other services for the remaining options soon (at least the one supported by my unit).

I will check this today: if it works on my unit, it means that I need to send different values depending in the model (it will be complex)

Can you please dump some INFO logs ?
You need to add this in the configuration.yaml file

logger:
  logs:
    custom_components.hon: info