Any Support for Midea A/C?

Did you solve It? I have same issue :frowning:

I have the same issue

I use it with the “mac-zhou/midea-ac-py” custom integration. Not a simple job to install.
It would be nice fot HA to have a native integration with a simple setup.
After all, half the globe is using midea ACs.

This intergration is a simple installation via HACS

That installation can be done easy, by the HACS repository

I remember I strugled to get the API token…

hi, I really like your graphics for the midea entity
Could I have it if possible?
thank you very much

Hi!

I have been working on adding support for Midea A/C into my custom component for Midea air quality appliances:

https://github.com/nbogojevic/homeassistant-midea-air-appliances-lan

It is similar to (and inspired by MacZhou’s one), with primary difference is that it automatically discovers appliances, without the need to go through command line tool. It also exposes few more switches and sensors to control and monitor A/C, can also do both local and cloud based access, and it supports dehumidifier appliances also.

While dehumidifier part is well tested, current support for A/C is “beta” level, and if anyone is interested of testing it, I’d appreciate any feedback.

Note: A/C support needs to be activated at Advanced settings page during integration installation.

Hello, i’ve tried it. they recognize my AC name (i have 2) but the connexion seems impossible :face_with_raised_eyebrow:

Hi, thanks a lot for your work.

In the last hours I’ve started with homeassistant and connecting my devices, and I’ve stumbled with this post while trying to configure my Giatsu / Midea AC.

I’ve tried your component but i get the a error: it finds the device and its SN and ID, but it says it’s unreacheable even if i give the module the AC’s address.

What has worked for me:

Steps:

Install from HACS. The name you are looking for is Midea Smart Aircon, don’t confuse with others with similar names.

With it installed, we have to edit the configuration.yaml file. (Tutorial here: Advanced Configuration - Home Assistant)

We add this lines:

climate:
  - platform: midea_ac
    host: 192.168.1.100
    id: 123456789012345

There’s a guide on how to get the id in the github link.

If anyone has any doubt I’ll be happy to share my experience.

1 Like

H @trevee , thanks for testing it. Is the error same for both appliances and is there something in Home assistent logs?

If you would be interested in testing it more, could you come over at :

nbogojevic/homeassistant-midea-air-appliances-lan: This Home Assistant custom component adding support for controlling Midea air conditioners and dehumidifiers on local network. (github.com)

Hello,

I just disconnected one AC appliance in order to test it. I will test and give you the log if any problem

I tried with only one appliance but same problem

I let by default the id app key and mobile but not working…

I m not able to install the integration so no log for the moment in HA

here are the log :face_with_raised_eyebrow:

Logger: aiohttp.server
Source: custom_components/midea_dehumidifier_lan/config_flow.py:736
Integration: Midea Air Appliances (LAN) (documentation, issues)
First occurred: 13:19:11 (1 occurrences)
Last logged: 13:19:11

Error handling request

Traceback (most recent call last): File “/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py”, line 435, in _handle_request resp = await request_handler(request) File “/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py”, line 504, in _handle resp = await handler(request) File “/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py”, line 117, in impl return await handler(request) File “/usr/src/homeassistant/homeassistant/components/http/security_filter.py”, line 60, in security_filter_middleware return await handler(request) File “/usr/src/homeassistant/homeassistant/components/http/forwarded.py”, line 98, in forwarded_middleware return await handler(request) File “/usr/src/homeassistant/homeassistant/components/http/request_context.py”, line 28, in request_context_middleware return await handler(request) File “/usr/src/homeassistant/homeassistant/components/http/ban.py”, line 78, in ban_middleware return await handler(request) File “/usr/src/homeassistant/homeassistant/components/http/auth.py”, line 181, in auth_middleware return await handler(request) File “/usr/src/homeassistant/homeassistant/components/http/view.py”, line 137, in handle result = await result File “/usr/src/homeassistant/homeassistant/components/config/config_entries.py”, line 192, in post return await super().post(request) File “/usr/src/homeassistant/homeassistant/components/http/data_validator.py”, line 62, in wrapper result = await method(view, request, *args, **kwargs) File “/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py”, line 71, in post result = await self._flow_mgr.async_init( File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 203, in async_init flow, result = await task File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 230, in _async_init result = await self._async_handle_step(flow, flow.init_step, data, init_done) File “/usr/src/homeassistant/homeassistant/data_entry_flow.py”, line 325, in _async_handle_step result: FlowResult = await getattr(flow, method)(user_input) File “/config/custom_components/midea_dehumidifier_lan/config_flow.py”, line 703, in async_step_init self._build_appliance_list() File “/config/custom_components/midea_dehumidifier_lan/config_flow.py”, line 736, in _build_appliance_list self.appliance_idx = self.indexes_to_process.pop(0) IndexError: pop from empty list


Logger: midea_beautiful.scanner
Source: /usr/local/lib/python3.9/site-packages/midea_beautiful/scanner.py:143
First occurred: 13:20:58 (1 occurrences)
Last logged: 13:20:58

Some appliance(s) where not discovered on local network: 0 discovered out of 1


Logger: midea_beautiful.scanner
Source: /usr/local/lib/python3.9/site-packages/midea_beautiful/scanner.py:163
First occurred: 13:20:58 (1 occurrences)
Last logged: 13:20:58

Unable to discover registered appliance {‘id’: ‘318xxxxxxxx947’, ‘name’: ‘Comedor’, ‘sn’: ‘000000xxxxxxxxx1A30000’, ‘type’: ‘0xAC’, ‘modelNumber’: ‘44204’}

Is there any way to set a min and max temperature?

Example:
If above 75, turn on AC and cool to 74.
If below 55, turn on HEAT and heat to 56.

Hi,

This is my first post here and I would like to thank everybody, who contributed in this integration!
I could add my Midea AC through HACS and it is working fine from lovelace.
However there is only an entity added but no device. Is that normal?
How can I create automations without the device? Is that possible somehow?
I would like to create a control loop using a separate thermometer.

Thanks,
FDR

1 Like

Hey mate,

I can add my Midea A/C unit but it only has 3 entities. I can’t turn the A/C on or off.
There is a switch called “Beep” which beeps the devices, and if I then try to change something the devices beeps but it’s not coming on. If I turn on the A/C with my remote and then try to change something with HA, the device turns off… any idea?

1 Like

Same issue here. I opened a bug ticket on the repo Temperature sensor do not update when AC is off · Issue #145 · mac-zhou/midea-ac-py · GitHub

use automations in HA for that.

same probelm