Hi,
I’m using modbus for my SMA inverter to read PV power, grid supply and absorption to calculate the electricity consumption of the house out of these three values.
At the the moment there is a delay between the reading of the values via modbus which cause that the consumption is heavily fluctuating and often negative, especially when one of the values is not stable over time, eg. Clouds and devices being shut on/off.
The reason is that the calculation is done once a single value is changed.
I’ve modbus reading set up to a refresh rate every 15sec each. But first the PV power value will be refreshed first so that the consumption calculation is done with a new PV power but with 14sec old grid value. One second later it’s again calculated when one of the grid values is being refreshed.
Is there a possibility to read the values at the same time without significant delay?
I had the SMA integration used in the on past, which reads the values from the local http dashboard of the inverter. There are the tree values matching at the same time, which results in valid differences for house consumptions.
I’ve found slave_count in the modbus documentation, but I don’t know how to use it.
at the moment my configuration is as follows. the addresses are not consecutive.