Complete Pi-hole monitoring and control for Home Assistant
A dashboard card for managing and monitoring your Pi-hole DNS ad blocker from Home Assistant: statistics, controls, diagnostics, and optional system metrics.
Full documentation is available at: homeassistant-extras.github.io/pi-hole-card
type: custom:pi-hole
device_id: your_pihole_device_idThe card discovers Pi-hole entities from your configured device(s). For multiple instances, use a list under device_id; see the configuration guide.
Warning
You need a working Pi-hole integration in Home Assistant (recommended: Pi-hole v6 integration). Details: docs/INSTALLATION.md.
- Open HACS in your Home Assistant instance
- Click the menu icon and select "Custom repositories"
- Add:
https://github.com/homeassistant-extras/pi-hole-card - Select "Dashboard" as the category
- Click "Install"
- Download
pi-hole-card.jsfrom the latest release - Copy to
www/community/pi-hole-card/ - Add to your
configuration.yaml:
lovelace:
resources:
- url: /local/community/pi-hole-card/pi-hole-card.js
type: module- Join the Discussions - Share your insights, provide feedback, or ask questions
- Report Issues - Submit bugs or feature requests
- Submit Pull Requests - Review open PRs and submit your own
- Check out Discord - Need further help, have ideas, want to chat?
- Check out my other cards!
Want to contribute a language? See TRANSLATIONS.md.
This project is protected under the MIT License. For more details, refer to the LICENSE file.
- Built using LitElement
- Inspired by Pi-hole's own dashboard design
- Thanks to all contributors!
- Maintained by Patrick Masters / Curious Cat Consulting
Initial design: create initial card designAuto-discovery: automatic detection of Pi-hole entitiesDashboard statistics: visual representation of key metricsControl buttons: quick actions for common Pi-hole tasksVersion info: display component versions and updates - thanks @IIIdefconIII!Custom actions: tap/hold/double-tap actions for all elements - thanks @dunxdCard customization: custom title and icon optionsPerformance optimizations: improved code structure and efficiencyEnhanced entity mapping: ⭐ First contributor ⭐ better entity identification with translation keys - thanks @bastgauTranslations: ability to add translations - thanks @ajavibpMulti-Pi-hole support: manage and monitor multiple Pi-hole instances - thanks @Drudoo, @heylers, @mtwhitleyCollapsible sections: collapse/expand card sections to save space - thanks @TeleportistAdditional visualization options: using HA native more-info, etc. - thanks @dunxdPause ad-blocking: temporarily disable filtering for specified durations - thanks @StuartHaire, @VVRud, @ccpk1Entity ordering: customize the order of displayed entities - thanks @TeleportistSection hiding: ability to disable sections or entities - thanks @pcnate, @bastgau, @Anto79-opsVisual separators: add dividers for switches - thanks @TeleportistDiagnostics info indicator: show diagnostic messages count - thanks @WalterPepekaGreek translation: ⭐ Second contributor ⭐ added Greek language support - thanks @ChriZathensCustomizable badge actions: configurable tap/hold/double-tap actions for card badge - thanks @moshoariEnhanced pause durations: flexible time formats and human-readable display for pause buttons - thanks @moshoariBackwards compatibility: maintained Home Assistant integration backwards compatibility - thanks @ccheath, @ejpenneyGroup pause feature: enhanced pause functionality with group support - thanks @bastgauSystem metrics chart: visualize CPU and memory usage over time with customizable line styles - thanks me!
