Screenshots From the README of bastgau/ha-pi-hole-v6.
About
Pi-hole V6 Integration connects Home Assistant to a Pi-hole system that uses the version 6 API, working locally. It restores support that the native integration lost after the Pi-hole API changed in 2025. It adds sensors for filtering statistics such as blocked ads, DNS queries, cached and forwarded queries, and clients, plus a status binary sensor. Buttons run maintenance tasks like running gravity, restarting the FTL service, flushing DNS logs and the network table, and refreshing data, while actions disable Pi-hole for a set time or enable it again. Update entities report core, Docker, FTL and web interface versions. Optional network device tracking creates presence entities, with an address filter that can work as an allow list or an exclude list, and refresh intervals for live and statistical data can be adjusted. It is added as a custom repository in the Marketplace and set up in the UI.
Automatic summary of the README and code of bastgau/ha-pi-hole-v6. Something wrong, or are you the maintainer and want your own text here? Get in touch
Supports
Works locally Talks to your devices on your own network. No vendor cloud in between.
From the Marketplace Installed through the Marketplace, formerly HACS.
Actively maintained Its author released or pushed a change in the last six months.
Provides
- Switches
- Sensors
- Presence
Setting it up
Add its repository to the Marketplace as a custom repository and install it, then restart Home Assistant and add it under Settings, Devices and services.
Pi-hole V6
- Name
- PasswordPassword to be used for login
- Address
Pi-hole V6
- PasswordPassword to be used for login
After setup
- Live refresh frequency (seconds)How often the entities that reflect the current state of your Pi-hole are refreshed: service and blocking status, switches, and the live indicators. Lowering it makes the dashboard more reactive, at the cost of more requests to your Pi-hole. Defaults to 120 seconds.
- Statistics refresh frequency (seconds)How often the cumulative counters and the periodic checks are refreshed. Their values keep moving but are only meaningful as a trend, so a longer interval reduces the number of rows written to the recorder database without losing any data. Must be greater than or equal to the live refresh frequency. Defaults to 300 seconds.
- Enable network device trackingDisabled by default. When enabled, retrieves the list of network devices from Pi-hole to create device_tracker entities.
- Use address list as a whitelistWhen enabled, only the listed addresses are tracked. When disabled, the listed addresses are excluded and all others are tracked.
- Filtered addressesOne MAC address (or Pi-hole pseudo-MAC, e.g. IP-192.168.1.10) or IP address per line, or separated by commas. IP addresses match a device's current IP and may stop matching if it changes. Leave empty to disable filtering.
Texts from the code of bastgau/ha-pi-hole-v6.
Entities
- Binary sensorsStatus
- ButtonsFlush the network table, Flush the DNS logs, Run gravity, Restart pihole-FTL, Refresh data, Purge FTL diagnosis messages
- PresenceNetwork device
- SensorsAds blocked during the last 24 hours, Ads percentage blocked during the last 24 hours, Seen clients, DNS queries during the last 24 hours, Domains blocked, Average number of DNS queries, DNS queries cached, DNS queries forwarded, DNS unique clients, DNS unique domains, Remaining until blocking mode, Latest data refresh, and 6 more
- UpdatesCore update, Docker update, FTL update, Web interface update
Actions
- DisableDisables configured Pi-hole for an amount of time.Fields: Duration
- ActiveEnables configured Pi-hole.
From the README
The Pi-hole integration allows you to retrieve statistics and interact with a Pi-hole system.
- Monitor Pi-hole status.
- Enable/Disable Pi-hole via Home Assistant.
- Retrieve filtering statistics.
- Compatibility with the Pi-hole V6 API.
Shows in Vulpo
Quick Toggle card, Button card, Chart card, Apple Watch, Control Center.Information
- Installs
- 1.9k sharing analytics
- GitHub stars
- 521
- Connection
- Works locally
- Upkeep
- Updated in the last 6 months
- Version
- v1.22.1,
- Category
- Computers and network, Routers and network
- Kind
- Marketplace integration
- Brand
- Pi-hole
- Needs
- Added as a custom repository in the Marketplace
- Domain
pi_hole_v6- Issues
- Report an issue
















