Skip to content
Pi-Hole stats for MagicMirror2
JavaScript
Branch: master
Clone or download
Latest commit 8e608e0 Feb 16, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit Dec 5, 2016
MMM-pihole-stats.js showSources Jan 25, 2017
README.md Use apiURL Feb 16, 2017
package.json Initial commit Dec 5, 2016

README.md

MMM-pihole-stats

Pi-Hole stats for MagicMirror2

Dependencies

Installation

  1. Clone this repo into ~/MagicMirror/modules directory.

  2. 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.
        }
    }
    

Configuration Options

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
You can’t perform that action at this time.