Any Support for Midea A/C?

Does anyone know how to use a remote (but local to zigbee network) temperature sensor for these? My MrCool sensors are all a nightmare (totally wrong, which makes the head unit think it’s 95 degrees in the room when it’s really 68). I need the unit to operate automatically as if it’s using a different sensor (I looked at maybe using a custom card with ambient_temperature - it seemed like it would work, but then there were nearly 0 other functions that card had).

I’ve seen some talk about using a generic themostat in configuration.yaml, but thought that seemed extremely clunky (need one for heating, one for cooling, one for drying).

I’m also fairly unfamiliar with .yaml, so I can’t create my own at this time.

Could be done with automations, but then you lose control over the device manually.

Also, I ended up buying 4 Model SLWF-01pro. I know these can have their firmware updated OTA, but am not sure how to do that (safely) without them showing as devices in ESPHOME. I can go to 192.168.4.1 to do an update, but my understanding is I’d need a bin file and don’t know how to create those.

Please don’t ask the same question in different topics. It makes answering very difficult and if others are looking for an answer, they have to read in two places. So please stay within one thread.

So here we go:
https://community.home-assistant.io/t/midea-branded-ac-s-with-esphome-without-cloud/265236/784?u=paddy0174

Looking forward to seeing your proposed solution.

Do you know how to use a remote sensor with the dongle? The MrCool head unit sensor is effectively always wrong. Can you walk me through how to do this OTA on your dongle?

I was already replying to the other thread, but you have deleted that post. :wink: Nevertheless here we go, taking your additional info from the other thread into account.

I’m not exactly sure, if you understand how HA works (sorry for saying :slight_smile: ). An automation doesn’t hinder you from manually controlling a device. But all in all you’re a bit confusing in your questions, and they do not really relate to each other. So I’ll try to rip that up a little. :smiley:

  • depending on what you want to achieve, you can use every sensor for “all” things you want. You need some readup to do, because you’re mixing frontend (represantation or view) with background work (in this case automations). You don’t need any specific card to get a sensor value, the card would only be a “visual represantation” of that sensor value in the frontend.
  • You don’t need any thermometer in config, and three of them is way to much. I honestly don’t know what you mean with thermometer in configuration.yaml (what integration you mean). But it isn’t needed anyway. :wink:
  • The firmware and ESPHome are some very different things, this is for anyother post, let’s stay with th other things for the moment.

So, after telling you how bad things are, here we go and try to find a solution. It is not meant rude, really, it is just to give you an idea where you need to do some more reading to find the optimal solution for yourself and your installation.

What I read from your questions is this: you have a MrCool unit and want to control this with HA (and the remote from the unit), based on a different temperature sensor (not from the unit). If that’s correct, you can setup an automation, that reacts on the temp sensor and does activate the climate unit.

How do you get the connection to your MrCool right now? Only with the remote from the unit? Than you need some kind of adapter, that you can flash with ESPHome and this adapter (or dongle) needs to be connected to your unit. And what you want for sure is this adapter as a device in ESPHome. As soon as you want to control things, you need to be able to “maintain” that adapter. Bugfixes, changes in behaviour, new functions, all these things need to be done in some way, and for HA and these adapters, it’s ESPHome. And just for clarification, without the adapter coming up in ESPHome, you won’t have the data in HA. So yes, you need that adapter in ESPHome. That will as well answer your question about controlling the device manually. These ESPHome firmwares work bi-directional, so if you change a setting manually at the unit, the adapter will tell that to HA, so HA knows what temp actually was set. You get the idea. :slight_smile:

My recommendation for now: Tell us what you have (what MrCool unit, what adapter, what sensors for your temp), what exactly you want to achieve (“I want to start the unit when sensor xy is under…”) and foremost how you have installed HA (platform, installation method). Then we can work out some solutions. :slight_smile:

Hi Patrick, yes, I know you meant to be rude - and so does everyone else (sorry you wanted to pass me off onto the other thread [which, PS, you weren’t replying - I watched]… deleting the other post was my attempt to comply with your authoritative-thread-border-policing, so I’m not sure why you’re being like this).

HA isn’t exactly intuitive, so forgive my “youth” on the (relatively [please compare to most other systems in terms of ease-of-use] highly complex) platform (or don’t, but I don’t see how communications like this from senior members is helping the community grow).

In order to get at the heart of things, let me break this down for you. First, we need to categorize solutions into “simple, moderate, and complex” for someone new to HomeAssistant and relatively new to coding (note: generally speaking, you should never be rude to people, and it’s only moderately acceptable to be somewhat impatient with someone who is performing under their realistic expected performance… because I’m new to home assistant - and you’ve mentioned you saw that was extremely clear from my question and attempt at asking someone for help - you really shouldn’t have been rude [potentially related, if I had kept both posts in both threads, you could have been just as toxic as you are being now, but I could have just ignored you and gone to the other thread to find some people who are more socially aware… and this wouldn’t have devolved into “Home Assistant community is toxic” perceptions on this thread]… but the thread police know best).

Let’s define them for you (from my perspective).

Simple: Relatively easy to point and click, drag and drop. All done from a UI (not having to do anything in YAML).
Moderate: Having to make minor adjustments in YAML (let’s say this is maybe limited to 3 lines of code or changing a few different entities or sensors). Maybe use BluePrints or Custom Cards.
Complex: Having to make major adjustments in YAML (let’s say this is anything over 3 lines of code).

Simple automations do interfere with ability to control things manually. A simple automation would be to control my headunit temperature entity through a service call and base that on the temperature of my sonoff sensor - but those are static. To make this dynamic (I change the temperature in one location, say a card), I’d have to move this into moderate complexity. I might even be able to handle it with a bunch of different automations and conditions, but that would probably move into at least moderate difficulty.

  • depending on what you want to achieve, you can use every sensor for “all” things you want. You need some readup to do, because you’re mixing frontend (represantation or view) with background work (in this case automations). You don’t need any specific card to get a sensor value, the card would only be a “visual represantation” of that sensor value in the frontend.

Again, having to know all the backend and frontend distinctions, knowing how they function and interrelate to one another is well beyond my experience level with HomeAssistant. This should have been super clear to you, as I’m sure it was with just about every other Senior Member. Please send me a link with the reading where it delineates how they function and work together.

  • You don’t need any thermometer in config, and three of them is way to much. I honestly don’t know what you mean with thermometer in configuration.yaml (what integration you mean). But it isn’t needed anyway. :wink:
  • The firmware and ESPHome are some very different things, this is for anyother post, let’s stay with th other things for the moment.

I’m not sure how you thought I was saying they are the same. Please clarify.

How it’s related to this post:

Also, I ended up buying 4 Model SLWF-01pro.

These are ESPHome devices that do not show up in ESPHome. I do not know why they are not showing up in ESPHome in the way that normal ESPHome devices would. I can see them in my integrations, I can see them as devices (with entities) in HA, but when I go into the ESPHome AddOn, they are not there. These are preloaded with ESPHome and configuration yaml that allows them to control various different mini splits and condensers. Their firmware can be updated, but the only “simple” way of doing that is by going to 192.168.4.1. I was hoping that the configuration yaml just needed a relatively minor modification to interface with a remote sensor - seems like that would for sure be one of the best places to start [closer to the hardware] rather than patching things together way upstream > ESPHome > HomeAssistant > HACS > Cards > Custom Cards > Custom YAML.

How do you get the connection to your MrCool right now?

I’m connecting to my MrCool units now with ESPHome and the Serge Dongles (SLWF-01pro).

what MrCool unit: MrCool DIY (4 head units, one condenser)
what adapter: 4 x SLWF-01pro (one for each head unit)
what sensors for your temp: 4 x SNZB-02D
what exactly you want to achieve: I want to be able to control the MrCool head unit from a card in a dashboard but have the temperature readings and MrCool’s modulation be dictated by the SNZB-02D, not the onboard temperature sensor.
Installed HA: HomeAssistant OS (Generic Intel)

You could use the ‘follow me’ option…
That allows you to define a custom temperature sensor from HA:

sensor:
  - platform: homeassistant
    entity_id: sensor.room_sensor   # Sensor from HASS
    internal: true
    filters:
      - throttle: 10s
      - heartbeat: 2min             # Maximum interval between updates.
      - debounce: 1s

I also think you could even do this without IR by using a hardcoded ‘follow me’ function; i.o.w. it would always be actived :wink:
(I only haven’t figured out how to achieve that :thinking: )

1 Like

If it helps anybody I recently purchased the Danby 8000 BTU wireless window AC from Costco in Canada (DAC080EB7WDB). I tried the mac-zhou/midea-ac-py. However the process was more involved I had to get the device id and decode it. After installation I got a timeout error.
When I installed the GitHub - georgezhao2010/midea_ac_lan: Auto-configure and then control your Midea M-Smart devices (Air conditioner, Fan, Water heater, Washer, etc) via local area network. it was painless while the auto configure did not work for me I put in the IP and voila it detected the unit the id and found it was a V3. Awesome job. I haven’t put in any automations and tried it extensively but fingers crossed works good.

1 Like

same here – actually less painless – the auto-config worked for me to find my midea 12k u shaped window ac.
thanks to georgezhao2010 :slight_smile:

This is a very good idea and seems really promising.

I have the Sergei dongle… I’m unfamiliar with how to update it OTA (not sure if I can just send it a YAML file).

Have you seen or used the interface? I can take pics if it helps add context.

Easiest is to install the esphome addon; add the yaml configuration there, and update it using the wireless option

I have ESPHome AddOn installed, but my devices aren’t recognized. I think I might have to reflash them in order for them to add to ESPHome. The weird thing is that when I go into my devices, it says they are ESPHome devices. But when I go to the ESPHome AddOn, they aren’t listed there.


You need to add a configuration for them…

i guess if the ip address is correct, they will start showing ‘online’ :wink:

@aceindy Thanks to your direction, I’ve been able to get it added to ESPHome. Now I can quickly modify the YAML files/configs and help test the follow me stuff.

That said, I did try to do it that way - but I think I need to add the sensor to the main HomeAssistant config file. I’m still not sure if it will work. Additionally, it looked like the Lambda needed to return the sensor state, not just return x, right?

This is what I’m working with so far (again, in my HomeAssistant configuration.yaml):

**- platform: homeassistant**

    entity_id: sensor.sandy_upstairs_living_room_temperature_and_humidity_sensor_temperature   # Sensor from HASS

    name: Zigbee Room Sensor

    id: sensor_2

    lambda:  |-

      return id(sensor_2).state;

#      return x;

    unit_of_measurement: "°C"

    icon: "mdi:water-percent"

    device_class: "temperature"

    state_class: "measurement"

    accuracy_decimals: 0

    internal: false

    filters:

      - throttle: 10s

      - heartbeat: 2min             # Maximum interval between updates.

      - debounce: 1s

    on_value:

      **midea_ac**.follow_me:

        #temperature: !lambda "return id(sensor.sandy_upstairs_east_bedroom_temperature_and_humidity_sensor_temperature).state;"

        temperature: |-

          return id(sensor_2).state;

        #temperature: !lambda "return x;"

        beeper: true

There are two issues I’m pretty sure are causing a problem. First, the platform… it’s causing errors. Second, I think I need to specify midea_ac.follow_me: as something else (my_ac_unit_entity_id_maybe.follow_me:)?

Guys! I’m about to buy AC units, thinking about Midea’s Blanc Pro or Xtreme Save.

Can I integrate them with original USB/wifi dongles with home assistant and some integration?
Or do I have to tinker with ESPHome?

Hi dude, Could you integrate the “mirage” ac to home assistant?

Hello,

I am intending to build a 3d Printing Filament Cabinet like this one Adam Savage built, just bigger.

It would have to permanently keep my filament under 20% RH, ideally near 10% RH.
Room Temperature is around 20C-30C (about 70-90F).

I’m willing to help it out with dessicant packs, but opening the door to change filaments would cause all the air to be swapped out and the desicant could get saturated quickly.

Ideally, I would like one with WiFi that I can monitor/manage with HomeAssistant, like the Pro Breeze 30L, but small, like a 500ml or 1000ml.
(but I don’t know if they share the same control board / software)

  • Can anyone tell me if any of the smaller versions have wifi of their own?
  • On a model without Wifi, will it simply turn on if I turn on the power socket?
  • (monitor RH using external sensor and control via smart socket).
  • What is the lowest RH any of the smaller units can achieve?

Hi Everyone,

I have a Midea All Easy Pro 18.000 BTU model MSEPC-18HRFN1 / MOX430-18HFN1

This AC unit is integrated with Home Assistant with the Midea integration. I am trying to interpret the energy sensors as they do not make a lot of sense:

The total energy consumption increases and decreases during the day which doesn’t make much sense.

The current energy consumption graph is also somewhat strange. I believe the units are off by 1000, but in addition, I’m not clear why it doesn’t start at 0 on the hour. Can anyone tell me what this is measuring and how I might be able to fix it? I would like to create a sensor that measures instantaneous power and kw/h per day consumed.

Thanks,

Julius