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

Inconsistent values between HA Energy Dashboard and Bright App #113

Closed
kevindbeard opened this issue Jan 11, 2022 · 2 comments
Closed

Inconsistent values between HA Energy Dashboard and Bright App #113

kevindbeard opened this issue Jan 11, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@kevindbeard
Copy link

Describe the bug
I've been running the integration for about a week and I've noticed that the numbers displayed in the energy dashboard never quite match what's shown in the Bright app

To Reproduce
Steps to reproduce the behaviour:
Add "Energy Consumption (year) to the HA energy dashboard and let it run for a few days
Compare the chart with what is shown in the Bright app

Expected behaviour
Beginning and end of day will be wrong by half an hour, but other timeslots during the day should match

Screenshots
energy_dashboard
bright_app

Version
What version of the integration and what version of Home Assistant are you running?
0.5.2

Debug log
Enable debug logging by following the instructions here

Additional context
Add any other context about the problem here.

@kevindbeard kevindbeard added the bug Something isn't working label Jan 11, 2022
@ColinRobbins
Copy link
Contributor

I suggest this is casued by different sampling methods.

The Bright app is likely (a guess on my part) to show the a measurement from the meter by asing for a reading of a specific time slot e.g., 07:00 to 08:00.

Whereas the way HA and thus this integration work is by polling and taking the current meter reading. It then calcuates usage based on the difference between now and the previous reading.. Thus where HA shows 07:00 to 08:00, it could actually mean 07:10 to 08:10.

This is then further confused by the fact updates from DCC come every 30 minutes, depending on how this aligns with the hour, the results will be different.

So not really a "bug", but a "feature" of the way it all works.

@kevindbeard
Copy link
Author

Ahh that makes sense thank you :-)

And thanks for the integration, it's much better than calling the Octopus API directly from HA.

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

2 participants