Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Wrong values on random days by A LOT #98

Open
3 tasks done
midadami opened this issue Nov 24, 2023 · 2 comments
Open
3 tasks done

[BUG] Wrong values on random days by A LOT #98

midadami opened this issue Nov 24, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@midadami
Copy link

midadami commented Nov 24, 2023

Describe the bug
Values on solar energy are wrong.

To Reproduce
No idea how to reproduce as its happens randomly. Happens less than once a week. My guess taking into account the value of the wrong number is that it happens when the sensors become unavailable due to any temporary problem.

Expected behavior
The solar energy value indicates I posses a energy plant so big I could power a small town.

Screenshots
Card (wrong value):
image
Energy dashboard (correct value):
image

Card (wrong value):
image
Energy dashboard (correct value):
image

Card (wrong value):
image
Energy dashboard (correct value):
image

Desktop (please complete the following information):
Home Assistant Desktop APP (its the same on any platform)

Smartphone (please complete the following information):
Home Assistant Android/IOS APP (its the same on any platform)

Additional context.
I use 2 sensors to get the solar energy as I have 2 inverters so each sensor belongs to each inverter.
One currently has a number of aprox 3,950kWh
Other currently has a number of aprox 15,930kWh
Montly values are correct even if that month has a day with wrong value.

Thanks a lot for this amazing card!!

Please make sure all of this applies and check the checkboxes, by writing "X" inside of them.

  • I understand that this is a channel for reporting bugs, not a support forum (If you need help configuring the card, go to: Discussions).

  • I have the latest version of the card installed.

  • I have cleared my browser cache after installing, updating and configuring the card. (I don't use a browser).

@midadami midadami added the bug Something isn't working label Nov 24, 2023
@Trogz64
Copy link

Trogz64 commented Nov 26, 2023

I believe I am having the same issue, so just to add my findings and +1 to the unavailable sensor theory - My tumble dryer sensor lost connection for about 26 hours (integration initialisation issue) and when it reconnected the value in the card is showing the all time value. I'm not sure what the exact cause is as I have had sensors drop out and reconnect before without issue. Perhaps it is the length of time or being over the change of a day?

The card is configured to use the "Today Energy" sensor. The "Month" and "Year" date selections are unaffected and show the correct values - not doubled due to one day reporting the all time value - It is only the single day date selection which is affected. Edit: It seems to show an incorrect value whenever the date selection does not include a previous "correct" value. e.g., if the sensor was unavailable on the 26th Nov, any date selection starting on the 26th will include the all time total value at that date plus the rest of the selection, but including a date before the 26th where there was sensor data will show the correct total for the duration selected (defaulting the sensor to 0 kWh when it was not available - as expected).

Energy flow card (incorrect):
image
Sensor history:
image
image
The energy dashboard reports the value correctly as 0 kWh:
image

@dcd-projectrose
Copy link

Likely to be same as issue I report #115

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants