Hi,
which registers show how much energy has been bought from and sold to the grid today on a GoodWe GW10K-ET inverter?
For registers 35199 (E-Day-Sell) and 35202 (E-Day-Buy) it seems to me that they only reflect energy exchanged with the grid as a result of battery charging and discharging.
You’re correct - these registers show inverter-side energy, not the actual grid energy. They primarily reflect battery charge/discharge operations, not the total energy exchanged with the grid.
For actual grid energy, use these registers instead:
Meter-based values (36xxx registers):
E_TOTAL_SELL (Register 36015) - Float, total energy sold to grid
CT2_E_TOTAL_SELL (Register 36047) - CT2 total sell energy
CT2_E_TOTAL_BUY (Register 36049) - CT2 total buy energy
Unfortunately, there don’t appear to be daily (E_DAY) equivalents for these meter-based registers in the GoodWe protocol.
How OpenEMS solves this:
The GoodWeGridMeter component calculates grid energy by integrating power values over time: