Please read the release notes carefully since this update requires adjustments to your Raspberry Pi configuration!
Pi-hole API presenter
lali last edited by
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.
VladoPortos last edited by
Already exists here:
can’t get it to work though, its say Loading all the time
bmarofsky last edited by
@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?
beeficecream last edited by
@bmarofsky Hey guys… any luck on getting this to work? I’m seeing the same issues and no errors in my logs.
barnosch last edited by barnosch
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
barnosch last edited by
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" );
nitram last edited by
Thanks for the tip barnosch, adding the hostname - for me it took adding the ip address of the magic mirror raspberry pi (where “your.hostname.com” is in the example line) - to that file on the pi-hole raspberry pi did the trick.
However, I now have the same issue that others have reported of this module causing the mirror to freeze and/or crash after a few hours, maybe a day of uptime. I’ve disabled it and everything is working again, but does anyone know why this module causes this, or any likely fixes?