MagicMirror² to get uptime data from http://uptimerobot.com API.
- Clone this repository in your MagicMirror installation under modules.
- Rename plugin foler from 'MMM-uptimerobot' to 'uptimerobot'
- Add configuration to config.js
To use this module, add the following configuration block to the modules array in the config/config.js
file:
var config = {
modules: [
{
module: 'uptimerobot',
config: {
// See below for configurable options
}
}
]
}
No special requirements or dependencies.
Option | Description |
---|---|
api_key |
Required API Key from https://uptimerobot.com. API Key is available under 'My Settings' in 'API Setting' section (click on Show/hide it and if not available generate new one). |
useIcons |
Optional Flag to use icons (true) or text (false) values for status of monitor. Type: boolean Default: false - text values. |
useColors |
Optional Flag to use colors (true) for status of monitor Type: boolean Default: false - without colors. |
maximumEntries |
Optional Number of items (monitors) to shown. Type: int Default: 10 items. |
statuses |
Optional Filter out monitor by status (0 - paused; 1 - not checked yet; 2 - up; 8 - seems down; 9 - down Type: String Default: 0-1-2-8-9 (show monitors with all statuses). |