-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpihole.things
15 lines (14 loc) · 1.46 KB
/
pihole.things
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Thing http:url:piholenew "PiHole" [ baseURL="http://192.168.178.116/admin/api.php", refresh=36000] {
Channels:
Type string : DomainsBlocked "Domains Blocked" [ stateTransformation="JSONPATH:$.domains_being_blocked" ]
Type string : QueriesToday "Queries Today" [ stateTransformation="JSONPATH:$.dns_queries_today" ]
Type string : AdsBlockedToday "ADS Blocked Today" [ stateTransformation="JSONPATH:$.ads_blocked_today" ]
Type string : AdsPercentageToday "ADS Percentage Today" [ stateTransformation="JSONPATH:$.ads_percentage_today" ]
Type string : UniqueDomains "Unique Domains" [ stateTransformation="JSONPATH:$.unique_domains" ]
Type string : QueriesForwarded "Queries QueriesForwarded" [ stateTransformation="JSONPATH:$.queries_forwarded" ]
Type string : QueriesCached "Queries Cached" [ stateTransformation="JSONPATH:$.queries_cached" ]
Type string : UniqueClients "Unique Clients" [ stateTransformation="JSONPATH:$.unique_clients" ]
Type string : ClientsEverSeen "Clients ever seen" [ stateTransformation="JSONPATH:$.clients_ever_seen" ]
Type string : DomainsBlocked "DNS Queries all Types" [ stateTransformation="JSONPATH:$.domains_being_blocked" ]
Type string : Status "Status" [ stateTransformation="JSONPATH:$.status" ]
}