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
70.88k stars 29.56k forks source link

Low-carbon energy consumed shows negative value in energy dashboard #92193

Closed proffa84 closed 1 year ago

proffa84 commented 1 year ago

The problem

Energy dashboard's low-carbon energy consumed start to show negative values. Also Low-carbon energy is totaly different than used grid energy("out of scale")

Screenshot 2023-04-28 19 00 50

I think that used energy in home(from grid) have some issue because normaly daily energy usage is 8-9kWh, at this time of day(19:00) about 6-7kWh and now I have only 3,9kWh. Is it possible that "some data is missing" and thats why I have that problem?

Screenshot 2023-04-28 19 07 58

I update core-2023.5.0b0 -> core-2023.5.0b1 17:35 (about 2 hours ago). I did'n check the values before update so I can't say that did I have same problem with core-2023.5.0b0.

What version of Home Assistant Core has the issue?

core-2023.5.0b1

What was the last working version of Home Assistant Core?

core-2023.4.6

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

home-assistant[bot] commented 1 year ago

co2signal documentation co2signal source

proffa84 commented 1 year ago

After I updated Core-2023.5.0b4 and waited until the next day(full, "clear day"), HA started showing correct value.

jack5mikemotown commented 1 year ago

i and i think lots others have been having this issue. at first i thought it was related to some misreported energy usage values but it persists today, and all my energy usage is as expected. one thing to note is that sensor.co2_signal_grid_fossil_fuel_percentage is showing an expected value at all times

ianmcorvidae commented 1 year ago

This looks to be a same or related issue to #79774 which predates 2023.5 -- the fossil energy consumption websocket endpoint appears to do very weird things with missing data, and unrelatedly the midnight-1am period seems to (in some cases?) be assumed as 100% low-carbon. More of my investigation is in comments on that issue.

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.