Skip to content

Latest commit

 

History

History
executable file
·
29 lines (24 loc) · 992 Bytes

README.md

File metadata and controls

executable file
·
29 lines (24 loc) · 992 Bytes

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