Midea branded AC’s with ESPhome (no cloud)

Yeah i know, this is a “home made” solution with usb/esp flashing.

That being said, the USB is actually a smart kit with EU-OSK103 written on it. Does it change anything for me ? I still need to buy the HW and make this home made solution right ?

Also I think (idk if its the same for all ACs) its a midea-like AC based on the pictures in this thread. Here is the wiring diagram with the plastic cover where the actual display sits.


1 Like

Yep this AC will probably work, looks very similar to mine.

Looks identical to my MrCool unit. Which works nicely. I replaced Usb dongle with mine. Midea A/C and ESPHome component - list of all known working models and manufacturers - #3 by mariojas

I concur with @nvschilleman , it will probably work with Vivac.
And yes, the esphome dongle will replace the osk103 wifi module.

Thank you all for the answers. I will start ordering the stuff to make one, by any chance is anybody already selling these ? I saw this one which looks like an all in one solution.

P.S.: Should I look under the LCD cover to check wheter an UART connection is possible there ?

The wifi module goes out and dongle replaces it….

However, I used the 4 pin header plug instead of the usb plug (as some users have issues with the USB plug not being USB and it won’t fit)
122f47220dcc1547196f57708af07c8913e9054f

and my header plug on the right:
image

I have the same USB style wifi dongle as you, with the notches on sides (right picture)

GitHub - dudanov/iot-uni-dongle: An project of universal minimalistic Wi-Fi dongle for various IOT appliances controlled via UART. :slight_smile: Ask @dudanov, he’s the code-owner of this repository and is selling these dongles. Just ask him here or in the Telegram group (link in first post). :slight_smile:

1 Like

Nope, you wont find it there, the UART connection is in the same place where the original dongle is placed.

Look at this. That’s my implementation. Not very appealing but it’s not visible from outside and I am not touching any internals (hope for retaining warranty). Looks inspirational?

absolutely ! what kind of usb cable did you use ? and why not connect it directly to the motherboard using the uart connector (idk what is called)

Check my previous post for a link to some details what I did. Spoiler alert: I did this cable by myself. You buy USB connector for cable attachment, which comes in pieces, and I just modified the plastic insert to fit the connector.
As I said, I did that because I didn’t want to modify the AC unit. Just unplug USB dongle and stick in mine…

Mine looks like this, i only removed the usb2header


and used a 4 pin header plug including cables which i took from an old pcb.
So i did not modify / solder anything :wink:

1 Like

Well, your setup looks bit different. Notice I have USB socket in separate “case”. Two grey cables goes to the display unit, which one is I believe connected to the outside unit and second is to separate USB module.

Thanks to all the info in this thread i managed to make my own dongle. I’ve made it open source, check it out at Github.

Image

(Sorry, as a newcomer I cannot post images, and only 2 links)


Awesome dude…cheers!!

1 Like

Hi all!
I want to share my experience of dongle building. I used Wemos D1 mini and spent few days trying to make it work. Bad choice, here is information: https://www.element14.com/community/thread/77097/l/wemos-d1r1esp8266-uart-communication
Wemos D1 mini has only one fully-functional UART that is already occupied by USB-to-Serial onboard converter. So I had to use software UART:

uart:
  tx_pin: 5
  rx_pin: 4
  baud_rate: 9600

It works finally.


Logic level shifter: 5PCS 2 Channel /4 Channel IIC I2C Logic Level Converter Bi Directional Module 5V to 3.3V|Integrated Circuits| - AliExpress

9 Likes

@VitalyZ thanks so much for your help. I received my dongle, flashed with ESPHome and got my Midea U working with HA finally!

I’m in the US so I have Home Assistant set to Imperial units. Its a little funky with Fahrenheit because I assume the frontend is converting from everything from Celsius, but its working great.

For anyone out there using Fahrenheit and your display on the unit is stuck on Celsius: I was stuck for a while thinking I’d need to send a command or something from the dongle. It turns out you can switch the display on the device by holding the temperature up and down buttons for a few seconds to switch between °C and °F.

Can confirm that too. Did it with D1 mini and a converter with software UART.
Only thing to note is I had to create the yaml in esphome, upload it to the d1 mini, delete the yaml and recreate it and upload again.
If I didn’t do that, the D1 wouldn’t get a response. Don’t know why, but the double-flash did the trick.

1 Like

@Makis I changed the threads and marked you, so you get notified. :slight_smile:

What is wrong with your unit, something not working?