Just a last update from me as everything seems to be finally working fine!
I gather the connection issues were due to the lease of the router and the fact I had two different ESP8266 for my two splits and, pretty dumbly I have to say, I’ve been juggling around with firmware and such on both.
I did some checks and even after disconnecting and reconnecting them after some minutes or hours, they connect to internet in a matter of few seconds.
So yeah, thanks again for all the help, really!
Should you even need IT or ES translations for your projects, just let me know
I am running Home Assistant 2021.2.3 on a Raspberry PI. I have installed ESPHome 1.16.2 and am able to flash the ESP-01 boards. When the ESP-01 board is powered up it connects to the network and in the ESPHome UI the red bar above the relevant turns green. I couldn’t get the https://github.com/dudanov/esphome repository to install in HACS - custom repository and get the error “Repostitory structure for dev is not compliant” to make the Midea-ac component available in ESPHome.
Using my Mac I was able to follow the instructions for flashing the ESP-01 on another computer with the Midea-ac component included however, the board doesn’t then appear in ESPHome on the home assistant.
Do I need to find a way to get the Midea-ac component onto my home assistant PI? If so, does anyone have any ideas on how to do that?
Sorry, just read again your message and I think your issue is what I had at the beginning.
You have to install the ESPHome dev addon, not the regular one, as in the dev version you can actually modify the configuration in the supervisor > addon part adding the dudanov repo. @aceindy explained this to me just a few post above
the usb and 4 pin connector(cn3) are the same; I also used the 4 pin plug myself
(as shown in the picture in the first post)
However, nvschilleman did have some issues, never heard if they got resolved…
@vilord, my indoor unit became unresponsive when I plugged out the wifi board (even the IR remote didn’t do anything), the pinout of the 5 pin connector is different from the 4 pin connector. I’d say you’ll have a bigger chance of getting this to work with the board plugged in.
My AC does respond to commands from the ESP, however I dont get a response from the AC to Home Assistant. I also did not subscribe to the Telegram group yet, I Will do that when I have some spare time, I Just work to much at this moment
I’m using a Wemos D1 instead of an esp01, because that’s what I already have a bunch of.
Soldered it all up, it powers up just fine.
I was able to communicate through esphome to see the logs, but it is only transmitting, never getting any responses.
Can’t see or control the AC through the esp.
Hmmm.
This worked okay on the mitsubishis, but perhaps the uart in the AC is not willing to listen to 3.3v serial data. I’ll see if I have the supplies to level shift this up to 5v, and hope that’s the problem…
I have made a test setup with a nodemcu esp8266. See if i could get this to work with my Mr. Cool minisplit. The wifi boards are identical as shown by nvschilleman
Unfortunately i did not have a 3.3/5.0v converter. I tried messing around with some resistor and such but not luck. I did however connect only the RX line and had the USBwifidongle from mr cool plugged in. And was able to read out the current settings every time something changed.
The TTL converter is ordered and should be here tmrw. Hopefully all will work and this will make alot of Mr. Cool owners happy! I am sure since there is no solution, and these units are very popular here in the US since they are sold as complete DIY ac minisplits.
Will provided update in next few days with some photos of the units.
Here are some pictures of the Mr cool unit. Also my integration of the board.
Cut the blue board a little smaller then directly soldered the ESP01 on top. Soldered some wire directly to the green board. The usb connector is different then the norm as described by someone else.
Does anyone know if there is a way to turn the AC display on and off? I can do this with the infrared remote but was hoping i can do the same from esphome?
Following up on my post earlier, the 3.3v->5v level shift was all I needed. Plugged it in and a few seconds later the current temp popped up in home assistant, all working perfectly. Think I’ll reflash OTA to turn off the beeper. Thanks! This is with a Mr. Cool DIY 12k
I was experiencing the same problem you have.
Following @aceindy 's advice I joined the Telegram group, thanks to the developers its working for me now!
Install ESPHome using custom repository dudanov:midea-climate-support-wo-integrity-check.
You can use the same yaml format.