Midea matter support issue

Is anyone else having issues with their midea matter supported air conditioners? The fan mode barely works for me. The air conditioner always starts up in ECO mode and I would like to have the fan mode change, but it just spins and doesn’t work. I think it worked once with one of my air conditioners. The other commands work fine. Thoughts?

Delete the device and add it back.

I have 5 devices and all of them have the same issue.

I have 5 devices and all of them have the same issue.

Have you tried deleting one of them and adding it back?

Yes I did.

We could have a look at the driver logs…

You’d have to download the SmartThings CLI and execute the following command:

smartthings edge:drivers:logcat

When it asks you to select a driver, choose Matter Thermostat. Then switch the fan mode in the app and post the output of the CLI here.

How do I change my hub selection? It defaults to my old wifi hub, not the station which manages the matter devices?

Find out the IP address of your hub and then:

smartthings edge:drivers:logcat --hub-address=<IP>

Example:

smartthings edge:drivers:logcat --hub-address=192.168.1.123

Thanks! Here are the logs:

2025-06-09T15:27:48.782107371-04:00 TRACE Matter Thermostat  Received event with handler capability
2025-06-09T15:27:48.790108658-04:00 INFO Matter Thermostat  <MatterDevice: 343bbfb5-e7bd-47b6-8937-18a0926429d5 [DCC8C6C12416DDB8-3A3D26703154CFF7] (Air Conditioner)> received command: {"args":{"mode":"on"},"capability":"thermostatFanMode","command":"setThermostatFanMode","component":"main","named_args":{"mode":"on"},"positional_args":["on"]}
2025-06-09T15:27:48.794101176-04:00 TRACE Matter Thermostat  Found CapabilityCommandDispatcher handler in matter-thermostat
2025-06-09T15:27:48.795896972-04:00 INFO Matter Thermostat  <MatterDevice: 343bbfb5-e7bd-47b6-8937-18a0926429d5 [DCC8C6C12416DDB8-3A3D26703154CFF7] (Air Conditioner)> sending InteractionRequest: <InteractionRequest || type: WRITE, info_blocks: [<InteractionInfoBlock || endpoint: 0x01, cluster: FanControl, attribute: FanMode, data: FanModeEnum: ON>]>
2025-06-09T15:27:48.810067166-04:00 DEBUG Matter Thermostat  Matter Thermostat device thread event handled
2025-06-09T15:27:53.854571714-04:00 TRACE Matter Thermostat  Received event with handler matter
2025-06-09T15:27:53.857629429-04:00 INFO Matter Thermostat  <MatterDevice: 343bbfb5-e7bd-47b6-8937-18a0926429d5 [DCC8C6C12416DDB8-3A3D26703154CFF7] (Air Conditioner)> received InteractionResponse: <InteractionResponse || type: WRITE_RESPONSE, response_blocks: [<InteractionResponseInfoBlock || status: FAILURE, <InteractionInfoBlock || endpoint: 0x01, cluster: FanControl, attribute: FanMode>>]>
2025-06-09T15:27:53.863959715-04:00 DEBUG Matter Thermostat  Matter Thermostat device thread event handled
1 Like

Click on the three dots on the device card → information and post a screenshot.

I want to check if your device supports the FanControl cluster, if the endpoint is correct and if it accepts on as a value.

Screenshot:

Weird. What’s the name of the model?

Edit: probably this one:

No compliance document available…

https://www.costco.com/midea-u-shaped-12k-btu-window-air-conditioner.product.4000104274.html

No Matter compliance document available.

Looks like the device only accepts auto, high, medium and low, but not on or off. Matter FanMode enum values include: off (0), low (1), medium (2), high (3), on (4), auto (5) and smart (6).

Login here, select the device, take screenshots from the summary, attributes and commands sections.

I think I found the issue. The driver is very lazy when figuring out the supported fan modes:

-- Thermostat
    -- Our thermostat fan mode control is probably not granular enough to handle the supported modes here well
    -- definitely meant for actual fans and not HVAC fans
    if ib.data.value >= clusters.FanControl.attributes.FanModeSequence.OFF_LOW_MED_HIGH_AUTO and
      ib.data.value <= clusters.FanControl.attributes.FanModeSequence.OFF_ON_AUTO then
      device:emit_event_for_endpoint(ib.endpoint_id, capabilities.thermostatFanMode.supportedThermostatFanModes(
        {capabilities.thermostatFanMode.thermostatFanMode.auto.NAME, capabilities.thermostatFanMode.thermostatFanMode.on.NAME},
        {visibility = {displayed = false}}
      ))
    else
      device:emit_event_for_endpoint(ib.endpoint_id, capabilities.thermostatFanMode.supportedThermostatFanModes(
        {capabilities.thermostatFanMode.thermostatFanMode.on.NAME},
        {visibility = {displayed = false}}
      ))
    end

It only knows/handles devices with auto and on or just on. Your device only accepts auto, low, medium, high.

Matter thermostat driver issue…

1 Like

How can we get the driver updated?

Just submitted an issue (bug report) a minute ago.

Maybe @nayelyz or @Itati can do something about it.

1 Like

Thank you all!

Hi, @Wajo357, @Andreas_Roedl
Thank you for providing all of these details. I shared your case with the engineering team and will let you know once I get their feedback.

2 Likes

Thank you so much!