homeassistant-midea-air-appliances-lan icon indicating copy to clipboard operation
homeassistant-midea-air-appliances-lan copied to clipboard

Auto discovery not working for multiple AC Units

Open starrateit opened this issue 1 year ago • 7 comments

Hi there,

I can get a single Air conditioner to work by manually capturing the IP address but then it doesn’t allow me to have more than one, when I then change the IP addres to my second AC unit it then breaks the first one and the second one now starts to work.

Can you please share or advise on the manual yaml configuration / example syntax in the configuration.yaml to capture multiple units in the main config yaml file with each device name and IP and I would assume this would then allow your integration to see all my AC units at the same time.

Currently it only shows “ Appliance 1 of 1” in the GUI where I can only capture 1 devices IP, and can still successfully switch between them, if I change the IP in the GUI.

starrateit avatar Nov 28 '23 20:11 starrateit

I have exactly the same problem. Got a second dehumidifier and now I am struggling to add it to HA. Any ideas on that?

eltomato89 avatar Dec 18 '23 10:12 eltomato89

Can you provide debug logs as described in troubleshooting. I no longer have access to AC units, so I'm unable to test it without logs.

nbogojevic avatar Jan 26 '24 13:01 nbogojevic

absolutely! what do you need / where can I get it?

eltomato89 avatar Jan 29 '24 15:01 eltomato89

If there are problems while using integration setup, an advanced debug logging can be activated via Advanced settings page.

Once activated, logs can be see by clicking at:

Select Load Full Home Assistant Log to see all debug mode logs.

Debug logging can be activated without going through setup process:

On entry page, paste following content:

service: logger.set_level
data:
    custom_components.midea_dehumidifier_lan: DEBUG
    midea_beautiful: DEBUG

It is possible to activate debug logging on Home Assistent start. To do this, open Home Assistant's configuration.yaml file on your machine, and add following to logger configuration:

logger:
  # Begging of lines to add
  logs:
    custom_components.midea_dehumidifier_lan: debug
    midea_beautiful: debug
  # End of lines to add

Home Assistant needs to be restarted after this change.

HVPereira avatar Feb 16 '24 09:02 HVPereira

Same problem here! It only finds 1 out of my 3 devices :(

peregrines2 avatar Feb 21 '24 13:02 peregrines2

I managed to get it working by uninstalling the integration. When I reinstalled the integration it asked me for user and password, and then it was able to discover both devices.

erickj237 avatar Feb 21 '24 18:02 erickj237

Same, got it working by reinstalling.

eltomato89 avatar Feb 22 '24 09:02 eltomato89

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Apr 23 '24 01:04 github-actions[bot]