Skip to content

spydersoft-consulting/MMM-StatusPageIo

Repository files navigation

MMM-StatusPageIo

A MagicMirror² helper module to display incident and component status from a StatusPage.io page.

Platform license Test Status Known Vulnerabilities

Example Scheduling

Installation

In your terminal, go to your MagicMirror's Module folder:

cd ~/MagicMirror/modules

Clone this repository:

git clone https://github.com/spydersoft-consulting/MMM-StatusPageIo.git

Go to the modules folder:

cd MMM-StatusPageIo

Install the dependencies and transpile the Typescript

npm install

Add the module to the modules array in the config/config.js file:

    {
        module: 'MMM-StatusPageIo'
    },

Config Options

Option Default Description
pageId '' The Page ID of the StatusPage.io page to monitor.
animationSpeed 3000 Optional The speed of the show and hide animations in milliseconds
useHeader true Optional Whether or not to show the header
maxWidth 300px Optional The maximum width for this module
initialLoadDelay 3250 Optional How long to wait, in milliseconds, before the first status check
updateInterval 2 * 60 * 1000 Optional How often to check the status (defaults to 2 minutes)
showComponents true Optional Output component status when set to true
componentsToIgnore [] Optional String array of components to ignore in display

Config Examples

Minimal Configuration

    {
		module: "MMM-StatusPageIo",
		position: "bottom_right",
		config: {
			pageId: "abcdefgh"
		}
	},

Updating

To update the module to the latest version, use your terminal to go to your MMM-StatusPageIo module folder and type the following command:

git pull
npm install

If you haven't changed the modules, this should work without any problems. Type git status to see your changes, if there are any, you can reset them with git reset --hard. After that, git pull should be possible.

Contributing

Please read the Contribution Guide for details on contributing to the project.

About

Magic Mirror Module for StatusPage.IO

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published