/midea_ac_lan

Auto-configure and then control your Midea M-Smart devices (Air conditioner, Fan, Water heater, Washer, etc) via local area network.

Primary LanguagePythonMIT LicenseMIT

Midea AC LAN

hacs_badge Donate Stable

English | 简体中文

Control your Midea M-Smart appliances via local area network.

  • Automated device discover and configuration based Home Assistant config flow UI.
  • Extra sensors and switches.
  • Synchronize status with the appliance by long TCP connection in time.

This component inspired from the repository at @mac-zhou which provides similar functionality for Midea air conditioners. This component include verbatim or adapted portions of the code from his great projects.

Thanks also to @NeoAcheron.

Note: Home Assistant 2022.5 or higher requied for this integration

Supported brands

beverly bugu carrier colmo comfee electrolux invertor littleswan midea netsu ProBreeze rotenso toshiba vandelo wahin

And more.

Supported appliances

Type Name Documents
A1 Dehumidifier A1.md
AC Air Conditioner AC.md
B6 Range Hood B6.md
C3 Heat Pump Wi-Fi Controller C3.md
CA Refrigerator CA.md
CC MDV Wi-Fi Controller CC.md
CE Fresh Air Appliance CE.md
CF Heat Pump CF.md
DA Top Load Washer DA.md
DB Front Load Washer DB.md
DC Clothes Dryer DC.md
E1 Dishwasher E1.md
E2 Electric Water Heater E2.md
E3 Gas Water Heater E3.md
EA Electric Rice Cooker EA.md
EC Electric Pressure Cooker EC.md
ED Water Drinking Appliance ED.md
FA Fan FA.md
FB Electric Heater FB.md
FC Air Purifier FC.md
FD Humidifier FD.md

Installation

Search 'Midea AC LAN' in HACS and install, or copy all files in custom_components/midea_ac_lan from Latest Release to your /custom_components/midea_ac_lan in Home Assistant manually.

Restart Home Assistant.

Configuration

Note: First, set a static IP address for your appliance in the router, in case the IP address of the appliance changes after set-up.

After installation, search and add component Midea AC LAN in Home Assistant integrations page.

Or click Configuration

Config automatically

This component could auto-discover and list Midea M-Smart appliances in network, select one and add it in. You could repeat the above action to add multiple devices.

Note: Automatic configuration requires your appliances and your Home Assistant must be in the same sub-network. Otherwise, devices may not be auto-discovered. Check this by yourself.

Config by IP

If auto-discover could not work, you could try to discover the appliance with the specified IP Address.

Config manually

If you already know following information, you could add the appliance manually.

  • Appliance code
  • Appliance type (one of Supported appliances)
  • IP address
  • Port (default 6444)
  • Protocol version
  • Token
  • Key

Extra sensor and switch entities

Only one main entity (e.g. climate entity) will be generated after configuration. If you want to make the attributes to extra sensor and switch entities, click CONFIGURE in Midea AC LAN integration card to choose (if your devices supported).

Customize

Some appliance need more settings (like fan), your can set the customize parameters in JSON format, see the documentation of appliance get more information.

Debug

Turn on the debug log out,config in configuration.yaml

logger:
  default: warn
  logs:
    custom_components.midea_ac_lan: debug

Support my works

If you like this integration, why do not you support my works by buying me a coffee?

Buy me a coffee