MIDEA integration

@guim31 I’m stuck on the configuration of my Comfee dehumidifier.

The search returns

I think it’s missing a key, but from the Smarthome app I’m using, I can’t find where to get it. Has anyone managed to connect their device?

Hi @guim31
Could you try making the “error” message red?
Thanks in advance :wink:

@JKBS64 the key is not retrieved in the app: it’s the integration that requests it from the Midea cloud, and public accounts don’t know about your dehumidifier. In the integration’s Configuration tab, select SmartHome in « Cloud Application », enter your SmartHome account’s email and password in « Cloud Account » and « Password for this account », save, then restart « Search for air conditioners ». Let me know how it goes!

@mutmut good idea: in the next version, the search will be displayed in red when no device responds.

It reassures me what I understood at the beginning before I searched in the cloud without success.

So I entered my Smarthome credentials and saved the configuration, and I get from Gladys:

A recent air conditioner (V3) has no key: the Midea cloud could not provide it. Relaunch “Search for air conditioners” or check the cloud settings.

Then I tested the device via the IP address and I get this message, it apparently does not receive the key:

Report below, WITH credentials, serial numbers and complete local addresses: do not publish it (the logs only keep the masked version). It never contains a token, key or password.

Midea unit test
Generated: 2026-11-15T14:28:50.640Z
Integration version: 1.3.1 (Node v24.22.1)
WARNING: this report shows full ids, serial numbers and local addresses: do not post it publicly. No token, key nor password.

Dehumidifier C8BA (dehumidifier 0xA1, V3, model 00000Q1A)
id 142936511692899, serial 000000P0000000Q1AC93C4ECC8BA0000, address 192.168.1.196:6444
added to Gladys: no, keys: missing (cloud)
answering: not yet, last read never, failures in a row: 0
last error: no key for Dehumidifier C8BA
capabilities answered: no, summary: -
state: -
energy: -, humidity: -

Reading the unit now (queries only, no command)
skipped: this V3 unit has no token and key yet (see “keys” above)

@JKBS64 thanks for the report. The cloud rejects the key, but the report doesn’t say why: password refused, unknown account, or device not in the account. The next version will write it in the report, I’ll let you know as soon as it’s online. In the meantime, check that the email entered is the one with which the dehumidifier appears in your SmartHome app.