/MMM-RandomBackground

Primary LanguageJavaScriptApache License 2.0Apache-2.0

MagicMirror Module: MMM-RandomBackground

A MagicMirror Module to show random backgrounds from a local folder on the Mirror.

Installation

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

cd ~/MagicMirror/modules
git clone https://github.com/Ultimatum22/MMM-RandomBackground.git
npm install

Configure the module in the config.js file.

Using the module

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

modules: [
	{
		module : 'MMM-RandomBackground',
		position : 'fullscreen_below', // Any region but this one makes the most sense
		config : {
			animationSpeed : 2000,
			updateInterval : 5000
		}
	}
]

Configuration options

The following properties can be configured:

Option Description
animationSpeed How fast the new image fades into the old one (in milliseconds). A higher value means a slower animation. Default is 1000 ms.
updateInterval How often a new photo is displayed, default is 10 minutes.
photoDirectories [Functionality not yet implemented]