manifestinteractive / MMM-Frame-Light

Add Frame Light to Magic Mirror

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

screenshot

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', {})

About

Add Frame Light to Magic Mirror

License:MIT License


Languages

Language:JavaScript 78.1%Language:CSS 21.9%