You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rune 452f99df01 Update '' 2 years ago
.gitignore Initial commit 4 years ago
.npmignore Initial commit 4 years ago
LICENSE Update 'LICENSE' 4 years ago
MMM-ping2.js Changes.... 2 years ago Update '' 2 years ago
mmm-ping2.png Added screenshot 4 years ago
node_helper.js changes 4 years ago
package-lock.json Changes.... 2 years ago
package.json Initial commit 4 years ago

MMM-ping2 GitHub license

Ping Module for MagicMirror2 Based on MMM-ping by fewieden



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

  2. Configure your ~/MagicMirror/config/config.js:

        module: 'MMM-ping2',
        position: 'bottom_right',
        config: {
            hosts: [
                        uri: '',
                        name: 'GitHub'
                        uri: '',
                        name: 'The server',
                        color 'blue'
  3. Run command npm install --production in ~/MagicMirror/modules/MMM-ping2 directory.

  4. Run command sudo chmod u+s /bin/ping.

Config Options

Option Default Description
display 'both' what should be displayed 'online', 'offline' or 'both'
hosts [] an array of addresses to ping e.g. { uri: '', name: 'gitLab', color: '#B23A73'} uri can be either IP address or a FQDN The color is optional. If no color is given, the default (white) will be used.
updateInterval 5 how often the module should ping the hosts in minutes
size '24px' font size in px or pt