pi_hole sensor platform is displaying the statistical summary of a Pi-hole system.
To enable this sensor, add the following lines to your
configuration.yaml file for a GET request:
# Example configuration.yaml entry sensor: - platform: pi_hole
(string)(Optional)IP address of the host where Pi-hole is running.
Default value: localhost
(string)(Optional)The installation location of the Pi-hole API.
Default value: admin
true, use SSL/TLS to connect to the Pi-Hole system.
Default value: false
(boolean)(Optional)Verify the certification of the system.
Default value: true
(list)(Optional)Defines the stats to monitor as sensors.
Default value: ads_blocked_today
Total number of blocked ads today.
Percentage of blocked ads.
Total number of DNS queries handled by Pi-hole today.
Total number of domains blocked by Pi-hole.
Total number of cache queries on the last 24 hours.
Total number of forwarded queries on the last 24 hours.
Total number of unique clients on the last 24 hours.
Total number of unique domains on the last 24 hours.
Total number of seen clients.
This sensor platform was not made by Pi-hole LLC or the Pi-hole community. They didn’t provide support, feedback, testing or helped in any way while it was created. This is third party, may not work if Pi-hole is breaking their API with the latest release, not official, not developed, not supported and not endorsed Pi-hole LLC or the Pi-hole community. The trademark
Pi-hole and the logo is used here to describe the platform and only to describe.
Pi-hole is a registered trademark of Pi-hole LLC.