Franck Nijhof ebca3218c7
🔥Removes linkable_title everywhere (#9772)
* Automatically create linkable headers

* Visually improve position of linkable header chain icon

* Do not auto link  headers on homepage

* Remove linkable_title everywhere

* 🚑 Re-instante linkable_title plugin as NOOP
2019-07-04 19:08:27 +02:00

2.9 KiB

layout, title, description, date, sidebar, comments, sharing, footer, ha_category, ha_iot_class, logo, ha_release, redirect_from
layout title description date sidebar comments sharing footer ha_category ha_iot_class logo ha_release redirect_from
page Pi-hole Sensor Instructions on how to integrate Pi-hole sensors into Home Assistant. 2016-09-03 16:30 true false true true
System Monitor
Local Polling pi_hole.png 0.28
/components/sensor.pi_hole/

The pi_hole sensor platform displays the statistical summary of a Pi-hole system.

Configuration

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

{% configuration %} host: description: IP address of the host where Pi-hole is running. required: false type: string default: localhost location: description: The installation location of the Pi-hole API. required: false type: string default: admin ssl: description: "If true, use SSL/TLS to connect to the Pi-Hole system." required: false type: boolean default: false verify_ssl: description: Verify the certification of the system. required: false type: boolean default: true monitored_conditions: description: Defines the stats to monitor as sensors. required: false type: list default: ads_blocked_today keys: ads_blocked_today: description: Total number of blocked ads today. ads_percentage_today: description: Percentage of blocked ads. dns_queries_today: description: Total number of DNS queries handled by Pi-hole today. domains_being_blocked: description: Total number of domains blocked by Pi-hole. queries_cached: description: Total number of cache queries on the last 24 hours. queries_forwarded: description: Total number of forwarded queries on the last 24 hours. unique_clients: description: Total number of unique clients on the last 24 hours. unique_domains: description: Total number of unique domains on the last 24 hours. clients_ever_seen: description: Total number of seen clients. {% endconfiguration %}

Full example

# Example configuration.yaml entry
sensor:
  - platform: pi_hole
    host: IP_ADDRESS
    monitored_conditions:
      - ads_blocked_today
      - ads_percentage_today
      - dns_queries_today
      - domains_being_blocked
      - queries_cached
      - queries_forwarded
      - unique_clients
      - unique_domains

This sensor platform was not made by Pi-hole LLC or the Pi-hole community. They did not provide support, feedback, testing, or any other help during its creation. This is a third party platform which may break if Pi-hole changes their API in a later release. It is 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. Pi-hole is a registered trademark of Pi-hole LLC.