Yingqi Tang 6129248fed Merge pull request #41 from happyhaha1/master
feat(lua): enhance runtime environment with resilient module loading
2025-10-31 22:54:17 +08:00
2025-10-11 14:21:11 +08:00
2023-09-02 15:41:00 +08:00
2025-10-14 20:29:35 +08:00
2025-10-11 14:59:16 +08:00
2025-09-17 23:31:27 +08:00
2023-09-02 15:41:00 +08:00
2025-10-31 22:47:43 +08:00

Midea Auto Cloud

hacs_badge Stable

English | 简体中文

Get devices from MSmartHome/Midea Meiju homes through the network and control them via Midea's cloud API.

  • Automatically discover and find devices
  • Automatically download device protocol files
  • Update device status to visible device attributes

Version Notes

  • All devices can generate a binary sensor named "Status" by default, which lists all accessible device attributes in its properties (some values are not settable)
  • The first few items of the Status entity list the device classification information for reference

Currently Supported Device Types

  • T0x13 Electric Light
  • T0x15 Water Heater
  • T0x21 Central Air Conditioning Gateway
  • T0x26 Bath Heater
  • T0x3D Water Heater
  • T0xA1 Dehumidifier
  • T0xAC Air Conditioner
  • T0xB2 Electric Steamer
  • T0xB3 Disinfection Cabinet
  • T0xB6 Range Hood
  • T0xB7 Gas Stove
  • T0xB8 Smart Robot Vacuum
  • T0xCA French Door Refrigerator
  • T0xCC Central Air Conditioning (Ducted) Wi-Fi Controller
  • T0xCE Fresh Air System
  • T0xCF Central Air Conditioning Heating
  • T0xD9 Twin Tub Washing Machine
  • T0xDB Front Load Washing Machine
  • T0xDC Clothes Dryer
  • T0xE1 Dishwasher
  • T0xE2 Electric Water Heater
  • T0xE3 Constant Temperature Gas Water Heater
  • T0xEA Rice Cooker
  • T0xED Water Softener
  • T0xFA Electric Fan
  • T0xFB Electric Heater
  • T0xFD Humidifier

Welcome to collaborate on adding support for more devices.

Collaboration method: After adding this plugin, find devices that are not correctly identified, click on Connectivity under the Sensor category of the corresponding device:

img.png

Expand the Attributes card below and submit these fields with the issue. Pay special attention to the Device type and Subtype fields, as these are the basis for obtaining the corresponding lua files for device control.

Then go to the Home Assistant installation directory, find the device's corresponding T_0000_Device typeSubtype***.lua file in the .storage/midea_auto_cloud/lua/ directory, and wait for adaptation.

img_1.png

Entity Mapping

Mapping files are located under device_mapping, with one mapping file for each major category. Currently supported entity types for mapping are:

  • sensor
  • binary_sensor
  • switch
  • select
  • climate
  • fan
  • water_heater

The example configuration 22012227 demonstrates how to map device attributes to various Home Assistant entities above.

Acknowledgments

Thanks to the midea-meiju-codec project for providing prior knowledge.

Description
No description provided
Readme Apache-2.0 2 MiB
Languages
Python 100%