23 lines
868 B
Markdown
Raw Normal View History

2023-09-29 21:01:11 +03:00
---
title: PiHole
description: PiHole Widget Configuration
---
2024-01-24 14:27:47 -08:00
Learn more about [PiHole](https://github.com/pi-hole/pi-hole).
2023-09-29 21:01:11 +03:00
As of v2022.12 [PiHole requires the use of an API key](https://pi-hole.net/blog/2022/11/17/upcoming-changes-authentication-for-more-api-endpoints-required/#page-content) if an admin password is set. Older versions do not require any authentication even if the admin uses a password.
Allowed fields: `["queries", "blocked", "blocked_percent", "gravity"]`.
Note: by default the "blocked" and "blocked_percent" fields are merged e.g. "1,234 (15%)" but explicitly including the "blocked_percent" field will change them to display separately.
2023-09-29 21:01:11 +03:00
```yaml
widget:
type: pihole
url: http://pi.hole.or.ip
2024-03-31 20:34:46 -07:00
version: 6 # required if running v6 or higher, defaults to 5
key: yourpiholeapikey # optional
2023-09-29 21:01:11 +03:00
```
_Added in v0.1.0, updated in v0.8.9_