Pi-Hole stats for MagicMirror2
- An installation of MagicMirror2
-
Clone this repo into
~/MagicMirror/modules
directory. -
Configure your
~/MagicMirror/config/config.js
:{ module: 'MMM-pihole-stats', position: 'top_left', // Or any valid MagicMirror position. config: { // See 'Configuration options' for more information. } }
Option | Default | Description |
---|---|---|
apiURL |
http://pi.hole/admin/api.php |
Absolute URL to the Pi-Hole admin API |
showSources |
true |
Show request sources |
showSourceHostnameOnly |
true |
Only show hostname if applicable without showing IP address |
updateInterval |
600000 |
Time in ms to wait until updating |
retryDelay |
2500 |
Time in ms to wait before retry |