sorry for late reply… RS485 doesnt have exactly tx, rx there are 2 connectors on the control unit of my heatpump marked as H1 and H2 not sure for your AC after you’ve connected everything you can access different registers and then you have to figure out which value relates to what. also since there is no software available and basicly no documentation of a modbus mapping table this is kinda time consuming. I was successful for our heatpump, still have a lot of work to do but once it’s done i promise i’ll upload it to github here are some images what i extract and can do with it
Also just FYI if anybody tries to connect to modbus don’t bother doing it through XYE connection as it’s not standard modbus i wasted few days trying to but realised i got corrupt data as start bit had shorter duration and because of that RS-485->RS-323->USB device was useless… would have to write a custom software serial for arduino… anyway there is a rotary switch inside main indoor unit that sets modbus adress of device and you can connect to it using H1 and H2 terminals on the control unit (display where you set everything) they are covered with an antistatic foil but clearly visible when removed
this is the control unit i’m talking about
check if you can find if it supports modbus and where to connect RS485 to… if it does not you cant connect to it using modbus will have to find another way… check this thread there is an usb device for A/C s
Hello.
This is my first post so please bear with us.
I have a question for StarKiller99 if you connect the pump with esphome modbus controller please help. I have installed the Midea heat pump and cannot connect. My esphome configuration and manufacturer modbus table.
Wires connected to the heat pump under H1 and H2, the indoor unit address is set to 0.
What am I doing wrong.
hi i dont know tbh because i never used esphome for it, wrote my own software but is not finnsihed and cant share it yet. can you tell me which model is your heatpump. i am also using 115 adress for reciving DHW temp but i believe you wrote it down incorrectly as 115 is in decimal you need to use hexadecimal value which in this case would be 0x73 (just write 115 to hex in google) so max adress is 255(0xff) you went over that as adress 0x115 coresponds to 341
i just updated my comment. basicly try to use 0x73 adress because you have to use it in hexadecimal form 0x indicates hexadecimal and 0x73 = 115 in decimal
I have updated and streamlined the example YAML a bit in the first post, hoping to make it more universal/user friendly.
I also added the fan setting to the web interface.
Hi,
I’ve got a problem: one of my AC unit is working with an esp01 board. I ordered an esp01s board and installed the esphome firmware with the same yaml as the original. If I power up the esp01s unit with a ch340g programmer it seems ok: I can open the page of the unit, and I can check the log.
If I change the working esp01 and esp01s boards on the AC unit, all goes wrong: nothing happens, only one short blue blink from the board, but thats all. No log, the device seems offline in esphome.
I created an other device, but the same result.
Ok, I will try, it takes a bit…
Let’s assume this is the cause of the error. What can be done?
(U will be right. I found a webpage, which says the esp01s needs 250mA, the esp01 needs 150mA.
FCK)
That i knew, I just wasn’t sure id @arizagol ’s unit is the same what you use…i’m not even sure if it actually is Modbus
And yeah, exactly…it kindah belongs here, but info in this topic it mainly deals with Midea wifi protocol.
I guess when the time is right, you will create a new topic for Midea Modbus protocol ?(but if you want you can stick it in here too)