How to get Pi-Hole value into Domoticz
Posted: Saturday 16 April 2016 11:54
Hi,
Yesterday I installed Pi-hole (pi-hole.net) on my raspberry pi. This software is to block advertisements and it's working great!
When I enter the following URL I get the current values for the number of Ads being blocked today and some other values.
http://<raspberrypi IP/admin/api.php
{"domains_being_blocked":"51,409","dns_queries_today":"3,311","ads_blocked_today":"193","ads_percentage_today":"5.8"}
Now I would like to put this values into Domoticz but I have no idea how?
Anyone know an easy way to accomplish this?
Thanks in advance!
Yesterday I installed Pi-hole (pi-hole.net) on my raspberry pi. This software is to block advertisements and it's working great!
When I enter the following URL I get the current values for the number of Ads being blocked today and some other values.
http://<raspberrypi IP/admin/api.php
{"domains_being_blocked":"51,409","dns_queries_today":"3,311","ads_blocked_today":"193","ads_percentage_today":"5.8"}
Now I would like to put this values into Domoticz but I have no idea how?
Anyone know an easy way to accomplish this?
Thanks in advance!