Skip to content

Link to PiHole 6 Lovelace card #84

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
warmfire540 opened this issue May 6, 2025 · 4 comments
Open

Link to PiHole 6 Lovelace card #84

warmfire540 opened this issue May 6, 2025 · 4 comments
Labels
enhancement New feature or request

Comments

@warmfire540
Copy link

Hey @bastgau - I made a card specifically for this integration: https://github.com/homeassistant-extras/pi-hole-card

If you approve, one day maybe you can link in your README to drive traffic both ways? Unless you don't want this repo to get too popular, but the actions and what it does are pretty nice...

@warmfire540 warmfire540 added the enhancement New feature or request label May 6, 2025
@bastgau
Copy link
Owner

bastgau commented May 6, 2025

Nice job.

I will modify the readme of my repository next week.

I could provide the administration url somewhere to avoid to request it in the card. As I know the API endpoint I can deduce the administration url.

A few modifications related to the update entities will be made soon (#59).

I will notice you if the card is impacted.

In the documentation you indicate that the flush actions are supported but it seems that the actions are not present in the card. It should be nice if the user was able to indicate the action to display 😉.

Thanks.

@warmfire540
Copy link
Author

Appreciate it!

If you could supply the instance URL that be great.. one issue i have that i can't figure out, is Pi-hole won't link to the sub pages.
i.e if i do this in dev tools, from HA, it doesn't like to network page, or /queries

window.open('http://pi-hole.local/admin/network', '_blank'). does your Pi-hole do the same? maybe it's a security thing I may peek at their web code to see what's up.

AHH - you're right, i forgot the flush! I remember writing the code for the ARP entity, and then thinking I didn't know what it meant so i forgot to add that.. will do that.. thanks.

@bastgau
Copy link
Owner

bastgau commented May 6, 2025

I won't be able to check / tests the urls before next week.

Just remember that the administration url is already contained in the device. When you click to "visit" button, a new page is opened to the correct url. Don't know if you are able to retrieve this url on your side.

If it's not possible, I will create new attributes somewhere.

Screenshot_2025-05-07-01-09-40-15_c3a231c25ed346e59462e84656a70e50.jpg

@warmfire540
Copy link
Author

ok thanks, didn't notice this little button. didn't know integrations could put stuff there. I'll check out if i can retrieve that info from the integration manifest

no rush on things

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants