External integration - Midea (air conditioners, local)

Hi everyone! :waving_hand:

Another climate giant: Midea. You can find it under its own brand, but also at Comfee, Carrier, some Toshiba ranges… If your air conditioner is configured in the SmartHome / MSmartHome or NetHome Plus app, there’s a good chance it will work with this integration, locally.

What it does

  • One air conditioning unit per unit, with only what it claims to know how to do:
    • on/off, mode, setpoint to the half-degree, ventilation, oscillation;
    • indoor and outdoor temperatures;
    • eco, turbo, night modes;
    • consumption and humidity, when the unit provides them.
  • Automatic search for units on the network, or their IP address.
  • Two triggers: « clean filter » and « unit error » (with its code).
  • A scene action: set the air conditioner (mode, setpoint, and ventilation all at once).
  • A « Air Conditioner » widget: temperatures, on/off, setpoint +/− and a « Mode and Ventilation » button.
  • In French, English, German, and Spanish.

The cool thing

30 °C outside and no one at home → pre-cool the room one hour before returning
Filter to clean → small reminder on Saturday morning
Unit error → notification with the code

Installation

:warning: Gladys 5.2 minimum (for the « Mode and Ventilation » button of the widget).

It will arrive in the store at the next indexer pass. In the meantime: Integrations → Install from GitHub, with GitHub - guim31/gladys-midea: Midea air conditioners and rebrands for Gladys Assistant, over the local network · GitHub

  1. Start the search, or enter the IP address of your units.
  2. Discovery tab: add them.

Recent air conditioners (« V3 ») need a key that Midea keeps in its cloud. The integration retrieves it only once, like the free libraries that inspire it, then everything happens locally.

Honest small reservations

  • Developed without the hardware: the protocol was verified frame by frame against the reference library (msmart-ng), but nothing ran on a real air conditioner. Your feedback is welcome :folded_hands:
  • Dehumidifiers and other Midea devices are not managed: only air conditioners.

It relies on msmart-ng and midea-local (MIT): thanks to their authors! Like the previous ones, developed with Claude Code. Independent project, not affiliated with Midea.

Repository: GitHub - guim31/gladys-midea: Midea air conditioners and rebrands for Gladys Assistant, over the local network · GitHub