Energy Dashboard Grid Consumption

Hi there. I have a doubt regarding energy dashboard. I have a on-grid solar system. When setting up energy dashboard, for the grid consumption field, should we use the sensor that shows the total energy consumed by house( which includes solar production self consumed and consumption from grid over solar) or the sensor that shows the energy consumed from grid alone which subtractes the solar self consumed energy.

This should include only the amount of energy entering your home sourced from the electric utility.

It should not include energy you produced yourself with solar.

I have tried that but I am seeing wrong values for total consumption by house including solar and grid. also it shows all of the solar being exported than self using.

Total consumption would roughly be

Grid In + Solar + Battery Out - Grid Out - Battery In.

If you’re not getting correct values perhaps one of those is not correct.

Do you also have grid export sensors configured? Solar production and grid export should not be the same, the difference should be solar self use. If the dashboard has no self use, the problem should be in one of those.