Integration of a Fronius Symo Gen 24 plus Inverter via Modbus TCP

What type of battery do you have?

Have a look at EMHASS.