Yeah, try that … I used a brand new level shifter, so it was the last thing I suspected…
Also, I did connect it a bit differently than in my picture. I do not use the 3.3V output to the ESP32, but directly connect it to 5V. No idea if that makes a difference, but all devices I eventually hooked up run on 5V, so it made wiring easier.
I have an in wall (in ceiling) air coditioner, I tried to connect the esphome like that, with 4 wires instead of USB but it doesn’t seem to work.
Anyone has any idea about this type of air conditioners?
I’m not sure. I assumed its Midea because it’s a lcoal Israeli brand, and I know for sure that there other models, the wall Ac’s, tha ones with the USB dongles work flawlessly with this dongle solution.
I assumed that my AC, which is the same brand, but without the dongle, would work the same.
Converter, like MAX485 sure makes the physical layer to the spec, but 485, and I guess MODBUS is whole protocol where timings are critical. I saw that MrCool sells “remote thermostats” which are on RS485 seeing “A” and “B” signs on the terminals. But… who knows. It does’t cost much to try I guess. You can buy “arduino friendly” UART to RS485 converters. But those require signals to switch from receiving and transmit, so it won’t be compatible with the midea component in ESPHome.
Hello @nvschilleman how were you able to create a USB suitable for the Midea style usb ports (they have those small notches on side).
I am facing a similair issue on which type of dongle should I order from Sergey Dudanov since my AC has some logic module as well and thr USB port has notches as well.
I ordered the dongles unassembled, took apart the male USB-A connector and sanded off the edges. I posted a photo somewhere in this topic of the first dongles I used based on a ESP-01
A short note to thank you for sharing this project. I have a carrier without the usb cable connector. I just followed your example and connected to the board directly with DuPont cables.
Works perfect.
I have a Midea mini split connected to HA via the wifi dongle that came with the unit itself. It works most of the time, but still has a ton of random disconnects. I’m planning to order one of the pre-flashed dongles and was wondering if with that, once integrated in to HA, can some how set it to use a remote sensor as the thermostat control. Right now my mini split is in my wife’s office and it’s mounted about 9’ up on a cathedral ceiling, and setting the temp is more based on comfort as opposed to an actual number.
After struggling for days trying to get my Midea AC working with the HACS cloud thing I thought let me just try the ESPHome module way, I was hesitant when I first looked at both options of integration and thought this way would be harder / take longer, ironically this way was actually much easier and I prefer having direct LAN access, total time spent probably 10 minutes and it is working perfectly.
I had spare nodemcu boards laying around so just used one of those and then cut a small hole in the plastic casing inside the AC with the module sticking out.
AC model: MSAG11B-12HRFN1QC2
Thanks to all of those involved…
Some images for those interested (sorry a little blurry)
Hi guys, i might need to replace the PCB board on my midea since it’s not working.
Just wondering if anyone tried connecting to one of those universal pcb board for ac?
Can confirm Simando SMND-PAC-12 from 2020/2021 works fine. As it comes without wifi you need to completly dissasamble the case to get to the Display-Board as there is one free 4 Pin JST Header for Wifi
iot-uni-dongle example esphome Config. Just remove the heater part.
TY
I am a little perplexed about Fahrenheit usage. My unit display F on the front panel. My midea ESP configuration is specified in C, but that should just relate to display in HA, right? I also indicate that I want precision of 0.5. When I issue a service call of set_temperature: 72, the temperature is set to 71.5 F (and the front panel indicates a setting of 72 F). But, if I set_temperature to 72.5, it gets set to 73.5 F (panel indicates 73 F).
What is it doing? How do I get it to set the temperature to the number I specify?
The temperature encoding in their internal uart protocol is based on Celsius, if I remember correctly 1 bit change is half degree (Celsius). Fahrenheit support is… a bit of Frankenstein’ed in It’s normal to have that degree of a mismatch. Or at least this is what I tell myself
I am new to ESPHOME and only have this midea component. I have been able to accomplish a lot using the simple things, like calling climate services. But, I am thoroughly confused about how to call an action like midea_ac.beeper_on