Midea branded AC’s with ESPhome (no cloud)

Hi,
When I started this project I bought a delock usb to pin cable to connect a nodemcu to the climate unit (with an additional classic usb cable). But it was not working!!! As the guys mentioned here (maybe aceindy) I can’t connect a nodemcu with this method to the climate.
Finally I connected an esp01 with dupont cables through an 5V to 3.3V adapter to the climate exactly the same way as you can see above in the last post from (also :wink:) aceindy.
By the way if you still interested in, the mentioned delock cable: https://kabelvilag.hu/Delock-Cable-USB-2-0-type-A-female-to-pin-header
Unfortunatelly it is from a Hungarian store, but maybe you can find one. One additional thing: it has a standard usb socket, it doesn’t fit to the official midea usb plug without modification.
Here is the 5V to 3.3V adapter: https://a.aliexpress.com/_EwqHJPj
Have a luck and best regards!

I’ve got Kaisai branded clone and it has normal standard USB and I’ve trimmed the ESP adapter a little and soldered USB plug onto it and it fits nicely in original spot.




1 Like

Successfully connected to Home assistant. With a XIAO ESP32C3 and a Modbus converter XY-017 and the yaml from @Mosibi.



3 Likes

Hi!

Nice, this setup is based on esphome, isn’t it?

Everything works flawlessly for me as well except for the display, it is in Celsius instead of Fahrenheit. Have you found a way to not have Celsius at all?


This is my display board for my unit. CN3 is not connected but CN2 is connected to a a wired wall control unit (see bellow)

While this board is connect via wire, you can see that there are pads labeled CN3. I’m thinking i could connect a usb port there. I have a soldering iron and a bare wire usb port coming. Assuming that this even works, which pad (1 - 4) should i wire the data+, data-, ground, and power wires to? I ordered SLWF-01Pro off Aliexpress, but in the mean time could I try to use a Wemos D1 mini to wire it up to these pads and make it work? If so some guidance would be appreciated. Thank you

Hi!

Nice, this setup is based on esphome, isn’t it?

That is indeed Esphome based. He mentioned my yaml file, which you can find on GitHub - Mosibi/Midea-heat-pump-ESPHome where you will also find a reference to a ready made solution

1 Like

Thank you @Mosibi, in fact, I tried time ago you solution and it worked.

Now, I have a direct serial to modbus attached to HA hardware, and I would like to migrate your Esphome modbus configuration to native modbus configuration in Home Assistant.

What the hell both modbus configurations aren’t compatible?

I am not able to migrate most of the registers and controls…

Do you know if there is a straight way to migrate an Esphome modbus configuration to native HA modbus configuration?

Any tutorial, YouTube video or forum post… :joy::joy:

Thank you!

Sorry can’t help you on that one. I never had interest in doing the modbus part in home assistant, I wanted a solution that I am able to manage, even if HA is down.

1 Like

Dont forget the Dudanov usb key…
It works perfect including the follow me that i use with xiaomi temp sensors in the room…
Even display turn off and whatsnot
Just download the file he offers on his page and get it done by jlpcb…5 of them is incl shipping 15 bucks to the usa

@Mosibi

When I try to use your dashboard, I get the following error message. “No card type configured”
How can I fix this?

That sounds like a indentation issue. yaml is very picky about to less or to many spaces or tabs instead of spaces.

I have copied your dashboard.yaml 1:1.

Got it right.

@NTXAggie, I was considering purchasing one of the senville ducted units too (HFMO series) so I am interested in what you end up figuring out. Do you have a picture of the PCBA for the wired controller from senville?

Thanks.

I just re-checked the dashboard and I could not find the issue you have. What I did was in the ‘raw configuration editor’ paste the yaml of the dashboard and in my case I had to put 2 spaces before all the lines to indent it correctly. Be aware to use spaces instead of tabs!

Hi, same cable for my duct-type midea.

Is possible to add the usb dongle directly to this cable? 5 pins
A- Brown
B- Red
C- Yellow
D- Black
E- White

If look board of the remote control, it have EU-SK107 module inside

It’s matter? any idea to use with ESPhome?

Thanks

1 Like

This is the cable

1 Like

Hi best, I have a very similar situation to you. I purchased the subassembly box and a slwf-01pro but realized the port is not USB. Do you have pictures of how you wired the esp8266 and the yaml for it? Thanks!

hi @epikarus the subassembly has a usb port on it that the slwf-01pro plugs in to. Which subassembly do you have?