nightscout web monitor
This acts as a web-based CGM (Continuous Glucose Monitor) to allow multiple caregivers to remotely view a patient's glucose data in real time. The server reads a MongoDB which is intended to be data from a physical CGM, where it sends new SGV (sensor glucose values) as the data becomes available. The data is then displayed graphically and blood glucose values are predicted 0.5 hours ahead using an autoregressive second order model. Alarms are generated for high and low values, which can be cleared by any watcher of the data.
Nightscout documentation is currently split to two locations. This page lists all the configuration options in Nightscout and is useful for users who've already gone through the installation process. IF you're looking for the documentation that looks like it's written for non-programmers, that's located at nightscout.github.io.
Older documentation is available at nightscout.info.
See CONTRIBUTING.md
Table of Contents
careportal (Careportal)boluscalc (Bolus Wizard)food (Custom Foods)rawbg (Raw BG)iob (Insulin-on-Board)cob (Carbs-on-Board)bwp (Bolus Wizard Preview)cage (Cannula Age)sage (Sensor Age)iage (Insulin Age)bage (Battery Age)treatmentnotify (Treatment Notifications)basal (Basal Profile)bolus (Bolus Rendering)connect (Nightscout Connect)bridge (Share2Nightscout bridge), deprecatedmmconnect (MiniMed Connect bridge), deprecatedpump (Pump Monitoring)openaps (OpenAPS)loop (Loop)override (Override Mode)xdripjs (xDrip-js)alexa (Amazon Alexa)googlehome (Google Home/DialogFLow) [broken]speech (Speech)cors (CORS)While you can install Nightscout on a virtual server or a Raspberry Pi, we do not recommend this unless you have at least some experience hosting Node applications and development using the toolchain in use with Nightscout.
If you're a hosting provider and want to provide our users additional hosting options, you're welcome to issue a documentation pull request with instructions on how to setup Nightscout on your system.
Our browserslist policy is documented in .browserlistrc.
We currently support approximately 91% of all browsers globally used. These include:
and_chr)chrome)edge)firefox)ios_saf)op_mini)opera)safari)samsung)Older versions or other browsers might work, but are untested and unsupported. We'll try to to keep Nightscout compatible with older iPads (e.g. Safari on iOS 10.3.4), but note that those devices are not supported by Apple anymore and have known security issues. Debugging these old devices gets harder due to Apple not supporting debugging the old devices on Macs that have been updated. Some features may not work with devices/browsers on the older end of these requirements.
bin/setup.sh)As a non-root user clone this repo then install dependencies into the root of the project:
$ npm install
https by default. If you use a reverse proxy like nginx or Apache to handle the connection security for you, make sure it sets the X-Forwarded-Proto header. Otherwise nightscout will be unable to know if it was called through a secure connection and will try to redirect you to the https version. If you're unable to set this Header, you can change the INSECURE_USE_HTTP setting in nightscout to true in order to allow insecure connections without being redirected.SECURE_HSTS_HEADER and SECURE_HSTS_HEADER_*WEBSITE_NODE_DEFAULT_VERSION=16.16.0
SCM_COMMAND_IDLE_TIMEOUT=300
build-essential package. Test your configuration by executing make and check if all tests are ok.Want to help with development, or just see how Nightscout works? Great! See CONTRIBUTING.md for development-related documentation.
The data being uploaded from the server to the client is from a MongoDB server such as MongoDB Atlas.
The easiest way to update your version of cgm-remote-monitor to the latest version is to use the update tool. A step-by-step update guide is available here. To downgrade to an older version, follow this guide.
Use the autoconfigure tool to sync an uploader to your config.
The Nightscout API enables direct access to your data without the need for Mongo access. You can fi
No open issues yet, or sync has not completed.