The MMM-NokiaHealth
module is for MagicMirror. It is a simple way to a graph of your wifi scale from Nokia to your MagicMirror. Please note that this is a rough alpha version
Step up on your scale, get a reading, an withing a few seconds the graph shows up on your mirror.
To use this module, add it to the modules array in the config/config.js
file:
modules: [
{
module: 'MMM-NokiaHealth',
position: 'middle_center', // This can be any of the regions.
config: {
// See 'Configuration options' for more information.
userid: ["youruserid"], // only works with one right now
width: "350px", // Optional. Default: 100%
height: "300px" //Optional. Default: 100px
},
}
]
The following properties can be configured:
Option | Description |
---|---|
userid |
the URL(s) in the iFrame Example: ["123456"]
Default value: ["0"]
Please note that currently it only works with one userid |
width |
the width of the iFrame Example: "100%"
Example: "200px"
Default value: "100%"
|
height |
the width of the iFrame Example: "100%"
Example: "300px"
Default value: "100px"
|
For this to work you first has to grant access for the module to get your data, currently it works though a proxy webserver here: http://apps.ecomerc.com/nokiahealth/login.php
Once you are logged in, you can see your userid in the address bar. (sorry for the lack of nice ui, but hey ALPHA)
If you want to show the graph on your mirror, you have to execute the following url: http://apps.ecomerc.com/nokiahealth/user.php?userid=[youruserid]&a=set
This will set a flag on the server which the module will check. We are doing it this way because I really do not want to open ports in my firewall for a simple flag check.
Use this for IFTTT.com when a new measurement shows up.
For the lack of documentation and totally alpha stage.