Pi-Hole Integration Broken After v6 Upgrade

Has anyone noticed if their pi-hole integration suddenly fails after an upgrade to pi-hole v6? I upgraded to the latest version and every entity now fails. I removed the integration and re-added it and re-linked the 2 pi-hole instances I run and neither is reporting any data for any of the entities. I’ve restarted HA a number of times and still nothing. It isn’t giving me any errors…just no data. The only entities available are related to updates and all 3 of those show “unknown”. I suspect this latest version has broken something with the integration?


2 Likes

pihole v6 has a new api

4 Likes

Well damn I missed that. Thanks.

Same problem here. In piHole I get the following FTL log entry…

WARNING API: Bad request (key: bad_request, hint: The API is hosted at pi.hole/api, not pi.hole/admin/api)
1 Like

@OP I’m not sure if you’ve got it working again.
So, to get this working again. Version 6 uses HTTPS now. You’ll need to delete the app and add it again. Reconfigure it with HTTPS but don’t check verify SSL.

I did it with mine and I’m running the latest one and it is working.

I hadn’t gone back to check in a while since it last failed. This would be awesome! I’ll have to give this a try tomorrow. Thanks for pointing this out.

Hey,
There’s a new v6 integration with more functionality: GitHub - bastgau/ha-pi-hole-v6: 🛡️ This custom integration restores compatibility between Home Assistant and Pi-hole, which is no longer supported by the native integration due to API changes.

Also it has a lovelace card: GitHub - homeassistant-extras/pi-hole-card: Card to summarize information for, and to control your Pi-Hole 6 instance!

2 Likes

Thanks for this. I was aware of the new integration but not the card. Much appreciated.

Thanks for this thread with the new integration and card.
I tried re-setting up with SSL as @astraeus-sirius said - it loaded my devices but all entities were unavailable.
I hope they fix the core Pi-Hole integration or merge this V6 one in soon :crossed_fingers:

thanks, it back working