Files
midea-meiju-codec/README.md

81 lines
2.9 KiB
Markdown
Raw Normal View History

2025-09-17 23:24:56 +08:00
# Midea Auto Cloud
2025-10-21 16:01:48 +08:00
[![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg)](https://github.com/hacs/integration)
[![Stable](https://img.shields.io/github/v/release/sususweet/midea-meiju-codec)](https://github.com/sususweet/midea-meiju-codec/releases/latest)
2025-10-28 22:58:02 +08:00
English | [简体中文](README_hans.md)
2025-10-21 16:01:48 +08:00
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
2025-10-31 22:47:43 +08:00
- T0x15 Water Heater
2025-10-21 16:01:48 +08:00
- T0x21 Central Air Conditioning Gateway
- T0x26 Bath Heater
2025-10-27 23:05:30 +08:00
- T0x3D Water Heater
- T0x9B Steam oven
2025-11-02 16:01:38 +08:00
- T0x9C Integrated Gas Stove
2025-10-21 16:01:48 +08:00
- 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
2025-11-07 01:08:38 +08:00
- T0xCD Air Energy Water Heater
2025-10-21 16:01:48 +08:00
- T0xCE Fresh Air System
- T0xCF Central Air Conditioning Heating
- T0xD9 Twin Tub Washing Machine
- T0xDA Impeller Washing Machine
- T0xDB Cylinder Washing Machine
2025-10-21 16:01:48 +08:00
- T0xDC Clothes Dryer
- T0xE1 Dishwasher
- T0xE2 Electric Water Heater
- T0xE3 Constant Temperature Gas Water Heater
- T0xEA Rice Cooker
- T0xED Water Softener
- T0xFA Electric Fan
2025-10-22 16:01:20 +08:00
- T0xFB Electric Heater
2025-10-21 16:01:48 +08:00
- 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:
2025-09-24 23:31:31 +08:00
2025-10-11 14:21:11 +08:00
![img.png](./img/img.png)
2025-09-24 23:31:31 +08:00
2025-10-21 16:01:48 +08:00
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.
2025-09-24 23:31:31 +08:00
2025-10-21 16:01:48 +08:00
Then go to the Home Assistant installation directory, find the device's corresponding T_0000_`Device type`_`Subtype`_***.lua file in the `.storage/midea_auto_cloud/lua/` directory, and wait for adaptation.
2025-10-11 14:21:11 +08:00
![img_1.png](./img/img_1.png)
2025-09-24 23:31:31 +08:00
2025-10-21 16:01:48 +08:00
## Entity Mapping
2025-09-17 23:24:56 +08:00
2025-10-21 16:01:48 +08:00
Mapping files are located under `device_mapping`, with one mapping file for each major category. Currently supported entity types for mapping are:
2023-09-09 01:30:33 +08:00
- sensor
- binary_sensor
2023-09-10 12:27:08 +08:00
- switch
- select
- climate
- fan
- water_heater
2023-09-04 12:42:16 +08:00
2025-10-21 16:01:48 +08:00
The example configuration `22012227` demonstrates how to map device attributes to various Home Assistant entities above.
2023-09-10 12:30:48 +08:00
2025-10-21 16:01:48 +08:00
## Acknowledgments
2025-09-28 21:09:18 +08:00
2025-10-28 22:58:02 +08:00
Thanks to the [midea-meiju-codec](https://github.com/MattedBroadSky/midea-meiju-codec) project for providing prior knowledge.