Pi-hole API presenter
I use Pi-hole on my mirror-pi. And they give a read data API.
It would be nifty to be able to present the data on the mirror.
Already exists here:
can’t get it to work though, its say Loading all the time :-/
@VladoPortos same here, but on a Windows PC if i go to the MM url, the pihole stat show perfectly.
could it be a raspbian browser issue?
@bmarofsky Hey guys… any luck on getting this to work? I’m seeing the same issues and no errors in my logs.
got it work.
Check if your clone from git is correct from up an lowercase…
for me it was cloned to
also check that in the config style.
it only showed something for me, after setting
Maybe it helps someone
changed also some stats to see the more interesting stuff
oh i forgot something…
i also added this one at the pi server
In file /var/www/html/admin/scripts/pi-hole/php/auth.php add your host in the array of allow hosts: $AUTHORIZED_HOSTNAMES = array( $ipv4, $ipv6, str_replace(array("[","]"), array("",""), $_SERVER["SERVER_NAME"]), "pi.hole", "localhost", "your.hostname.com" );