Midea branded AC’s with ESPhome (no cloud)

The web interface it’s different to smartphone interface… I’m going to take some screenshot

EDIT

Being not able to operate via webUI I edited ESPhome yaml config as

relative_url: ''
status_use_ping: true
keyfile: ''
esphome_version: dudanov:midea-climate-support

It’s right ?

Best way is, in the pic you posted, click the three-dots in the upper right corner and switch to yaml mode.

As I see, you already had that… :smiley: :wink: Yes, go with that option.

BUT…did somebody tell you to use the “dudanov:midea-climate-support”? I can’t say which version that is. Normally there should be a “dev” version. Maybe you should ask in the telegram group, which version you should choose.

Sergey is trying to fix the beep issue and is trying to implementing the mode shutdown and resume, so devs have proposed to test it.

1 Like

@jesserockz sent me:

esphome_version has been removed from ESPHome 2021.8 https://esphome.io/changelog/2021.8.0.html#home-assistant-add-on

And It does not works also for ESPhome-dev:

For a while there has been an option in the Add-on to allow specifying the esphome_version which would allow the addon to download a specific version to use. This has been removed in this release as it causes more issues than it solves. It may be added back to the development addon only in the future if there is demand, but the stable add-ons should stay stable. If you need to downgrade the esphome version because a new version does not work the way you expect, then you should be using the snapshot/backup feature built into Home Assistant Supervisor to rollback.

Now I fell lost

You could still compile it manually, as explained in my first topic, that is how i flashed my first unit….i am only not sure if you can do it ota….

PS: use dudanovs dev github url…

and one last thing… if the current release is workable…why do you really need it fixed now??
I’m quite sure it will be fixed in one of the next esphome releases soon…they are working on it…

Yeah, nice, I need to update my ESPHome AddOn… :rofl: :rofl: I’m still with 1.x.x… :smiley: In my version it still works the way described… :rofl: :rofl:

I have that board. Did you come up with a solution?

I took a regular USB cable, chopped off the end of it, and attached those wires to a level converter (3.3v-5v) and then to a wemos clone. Then I used a small screwdriver as a chisel to dig away the plastic in the USB end of the cable so it would plug into the board. This will let me unplug it and switch back to the official wifi dongle if I ever sell the house.

So in hindsight, was that easier than unplugging the cable back at the LCD circuit board and adding hardware?

I wanted to try my hand at designing and printing my first PCB as most of my projects have been soldered together using proto boards and wires and I find soldering up all the wires to be a pain. I am a basic hobbyist and I could never understand all the pcbs with tons of custom parts so I wanted to make a dongle that you solder readily available components on and here’s what I came up with. I used @dlcEmAN code referenced here Support for Midea A/C - #231 by dIcEmAN basically with components being a wemos d1 mini a logic converter and a male usb. Here’s what I came up with…

It all fits in the original usb sticks spot protected by plastic and the lid closes and functions perfect. The only bad part of my design is you have to flash the wemos before soldering on cause the way I faced it on the pcb which admittedly was for the aesthetic of having the antanae in the back blocks the micro usb. I don’t care cause once flashed I OTA updates anyways… I know there’s lots of other designs out there but if this helps anyone that has these electronic components already laying around like I did I’ll happily link my gerber files. I ordered from JLCPCB and it got to me super quick. I have used PCBWAY in the past printing other peoples designs and they were always great too… I’m not sure what’s all needed so heres a link I think works to my file on JLCPCB https://cart.jlcpcb.com/quote/gerberview/8e35c1807e964ef485a3a1788b1205ba_1_0_1_0_0.html
or if that doesn’t work here’s a zip of the files that were created by easy eda after i saved my design
GitHub - bscuderi13/mideaac

1 Like

just asking for future reference i will not be using original donlgles will use custom made esp01 uart dongle

Hi, I have 2 MIdea branded a/cs with OSK101 Smart kit USB with WM-N-BM-09 WiFi IoT Module. Any chance of integration in home assistant?

I think It’s sadistic having removed esphome version on -dev also… Editing a yaml line is better and easier than compiling something :smiley:

The fact that Beep don’t works and the previous mode isn’t resumed is frustrating, because I haven’t the splitters are placed out of the sight so not having yet a audible feedback that confirms if the voice or webUI commands have been executed is frustrating, likewise the needs to manually change the working mode everytime the splitter is powered.

I hope

I’m doing something wrong :

 zsh  rebecca@rebecca-gamingrig  ~  pip install --upgrade git+ https://github.com/dudanov/esphome.git                                           [0]
Defaulting to user installation because normal site-packages is not writeable
ERROR: Invalid requirement: 'git+'
 ✘ zsh  rebecca@rebecca-gamingrig  ~  pip install --upgrade git+ https://github.com/dudanov/esphome                                             [1]
Defaulting to user installation because normal site-packages is not writeable
ERROR: Invalid requirement: 'git+'
 ✘ zsh  rebecca@rebecca-gamingrig  ~  pip install --upgrade git https://github.com/dudanov/esphome.git                                          [1]
Defaulting to user installation because normal site-packages is not writeable
Collecting https://github.com/dudanov/esphome.git
  Downloading https://github.com/dudanov/esphome.git
     - 238 kB 984 kB/s
  ERROR: Cannot unpack file /tmp/pip-unpack-8iem3acw/esphome.git (downloaded from /tmp/pip-req-build-d6_zitjl, content-type: text/html; charset=utf-8); cannot detect archive format
ERROR: Cannot determine archive format of /tmp/pip-req-build-d6_zitjl
 ✘ zsh  rebecca@rebecca-gamingrig  ~  pip install --upgrade git https://github.com/dudanov/esphome                                              [1]
Defaulting to user installation because normal site-packages is not writeable
Collecting https://github.com/dudanov/esphome
  Using cached https://github.com/dudanov/esphome
  ERROR: Cannot unpack file /tmp/pip-unpack-9hhowtrl/esphome (downloaded from /tmp/pip-req-build-mt9jt0bf, content-type: text/html; charset=utf-8); cannot detect archive format
ERROR: Cannot determine archive format of /tmp/pip-req-build-mt9jt0bf
 ✘ zsh  rebecca@rebecca-gamingrig  ~  pip install --upgrade  https://github.com/dudanov/esphome                                                 [1]
Defaulting to user installation because normal site-packages is not writeable
Collecting https://github.com/dudanov/esphome
  Using cached https://github.com/dudanov/esphome
  ERROR: Cannot unpack file /tmp/pip-unpack-_1karxea/esphome (downloaded from /tmp/pip-req-build-rlas77ev, content-type: text/html; charset=utf-8); cannot detect archive format
ERROR: Cannot determine archive format of /tmp/pip-req-build-rlas77ev

addendum:

 zsh  rebecca@rebecca-gamingrig  ~  pip -V                                                                                                      [0]
pip 20.3.4 from /usr/lib/python3.9/site-packages/pip (python 3.9)

Hmm, this is linux right?
looks like it has issues with the //
Can you try to put the url between “”?

ArchLinux

No changes

I’m really not an linux person, but does this help?

Sergey already replied on Telegram i saw, remove the space after git+
pip3 install --upgrade git+https://

@simona , midea was updated in last ESPHome release 2021.9.0

Midea AC

platform: midea_ac has been changed to platform: midea in this release and has quite a few upgrades. Check the docs for the new features. Midea Air Conditioner

Note that midea_ac was renamed to midea and midea_dongle is no longer required

1 Like