I wanted to read data from my Deye Inverter (Model SUN-5K-SG03LP1-EU) but my model do not have the RS486 plug fitted as shown in the Deye manual that mention it is "available on SOME models".
So RS232 is the only option. I downloaded 3 programs for ESP32 that claim to read RS232 data, but none worked on my inverter. The Modbus address they use are not valid/available on my inverter RS232 port.
I could not find any documentation on the Internet on Deye RS232 Modbus protocol. (If you have it please send to "EunomiaSolar" at gmail.)
So with a ESP32 Dev board I wrote some investigative programs and found addresses for 12 important data registers.
Then I wrote my own Deye RS232 Monitor on ESP32.
You can find my App and experiments on :
https://github.com/eunomiasolar/ESP32-Deye-RS232-Modbus-Reader
Enjoy