MoroiuValentin / MMM-Blynk

MIT License
0 stars 0 forks source link

MMM-Blynk

This is a module for the MagicMirror².

I was looking for a solution to interconnect Blynk projects with MagicMirror. For those who do not know what Blynk is, you can take a look at http://www.blynk.cc/.

This module automatically detects DIGIT4_DISPLAY and LABELED_VALUE_DISPLAY widgets (for the moment), then extracts 'label' : 'value' and displays them.

The advantage of using this solution is that you can grab this information over the internet from a remote location.

Installation

1. Navigate into your MagicMirror's modules folder  
2. Execute `git clone https://github.com/MoroiuValentin/MMM-Blynk.git`.

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-Blynk",
            header: "Blynk Project",
            position: "bottom_right",
            config: {
                authToken: "",
                displayType: "" // options available are 'box' and 'simple'.  

            }
        }
    ]
}

Configuration options

The following properties can be configured:

Option Description
authToken For every Blynk progect you get a authentication token.

Possible values: string
Default value: ""
displayType Control how information will be display

Possible values: simple, box, lcd
Default value: "box"