Skip to content

Pi-hole

Pi-hole blocks ads at the DNS level. This shows blocking over the last 24 hours, with buttons to pause it, and the assistant can pause it too, after asking.

config.yaml
integrations:
pihole:
type: pihole
url: http://pihole
password: ${PIHOLE_PASSWORD}
href: https://dns.example.com/admin
layout:
- title: Network
widgets:
- pihole.stats
OptionTypeDefaultWhat it does
urlURLrequiredWhere the service answers, from Valet’s side.
passwordstringrequiredThat account’s password. Use ${VAR}.
hrefstringoptionalWhere the card links to, when that differs from url.

One widget. Its key is pihole.stats, using the instance name from your config.

pihole.stats · chart card · refreshes every minute while the page is open.

Pi-hole, Pi-hole, small size
Small
Pi-hole, Pi-hole, wide size
Wide
Pi-hole, Pi-hole, medium size
Medium
Pi-hole, Pi-hole, tall size
Tall
Pi-hole, Pi-hole, large size
Large
Pi-hole, Pi-hole, in chat
In chat
Pi-hole Pi-hole: Paused
Paused
Pi-hole Pi-hole: Blocking off
Blocking off
Pi-hole Pi-hole: Can't reach it
Can't reach it

What the assistant can use, once its access level allows it. Read tools run freely. Everything else asks first.

ToolAccessWhat it does
adblock_statusreadPi-hole: share of DNS queries blocked today, totals, whether blocking is on, and the most blocked domains.
adblock_pausecontrolPause Pi-hole ad blocking for some minutes (e.g. a site breaks), or resume it with minutes: 0.

What the page’s own buttons and controls can do. They need a signed-in person or a trusted network.

ActionWhat it does
pausePause or resume ad blocking

Slides this integration adds to the recap.

Recap slide: Pi-hole stopped 1,204,118 requests. That's 14% of everything your devices tried to look up, across 23 devices. The worst offenders lately:
Pi-hole stopped 1,204,118 requests