Midea branded AC’s with ESPhome (no cloud)

Hi Guys,

I would like to request your help in a Midea based Bosch climate …
I have 4 pcs. Bosch Climate 3000i (3,5kW) where I have successfully created and connect to HA with Wemos D1 Mini.
It is a small issue with the Bosch Climate 5000 RAC (5,4kW) … Previously the Bosch dongle are worked on this type also, but unfortunately not working with Wemos D1 Mini configuration. No RX receiving from the climate board …

I have try to swap the tx/rx as recommend many times above, but doesn’t help unfortunately.

[15:54:13][D][ApplianceBase:139]: Response timeout...
[15:54:13][D][ApplianceBase:146]: Sending request again. Attempts left: 2...
[15:54:13][D][ApplianceBase:162]: TX: AA 21 AC 8D 00 00 00 00 00 03 41 81 00 FF 03 FF 00 02 00 00 00 00 00 00 00 00 00 00 00 00 03 72 73 F6 
[15:54:15][D][ApplianceBase:139]: Response timeout...
[15:54:15][D][ApplianceBase:146]: Sending request again. Attempts left: 1...
[15:54:15][D][ApplianceBase:162]: TX: AA 21 AC 8D 00 00 00 00 00 03 41 81 00 FF 03 FF 00 02 00 00 00 00 00 00 00 00 00 00 00 00 03 72 73 F6 
[15:54:15][D][ApplianceBase:129]: Enqueuing a DEVICE_NETWORK(0x0D) notification...
[15:54:15][D][ApplianceBase:173]: Enqueuing the request...
[15:54:15][D][AirConditioner:132]: Enqueuing a GET_POWERUSAGE(0x41) request...
[15:54:15][D][ApplianceBase:173]: Enqueuing the request...
[15:54:17][D][ApplianceBase:139]: Response timeout...
[15:54:17][D][ApplianceBase:154]: Destroying the request...
[15:54:17][D][ApplianceBase:075]: Getting and sending a request from the queue...
[15:54:17][D][ApplianceBase:162]: TX: AA 1F AC B3 00 00 00 00 00 0D 01 01 04 07 04 16 0A FF 00 00 00 00 00 00 00 00 00 00 00 00 3C 09 
[15:54:17][D][ApplianceBase:154]: Destroying the request...
[15:54:18][D][ApplianceBase:075]: Getting and sending a request from the queue...
[15:54:18][D][ApplianceBase:162]: TX: AA 22 AC 8E 00 00 00 00 00 03 41 21 01 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 73 0D 76 
[15:54:20][D][ApplianceBase:139]: Response timeout...
[15:54:20][D][ApplianceBase:146]: Sending request again. Attempts left: 2...
[15:54:20][D][ApplianceBase:162]: TX: AA 22 AC 8E 00 00 00 00 00 03 41 21 01 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 73 0D 76 
[15:54:22][D][ApplianceBase:139]: Response timeout...
[15:54:22][D][ApplianceBase:146]: Sending request again. Attempts left: 1...
[15:54:22][D][ApplianceBase:162]: TX: AA 22 AC 8E 00 00 00 00 00 03 41 21 01 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 73 0D 76 
[15:54:24][D][ApplianceBase:139]: Response timeout...

Is somebody else is using a Bosch Climate 5000 RAC with ESPHome?
Can somebody can help me, where I can try to find out a solution?

Many thanks!!

Bad wiring/cable/plug?
This guy ended up soldering the wires straight to the board after that it worked…

Hi aceindy,

Many thanks for your hint!
I am already soldered directly the connector. (Same on the 3000i)

Here is the pictures from the climate board:


Do you have any more idea please?
Many thanks!

Nope…sorry

Can i use a ESP32 Dev board and use the RX/TX pins directly to the Midea controller?
I dont have the USB cable. Or do i have to use a FTDI type converter?

@glenman I advice to use a level shifter, as the Midea works on 5V, and the ESP32 on 3.3V.
This could fry the esp, or worse the Midea…better be safe then sorrow :thinking:

And it is NOT an USB connector; it is a serial connector (which looks like a USB):

And how you connect it is up to you; I use the header plug:

Some others had issues with the usb-look-alike and ended up soldering it straight on the pcb :wink:

Can you outline the steps you took to get a sensor from homeassistant working for follow_me? The current temp for the AC is still reading off the onboard sensor. This is what I have in my yaml config.

sensor:
  - platform: homeassistant
    name: "office temp/humi"
    entity_id: sensor.ble_temperature_office_temp_humi   # Sensor from HASS
    internal: true
    filters:
      - throttle: 10s
      - heartbeat: 1min             # Maximum interval between updates.
      - debounce: 1s
    on_value:
      midea_ac.follow_me:
        temperature: !lambda "return x;"
        beeper: true               # Optional. Beep on update.

Hello all,
this is my first post.

I have heat pump AIWA-HPMxxVYN-2. (similar as Midea)

But I dont know haw set Modbus adres in my unit.
According to the manual I should have a rotation switch.
But i dont have.

I have the same problem. Did you find a solution?

I find S3 descriptions. But this not helped me.

The S3 DIP switch bank is the small red rectangular box near the bottom left corner of your circuit board picture, and is currently set to 0-0-0-0 which per the description table is the master address. If you want to set a different address, use a ball-point pen or small screwdriver to slide S3 switches #1-3 per the table. Don’t touch switch #4, as it is reserved for future use and should remain set to zero…

This is obvious.
But this has nothing to do with the Modbus output in the controller.

I have an ActronAir AC which uses the same IR signals as a Midea AC. So I’m assuming it uses a lot of Midea parts. However the board looks a little different to what others have posted.

I used a multimeter and the CN2 was outputting 5 volts. Perhaps I could just use an ESP IR transceiver.

Anyone had to buy the usb intermediate board/plug for their unit? My Bryant minisplit doesn’t have the USB Port but it is an optional addon. It’s a 619P*B unit and the board looks like this

Have you had any luck getting any more data from the stream? I have a servile and have connected through the xye terminals but only get limited data.I would love to get power consumption and compressor frequency so I can figure out my COP.

Same issue here, tried everything with and without logic level, inverting 5he pins i tried all and nothing.
Thiis is the board from a carrier AC


No i don’t have any solution.

i keep having the wifi error by installing the esp01 for the first time. Trying everything.
I read al the manuals but nothing helps. I used esphome on my home assistant dashboard and plug the usb adapter into my win pc. If i do this with an D1 mini than it work always. But with the esp-01 and adaptor not ??

Hi,

Many thanks for the photos!

Original post:
I am currently also working to open the device. How did you manage to open the fairing? With brute force or are there some tricks? I started from the top and want to remove the backside first with tools from ifixit. But these clamps seem to be pretty tough to open.

I managed to open the case by dragging the back with quite some force. After that things were easy. The front is hold in place by some more screws. After that I could access the USB port. No need to disassemble the front down and top cover to the mainboard (at least for my device).

One note from my side: after the custom USB dongle was installed the remote does not work anymore. I seems that it directly communicates with the original USB dongle. That’s a bit o a pity since it is well-designed but a tolerable sacrifice to get full HA integration.

@helgew , @aceindy , did you find anything more about the KSACN0701AAA?

So much (contradictionary) info this thread, I am totally lost. I have a similar thermostat (KSACN1001AAA) with a full blown Carrier Performance 40MBABQ36XA3. Barely anything can be found on the internet.

However, the thermostat is connected via two wires “HA” and “HB” to the air handler (indoor unit). The manual vaguely mentions “RS485”.

Questions:

  • Can someone clarify that HA/HB interface is actually RS-485, over which modbus is ran?
  • Can I attach an ESP32 with RS485 adapter in parallel to this?
  • Which hardware can I use for this? For example, would the M5Stack Atom RS485 work? How about the “Heatpump Controller” from https://shop.svenar.nl/?
  • Which software would I use to interface with HA? Modbus? Or this Midea Air Conditioner — ESPHome? Which esphome yaml is recommended?
  • I have also seen EXY bus related to this topic. Is this a different interface?