Skip to content
TPLink Smarthome Module for MagicMirror2
JavaScript CSS
Branch: master
Clone or download
slametps fix improper condition checking
fix improper condition checking
Latest commit 4bad9fc May 29, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
others initial commit May 7, 2018
translations
.gitattributes :octocat: Added .gitattributes & .gitignore files May 7, 2018
.gitignore :octocat: Added .gitattributes & .gitignore files May 7, 2018
MMM-TPLink.css initial commit May 7, 2018
MMM-TPLink.js initial commit May 7, 2018
README.md update config description May 7, 2018
node_helper.js fix improper condition checking May 29, 2018
package.json initial commit May 7, 2018

README.md

MMM-TPLink [GitHub license]

TPLink Smarthome Module for MagicMirror2. This modules inspired and using some codes from MMM-Hue.

Supported Devices

Model Type
HS100, HS105, HS110, HS200 Plug
LB100, LB110, LB120, LB130, LB200, LB230 Bulb

Example

Dependencies

Installation

  1. Clone this repo into ~/MagicMirror/modules directory.

  2. Go to ~/MagicMirror/modules/MMM-TPLink directory and do npm install

  3. Configure your ~/MagicMirror/config/config.js:

    {
        module: 'MMM-TPLink',
        position: 'top_right',
        config: {
        }
    }
    

Config Options

Option Default Description
colour false displaying power status in colour or not
updateInterval 600000 ms (10 minutes) how often should the devices states refreshed
showOnlyOn false if set to true the module shows only the lights which are on
showLabel true show header label?
timeout 3000 how long the discovery should be taken
animationSpeed 2500 ms (2.5 s) Speed of the update animation
You can’t perform that action at this time.