midea_ac_lan
midea_ac_lan copied to clipboard
Auto-configure and then control your Midea M-Smart devices (Air conditioner, Fan, Water heater, Washer, etc) via local area network.
Midea AC LAN
English | 简体中文
Control your Midea M-Smart appliances via local area network.
- Automated device discover and configuration based HA 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.
Supported Appliances
Type | Name | Documents |
---|---|---|
AC | Air Conditioners | AC.md |
CC | AC Control Panels | CC.md |
DA | Top Load Washers | DA.md |
DB | Front Load Washers | DB.md |
DC | Clothes Dryers | DC.md |
E1 | Dishwashers | E1.md |
E2 | Electric Water Heaters | E2.md |
E3 | Gas Water Heaters | E3.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 HomeAssistant manually.
Restart HomeAssistant.
Configuration
After installation, search and add component Midea AC LAN in HomeAssistant integrations page.
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.
Automatic configuration requires your appliances and your Home Assistant must be in the same sub-network. Otherwise, devices cannot 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).
Debug
Turn on the debug log out,config in configuration.yaml
logger:
default: warn
logs:
custom_components.midea_ac_lan: debug