home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.18k stars 30.2k forks source link

Incorrect Energy Import Metrics #86229

Open ryanm101 opened 1 year ago

ryanm101 commented 1 year ago

The problem

When Importing Power Offpeak I only get import NOT related to what is charging my battery which is wrong as it screws my import metrics for power bought from energy provider.

BatteryImportFromGrid

The Graph above should show 4.01kWh imported but instead shows just 0.52kWh which is my consumption - batteryImport.

Honestly I'm not 100% if this is the fault of the Meter or the way HA is parsing the data, I suspect that is it HA as the Meter cant tell who is using the power as far as i know.

I'll do some more digging but putting this up incase it rings a bell with anyone else.

A better visual display (imho) would be to invert the battery graphic so that if battery is charged from GRID then its a stacked graph (the way usage is stacked for battery/solar/grid) and if charged from SOLAR then its as it is currently.

It is possible this is a UI issue not a core one but again i'm not sure at this point.

What version of Home Assistant Core has the issue?

2022.12.9

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

issue-triage-workflows[bot] commented 1 year ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment ๐Ÿ‘ This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

cvandesande commented 1 year ago

This is definitely still an issue on 2023.4.5

Charging the battery at 2am should not appear as "Returned to the grid"

Screenshot 2023-04-19 at 14 29 39

twiktorowicz commented 1 year ago

I have the same issue, HA version 2023.7.2. Something is wrong with the chart hourly bars calculation when the battery is charged from the grid. image image image

issue-triage-workflows[bot] commented 10 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment ๐Ÿ‘ This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

ryanm101 commented 10 months ago

Still an issue - Perhaps Triage workflow should require input from maintainers before marking as stale.

issue-triage-workflows[bot] commented 7 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment ๐Ÿ‘ This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

ryanm101 commented 7 months ago

Still an issue - Perhaps Triage workflow should require input from maintainers before marking as stale

raldred commented 7 months ago

This is the same for me, this has never worked since I started using HA last year. Despite the recorder having all the data, I see the same as everyone else here. The overall daily figure is correct, so it's just an issue with whatever is responsible for calculating the hourly recordings. I have a feeling it's just taking the value of the last recording, rather than summing all the recordings for the hour.

image image

e10kstarfire commented 6 months ago

I am also seeing the same issue, when I am charging battery from grid reports Flux as 0.7kWh - this is wrong

image

The individual flux sensor is correct and you can see tracks higher than the battery while it is charging

image

issue-triage-workflows[bot] commented 3 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment ๐Ÿ‘ This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

ryanm101 commented 3 months ago

still not stale

issue-triage-workflows[bot] commented 3 weeks ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment ๐Ÿ‘ This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

ryanm101 commented 3 weeks ago

still an issue