This custom component for Home-assistant. Component work with Home-assistant startinf 0.92 or later.
Create a directory called adguard
in the <config directory>/custom_components/
directory on your Home Assistant instance.
Install this component by copying the files in [/custom_components/adguard/
] from this repo into the new <config directory>/custom_components/adguard/
directory you just created.
Add this to your configuration.yaml
adguard:
host: <IP_ADDRESS> or <HOST_NAME>
username: <USER_NAME>
password: <PASSWORD>
This is all the optional configuration options for this component.
host:
description: IP address or Nmae of the host where Adguard Home is running.
required: true
type: string
default: localhost
port:
description: The port where GlancesAdguard Home is listening.
required: true
type: integer
default: 80
username:
description: Your username for Adguard Home.
required: true
type: string
password:
description: Your password for Adguard Home.
required: true
type: string
name:
description: The prefix for the sensors.
required: false
type: string
default: Adguarad
ssl:
description: "If `true`, use SSL/TLS to connect to the Adguard Home server."
required: false
type: boolean
default: false
verify_ssl:
description: Verify the certification of the system.
required: false
type: boolean
default: false
monitored_conditions:
description: Defines the stats to monitor as sensors.
required: false
type: list
default: queries
keys:
blocked:
description: Total number of blocked ads during 24h.
blocked_percentage:
description: Percentage of blocked ads during 24h.
queries:
description: Total number of DNS queries handled by Adguard Home during 24h.
This platform was not made by ADGUARD SOFTWARE LIMITED or the ADGUARD 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 ADGUARD changes their API in a later release. It is not official, not developed, not supported, and not endorsed ADGUARD SOFTWARE LIMITED or the ADGUARD community. The trademark ADGUARD
and the logo is used here to describe the platform. ADGUARD
is a registered trademark of ADGUARD SOFTWARE LIMITED.
- ludeeus for the library