Midea Air Conditioner Api ⭐ Works 100%
| Type ID | Function | Values (range/options) | |---------|----------------|--------------------------------------| | 0x00 | Power | 0=off, 1=on | | 0x01 | Mode | 0=auto, 1=cool, 2=dry, 3=fan, 4=heat| | 0x02 | Target temp | 16–31°C | | 0x03 | Fan speed | 0=auto, 1=low, 2=mid, 3=high | | 0x04 | Swing (up/down) | 0=off, 1=vertical, 2=horizontal, 3=both| Using the midea-ac-py library:
"type": 0x02, "value": 24
"type": 0x00, "value": 0x01
// Set temperature to 24°C
Full capability list (reverse-engineered): midea air conditioner api
from midea_ac.device import AirConditioner ac = AirConditioner( device_ip="192.168.1.100", device_id="1234567890", lan_key="your_lan_key_from_cloud" ) | Type ID | Function | Values (range/options)