jasonyork / MMM-auto-refresh

A Magic Mirror 2 module that will auto refresh the page

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MMM-auto-refresh

This is a module for the MagicMirror².

This module will force a page refresh based on the specified interval. This can be particularly useful when running in serveronly mode and you notice the some modules are not auto updating after long periods.

Using the module

To use this module, add the following configuration block to the modules array in the config/config.js file:

var config = {
    modules: [
        {
            module: 'MMM-auto-refresh',
            config: {
                // See below for configurable options
            }
        }
    ]
}

Configuration options

Option Description
refreshInterval Optional How often to refresh the page

Type: int(milliseconds)
Default 8640000000 milliseconds (24 hours)

About

A Magic Mirror 2 module that will auto refresh the page

License:MIT License


Languages

Language:JavaScript 100.0%