| BASE_URL | |
| The BASE_URL consists of your Ubuntu computer/VPS IP and the Port 1337 on which the Nightscout app runs (replace 123.456.789.123 with your IP and leave :1337). | |
| MONGO_CONNECTION | |
| The MongoDB Connection String to connect to your MongoDB cluster. It will look like this: mongodb://MONGO_NS_USER:MONGO_NS_PASSWORD@127.0.0.1:27017/MONGO_NS_DB but you need to replace MONGO_NS_USER, MONGO_NS_PASSWORD and MONGO_NS_DB by your own database user and name. | |
| API_SECRET | |
| A passphrase that must be at least 12 characters long. Avoid 'special' characters, which can cause problems in some cases. | |
| DISPLAY_UNITS | |
| Preferred BG units for the site: 'mg/dl' or 'mmol/l' (or just 'mmol'). |
| CUSTOM_TITLE | |
| The display name for the Nightscout site. Appears in the upper left of the main view. Often set to the name of the CGM wearer. | |
| THEME | |
| Default setting for new browser views for the color theme of the CGM graph. ('default' 'colors' or 'colorblindfriendly') | |
| ENABLE | |
| Plugins to enable for your site. Must be a space-delimited lower-case list. Include the word 'bridge' here if you are receiving data from the Dexcom Share service. | |
| SHOW_PLUGINS | |
| Default setting for whether or not these plugins are checked (active) by default not merely enabled. Include plugins here as in the ENABLE line; space-separated and lower-case. | |
| TIME_FORMAT | |
| Default setting for new browser views for the time mode. ('12' or '24') | |
| NIGHT_MODE | |
| Default setting for new browser views for whether Night Mode should be enabled. ('on' or 'off') | |
| BOLUS_RENDER_OVER | |
| U value over which the bolus values are rendered on the chart if the 'x U and Over' option is selected. |
| BRIDGE_USER_NAME | |
| Your Dexcom account username to receive CGM data from the Dexcom Share service. Also make sure to include 'bridge' in your ENABLE line. | |
| BRIDGE_PASSWORD | |
| Your Dexcom account password to receive CGM data from the Dexcom Share service. Also make sure to include 'bridge' in your ENABLE line. | |
| BRIDGE_SERVER | |
| If you are bridging from the Dexcom Share service and are anywhere *outside* the US change this to EU. ('US' or 'EU') |
| ALARM_TYPES | |
| simple' and/or 'predict'. Simple alarms trigger when BG crosses the various thresholds set below. Predict alarms use a formula that forecasts where the BG is going based on its trend. You will *not* get warnings when crossing the BG thresholds set below when using the predict type. | |
| ALARM_URGENT_HIGH | |
| Default setting for new browser views for the Urgent High alarm (triggered when BG crosses BG_HIGH). ('on' or 'off') | |
| BG_HIGH | |
| Urgent High BG threshold triggers the ALARM_URGENT_HIGH alarm. Set in mg/dL or mmol/L as set in DISPLAY_UNITS variable. | |
| ALARM_URGENT_LOW | |
| Default setting for new browser views for the Urgent Low alarm (triggered when BG crosses BG_LOW). ('on' or 'off') | |
| BG_LOW | |
| Urgent Low BG threshold triggers the ALARM_URGENT_LOW alarm. Set in mg/dL or mmol/L as set in DISPLAY_UNITS variable. | |
| ALARM_HIGH | |
| Default setting for new browser views for the High alarm (triggered when BG crosses BG_TARGET_TOP). ('on' or 'off') | |
| BG_TARGET_TOP | |
| High BG threshold triggers the ALARM_HIGH alarm. Set in mg/dL or mmol/L as set in DISPLAY_UNITS variable. | |
| ALARM_LOW | |
| Default setting for new browser views for the Low alarm (triggered when BG crosses BG_TARGET_BOTTOM). ('on' or 'off') | |
| BG_TARGET_BOTTOM | |
| Low BG threshold triggers the ALARM_LOW alarm. Set in mg/dL or mmol/L as set in DISPLAY_UNITS variable. | |
| ALARM_TIMEAGO_URGENT | |
| Default setting for new browser views for an urgent alarm when CGM data hasn't been received in the number of minutes set in ALARM_TIMEAGO_URGENT_MINS. ('on' or 'off') | |
| ALARM_TIMEAGO_URGENT_MINS | |
| Default setting for new browser views for the number of minutes since the last CGM reading to trigger an ALARM_TIMEAGO_URGENT alarm. | |
| ALARM_TIMEAGO_WARN | |
| Default setting for new browser views for a warning alarm when CGM data hasn't been received in the number of minutes set in ALARM_TIMEAGO_WARN_MINS. ('on' or 'off') | |
| ALARM_TIMEAGO_WARN_MINS | |
| Default setting for new browser views for the number of minutes since the last CGM reading to trigger an ALARM_TIMEAGO_WARN alarm. |
Click the button above.