Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

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.

⭐If this component is helpful for you, please star it, it encourages me a lot.

❗Note: Home Assistant 2022.5 or higher required for this integration

Supported brands

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

And more.

Supported appliances

TypeNameDocuments
13Light13.md
26Bathroom Master26.md
34Sink Dishwasher34.md
40Integrated Ceiling Fan40.md
A1DehumidifierA1.md
ACAir ConditionerAC.md
B0Microwave OvenB0.md
B1Electric OvenB1.md
B3Dish SterilizerB3.md
B4ToasterB4.md
B6Range HoodB6.md
BFMicrowave Steam OvenBF.md
C2ToiletC2.md
C3Heat Pump Wi-Fi ControllerC3.md
CARefrigeratorCA.md
CCMDV Wi-Fi ControllerCC.md
CDHeat Pump Water HeaterCC.md
CEFresh Air ApplianceCE.md
CFHeat PumpCF.md
DATop Load WasherDA.md
DBFront Load WasherDB.md
DCClothes DryerDC.md
E1DishwasherE1.md
E2Electric Water HeaterE2.md
E3Gas Water HeaterE3.md
E6Gas StoveE6.md
E8Electric Slow CookerE8.md
EAElectric Rice CookerEA.md
ECElectric Pressure CookerEC.md
EDWater Drinking ApplianceED.md
FAFanFA.md
FBElectric HeaterFB.md
FCAir PurifierFC.md
FDHumidifierFD.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.

Add device

❗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

❗Note: During the configuration process, you may be asked to enter your Midea account and password. It's necessary to retrieve appliance information (Token and Key) from Midea cloud server. After all appliances configured, you can remove the Midea account configuration without affecting the use of the appliance.

After the account is configured, Click 'ADD DEVICE' once more to add new device. You could repeat the above action to add multiple devices.

Discover automatically

Using this option, the component could auto-discover and list Midea M-Smart appliances in network or specified IP address, select one and add it in.

You can also use an IP address to search within a specified network, such as 192.168.1.255.

❗Note: Discovery automatically 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.

Configure 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

List all appliances only

Using this option, you can list all discoverable Midea M-Smart devices on the network, along with their IDs, types, SNs, and other information.

❗Note: For certain reasons, not all supported devices may be listed here.

Configure

Configure can be found in Settings -> Devices & Services -> Midea AC LAN -> Devices -> CONFIGURE. You can re-set the IP address when device IP changed. You can also add extra sensor and switch entities or customize your own device.

IP address

Set the IP address of device. You can reset this when your device IP is changed.

Refresh interval

Set the interval for actively refreshing the status of a single device (the unit is second) (30 by default and 0 means not refresh actively) Mostly the status update of Midea devices relies on the active information notification of the device, in which condition the status update in HA still works normally even if the refresh interval is set to be “0”. This component will also actively query the device status at regular intervals, and the default time is 30 seconds. Some devices do not have active information notifications when their status changed, so synchronization with the status in HA will be slower. If you are very concerned about the synchronization speed of the status, you can try to set a shorter status refresh interval.

❗Note: shorter refresh interval may mean more power consumption

Extra sensor and switch entities

After configuration, one of few main entity (e.g. climate entity) may be generated . 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 types of device have their own configuration items, if your device does not work properly, you may need to customize it. Refer to the device documentation for specific information.

The format of customizations must be JSON.

If multiple customization items need to be configured, the settings must comply with the JSON format.

Example

{"refresh_interval": 15, "fan_speed": 100}

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

关于 About

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

语言 Languages

Python100.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
0
Total Commits
峰值: 1次/周
Less
More

核心贡献者 Contributors