Ping Module for MagicMirror²
Switch branches/tags
Nothing to show
Clone or download
Latest commit e8d6a8f Feb 27, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github preview Feb 27, 2017
.codeclimate.yml add linter Feb 27, 2017
.editorconfig add linter Feb 27, 2017
.eslintrc add linter Feb 27, 2017
.mdlrc add linter Feb 27, 2017
.travis.yml add linter Feb 27, 2017
LICENSE Initial commit Jul 26, 2016
MMM-ping.js add linter Feb 27, 2017
README.md preview Feb 27, 2017
node_helper.js add linter Feb 27, 2017
package.json add linter Feb 27, 2017

README.md

MMM-ping GitHub license Build Status Code Climate Known Vulnerabilities

Ping Module for MagicMirror2

Example

Dependencies

Installation

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

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

    {
        module: 'MMM-ping',
        position: 'bottom_right',
        config: {
            hosts: [
                'www.github.com',
                'forum.magicmirror.builders'
            ]
        }
    }
    
  3. Run command npm install --productive in ~/MagicMirror/modules/MMM-ping directory.

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

Config Options

Option Default Description
colored false show badge in color or not
display 'both' what should be displayed 'online', 'offline' or 'both'
hosts [] addresses to ping
updateInterval 5 how often the module should ping the hosts in minutes
font 'medium' font size 'xsmall', 'small', 'medium', 'large' or 'xlarge'