Skip to content

Magic Mirror Module - That displays current glucose level from the open source project Nightscout

Notifications You must be signed in to change notification settings

funkstille/MMM-Nightscout

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MMM-Nightscout

Magic Mirror Module - Keep track of blood glucose levels with ease thru your magic mirror. Display real time blood glucose levels, with trends and warnings. Powered by Nightscout

Prerequisites and requirments

  1. You need to have Nightscout enabled CGM
  2. You need to setup your own Nightscout website, please follow this tutorial

Install

  1. Clone repository into ../modules/ inside your MagicMirror folder.
  2. Run npm install inside ../modules/MMM-Nightscout/ folder
  3. Add the module to the MagicMirror config

Update

  1. Run git pull inside ../modules/MMM-Nightscout/ folder.
  2. Run npm install inside ../modules/MMM-Nightscout/ folder

Configuration

modules: [
    ...
    {
        module: "MMM-Nightscout",
            position: "top_left",
            config: {
                debug: true, //Optional: set to true if you want debug logs
                baseUrl: 'https://nightscout.azurewebsites.net' //Required: Base url to your Nightscout webapplication. Please make sure to not have any traling /
                colorEnabled: true //Optional: set to true if you want to get colorful bs values. Default is false.
                chartWidth: 350,  //Optional: set chart width in px. Default is 350px.
                chartHours: 4, //Optional: number of hours that chart tracks. Default is 4. 
                renderChart: true  //Optional: set to false if you dont want to get a chart. Default is true.
                extendedHeader: false //Option: set to false if you want to hide server title and last glucose value.
        }
    },
    ...
]

Chart

Nightscout similare chart that has fully configurable dimansions. Support color coding and could track up to 24hrs of data.

Nightscout Module

Nightscout Module

Configs retrived from Nightscout

Supports both mmol/L and mg/dL

mmol/L

Nightscout Module

mg/dL

Nightscout Module

Color theme

Set colorEnabled = true to render blood glucose level based on Nightscout thresholds (critical, warning, normal). Default is false.

Nightscout Module

Screenshot

Nightscout Module

About

Magic Mirror Module - That displays current glucose level from the open source project Nightscout

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%