MMM-Frame-Light
This is a module for the MagicMirror².
Add Frame Light to Magic Mirror. This will add a 40px wide band around the edge of the mirror, giving a nice little night coming from the mirror.
Installation
cd /home/pi/MagicMirror
git clone https://github.com/manifestinteractive/MMM-Frame-Light ./modules/MMM-Frame-Light
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-Frame-Light'
}
]
}
Turning Light On / Off
From within another module:
this.sendNotification('MIRROR_LIGHTS_ON', {})
this.sendNotification('MIRROR_LIGHTS_OFF', {})