Skip to content

Ads blocked count error #85

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

Open
ajavibp opened this issue May 7, 2025 · 4 comments
Open

Ads blocked count error #85

ajavibp opened this issue May 7, 2025 · 4 comments
Labels
question Further information is requested

Comments

@ajavibp
Copy link

ajavibp commented May 7, 2025

Home Assistant version:
HA 2025.4.3, frontend 20250411.0

Pi-hole V6 Integration version:
v1.10.0

Describe the bug
The counter of blocked ads goes down throughout the day, something that doesn't make sense, so I guess there is some error in taking this data.

Expected behavior
The number of blocked ads in a day can only increase, it should never decrease until the day is over.

Screenshots
Image

@bastgau
Copy link
Owner

bastgau commented May 7, 2025

Hey @ajavibp

The API must provide data for the last 24 hours.

It explains why the quantities increase and decrease.

@bastgau bastgau added the question Further information is requested label May 7, 2025
@ajavibp
Copy link
Author

ajavibp commented May 7, 2025

But it decreases within those 24 hours, is that normal? So I don't really understand what this data means.
Thank you

@bastgau
Copy link
Owner

bastgau commented May 7, 2025

It is normal.

If the quantity of ads blocked during the previous hours is inferior to ads blocked before 24 hours.

You should see the same information in the Pi-hole dashboard.

@zeg064
Copy link

zeg064 commented May 8, 2025

A better name for the sensor would be "Ads blocked last 24h". It is a rolling 24h period, not from midnight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants