Hi guys
I have an ESP32 connected to my Growatt Mod inverter, I have no problems reading data out of it. But another TTL->RS485 is connected to the Smart meter input, how can I make the ESP answer the requests? I have already passed the values from HA to the ESP, I just need it to communicate with the Modbus, I know what the Inverter requests:
Using ESPHome, esp8266 + serial to modbus converter…. To send grid power (already known by HA) to the inverter meter port for export limiting within the inverter…
For everybody who likes to try it.
I got it working, but…
It is very difficult to make it fast enough, although in my case the data is renewed every second, the Growatt inverter needs even faster data to make a stable control possible.
I can compare because I had already a working sdm630 connected.
The ESP option I made as a project.
The (power) data goes every second from an other SDM630 to HA.
Then it goes every 400ms by wifi to the ESP.
The ESP is giving the data with 10ms delay to the inverter.
A lot of the other (other then power) registers I filled with fixed data, because you need to have all registers from above list available for the Growatt inverter to make it work.
What you want to know?
I know it is probably not what you want to hear but faking a sdm 630 is not the smart way to go.
If you don’t want to (or can’t ) install a real sdm 630 and still want to regulate a Growatt inverter.
Then it is better to get access to the inverter via modbus via de comms port. (not the same as the one the sdm630 should be connected to)
And regulate the output via holding register 3.
With the esp PID controller you can make a stable control of the inverter on the basis of the smart meter output. To make it work on several types of Growatt inverters you need to ask for a software update. It works for me on a MTL, a MTL-S and a MIN.