tijsverkoyen / HomeAssistant-FusionSolar

Integrate FusionSolar into your Home Assistant.
MIT License
133 stars 25 forks source link

Energy dashboard showing wrong values #157

Closed ward0 closed 3 months ago

ward0 commented 3 months ago

Describe the bug A clear and concise description of what the bug is.

Debug information Answer the questions below before submitting a new issue.

Expected behavior

My grid usage is wrong, in fusion solar app i can see it is 0 at the moment, HA showing 2.8 kWh.. image

Home is showing 3.1 kWh, but fusion app showing 0,33kW I have no idea how HA is calculating that 3.1 kWh Probably a combination of some sensors...

Screenshots image image image

API delay in HA is 20 minutes? Can we go lower than this default value?

Thanks for your work.

tijsverkoyen commented 3 months ago

Home is showing 3.1 kWh, but fusion app showing 0,33kW

Note that the Fusion Solar app can use a different schedule to update the data then this integration. So it is very realistic that values don't match up.

I have no idea how HA is calculating that 3.1 kWh Probably a combination of some sensors...

To my knowledge, but I am not a core Home Assistant developer. The Energy dashboard uses the information from the sensor you provide. So you should be able to trace the datapoints, or at least recognise the values.

API delay in HA is 20 minutes? Can we go lower than this default value?

No. Not without running into rate limiting. You could disable some device to speed up the updating. See https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/blob/master/README.md#disabling-devices--plants--stations

ward0 commented 3 months ago

@tijsverkoyen Thx for the info, found out that my dashboard is showing my totals :) not the current values. Seems logic in the end because of the delay.