Skip to content

Update pihole widget to use the v6 api #2021

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
wants to merge 1 commit into
base: v2-master
Choose a base branch
from

Conversation

phyzical
Copy link

@phyzical phyzical commented Jun 11, 2025

Updated to use the v6 api,

Things to note are you need to perform an auth to get a session,
There is a limit on the amount of sessions so we must clear previous sessions after getting auth,

I couldnt figure out how to persist SID for future requests so for now itll fire every interval

It also now defaults to just the last 24 hours of data, if someone wants to make this configurable they will just need to change the handler to be more than the previous 24 hours.

i dont think the error control is perfect but it atleast works again

resolves #2020

image

@phyzical phyzical changed the title update to use the v6 api Update pihole widget to use the v6 api Jun 11, 2025
metalcated pushed a commit to metalcated/Organizr that referenced this pull request Jul 22, 2025
- Updates PiHole integration to use v6 API
- Improves JavaScript functions
- Adds .vscode to gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pihole plugin v6 compatiblity
1 participant