You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/walkthrough/phase-1/nightscout-setup.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Nightscout Introduction
4
4
5
-
[Nightscout](http://nightscout.info) is an open source, DIY project that allows realtime access to a CGM data
5
+
[Nightscout](http://nightscout.info) is an open source, DIY project that allows real-time access to a CGM data
6
6
via personal website, smartwatch viewers, or apps and widgets available for
7
7
smartphones. Setting up a Nightscout web app is the recommended way to visualize your
8
8
OpenAPS closed loop.
@@ -26,14 +26,14 @@ your data, customized watchfaces with your OpenAPS data, and integration with IF
26
26
27
27
* If you plan to use Nightscout with OpenAPS, we recommend using Heroku, as OpenAPS can reach the usage limits of the free Azure plan and cause it to shut down for hours or days. If you end up needing a paid tier, the $7/mo Heroku plan is also much cheaper than the first paid tier of Azure. Currently, the only added benefit to choosing the $7/mo Heroku plan vs the free Heroku plan is a section showing site use metrics for performance (such as response time). This has limited benefit to the average OpenAPS user. **In short, Heroku is the free and OpenAPS-friendly option for NS hosting.**
28
28
29
-
* Create an account at [Heroku](https://www.heroku.com) and choose the Primary Development Language to be Node.js when you create your account. You’re going to use a free account, but you will still need to enter credit card information for your account setup. Don’t forget to check your email to confirm your Heroku account.
29
+
* Create an account at [Heroku](https://www.heroku.com) and choose the Primary Development Language to be Node.js when you create your account. You’re going to use a free account, but you will still need to enter credit card information for your account setup before the app will deploy. You'll need confirm your Heroku account by clicking a link sent via email.
* Create an account at [GitHub](https://github.com)
34
-
35
-
**Note:** If you already have an existing GitHub account and NS site, you may just need to update your repository by doing a Compare in GitHub. Use `https://github.com/yourgithubname/cgm-remote-monitor/compare/master...nightscout:master` and replace yourgithub name. Click the big green `Create pull request` button. Another screen will appear, fill in a title and click button to `create the pull request`, and then you can `Merge pull request`, and finally `Confirm merge`. That process updated your Nightscout repository in Github. You can click the Fork Button on your repository now and follow along with the steps below the fork.
36
-
34
+
*****************
35
+
**Note:** If you already have an existing GitHub account and NS site, you may just need to update your repository by doing a Compare in GitHub. Use `https://github.com/yourgithubname/cgm-remote-monitor/compare/master...nightscout:master` and replace yourgithub name. Click the big green `Create pull request` button. Another screen will appear, fill in a title and click button to `create the pull request`, and then you can `Merge pull request`, and finally `Confirm merge`. That process updates your Nightscout repository in Github. Once updated, you can skip the "click the Fork Button" step below and start following along with the purple `Deploy to Heroku` button step from your updated Nightscout cgm-remote-monitor repository.
36
+
*****************
37
37
* Go to the [Nightscout cgm-remote-monitor repository](https://github.com/nightscout/cgm-remote-monitor)
38
38
39
39
* Click the `Fork` button in the upper right corner
@@ -67,7 +67,7 @@ your data, customized watchfaces with your OpenAPS data, and integration with IF
67
67
</tr>
68
68
<tr>
69
69
<th>ENABLE</th>
70
-
<td>bridge openaps pump iob basal careportal sage cage maker</br></br>(Enter all of the words without commas. Just a single space between each word. Make sure autocorrect does not add space between careportal. Notice we are not including cob here. If you have other plugins that you would like to enable, please add them here.)</td>
70
+
<td>bridge openaps pump iob basal careportal sage cage maker</br></br>(Enter all of the words without commas. Just a single space between each word. Make sure autocorrect does not add space between careportal. **Notice we are not including cob here.** If you have other plugins that you would like to enable, please add them here.)</td>
71
71
</tr>
72
72
<tr>
73
73
<th>DISABLE</th>
@@ -95,7 +95,7 @@ your data, customized watchfaces with your OpenAPS data, and integration with IF
95
95
</tr>
96
96
<tr>
97
97
<th>PUSHOVER lines</th>
98
-
<td>Can be left blank for now. See PUSHOVER section if you want to integrate PUSHOVER notifications with NS later.</td>
98
+
<td>Can be left blank for now. If you decide to use Pushover later, you can come back and add your info to these lines.</td>
99
99
</tr>
100
100
<tr>
101
101
<th>CUSTOM_TITLE</th>
@@ -126,7 +126,7 @@ your data, customized watchfaces with your OpenAPS data, and integration with IF
126
126
127
127
**The remaining variables can be left at their default values.**</br></br>
128
128
129
-
* Click the purple `Deploy` button at the bottom of screen
129
+
* Click the purple `Deploy` button at the bottom of screen.
130
130
131
131

132
132
@@ -140,7 +140,7 @@ your data, customized watchfaces with your OpenAPS data, and integration with IF
140
140
141
141
You do not have to enter all the information in the profile if you are using OpenAPS (since OpenAPS will be providing the information for IOB and COB rather than letting NS calculate them), but you do have to fill out the `Basal Profile` and `TimeZone` at a minimum in order to have your temp basals properly display. Click `Save` when you have entered the information. You will be prompted to authenticate, if it is the first time you’ve used the device to make changes in your profile. Click on the `Authenticate` link at the bottom of the site, and enter your API_SECRET to complete the authentication.
142
142
143
-
**Note:** OpenAPS will only work based on the values in your pump; not what you put into Nightscout. You will need to keep the Nightscout profile insync with any changes you make in your pump to prevent later confusion.
143
+
**Note:** OpenAPS will only work based on the values in your pump; not the values that you put into Nightscout profile. You will need to keep the Nightscout basal profile in-sync with any changes you make in your pump to prevent later confusion in watching the temp basal rendering.
144
144
145
145

146
146
@@ -234,11 +234,11 @@ If you are using a "test pump" that has not received sufficient data in some tim
234
234
235
235
### Switching from Azure to Heroku
236
236
237
-
* If you want to switch from Azure to Heroku, you will need to change your NS URL in both `ns.ini` and in `cron`. Alternatively, you can edit your runagain.sh file and run the setup script again.
238
-
*_(This assumes you are switching after having already set up OpenAPS. If you're switching before setting up the rest of OpenAPS, just remember to use your Heroku URL in the future when asked for your Nightscout URL.)_
237
+
* If you are a current OpenAPS user and want to switch from Azure to Heroku, you will need to change your NS URL in both `ns.ini` and in `cron`. Alternatively, you can edit your runagain.sh file and run the setup script again.
238
+
239
239
* If you’d like to seamlessly keep all your old Azure NS data showing in your new Heroku NS site, you’ll need to copy and paste your old `MONGODB` string from your Azure site. Find it in either Application Settings or Connection strings in your Azure control panel and then go to Heroku’s `MONGODB_URI` line. Replace the content with your copied string from Azure. Double check that your Azure collection used the “entries” name…if it doesn’t, then you will need to update that variable in Heroku to match as well.
240
240
241
-
**Note:**You can easily change to a different branch for deployment of your Nightscout site. Check out your `Deploy` tab in your Heroku dashboard, make sure you are connected to your GitHub cgm-remote-monitor repository, and select the branch you'd like to deploy at the bottom of the screen.
241
+
**Note:**It's a good idea to to check your deployment connection in Heroku's dashboard after your deploy (typically this still needs to be manually connected after initial setup). Go your `Deploy` tab in your Heroku dashboard, click on the GitHub service, and select your GitHub cgm-remote-monitor repository. You can select the cgm-remote-monitor branch you'd like to deploy at the bottom of the screen. Both master and dev branches work for OpenAPS.
@@ -247,21 +247,21 @@ If you are using a "test pump" that has not received sufficient data in some tim
247
247
248
248
If you have the Advanced Meal Assist (AMA) OpenAPS feature turned on, OpenAPS calculates COB *dynamically*. To see your COB on your Nightscout web app, look inside the OpenAPS pill. _(If it says "undefined", this means you do NOT have AMA turned on.)_
249
249
250
-
Nightscout, however, has its own COB pill, which decays carbs *statically* is is **NOT** used in OpenAPS calculations.
250
+
Nightscout, however, has its own COB pill, which decays carbs *statically*, and it is **NOT** used in OpenAPS calculations.
251
251
252
252
***We highly recommend NOT using the Nightscout COB pill.** We even recommend removing it from your Nightscout ENABLE web app settings as it causes bugs, and great confusion, because it will do a static decay and/or mess up your Nightscout.
253
253
254
-
***Note also**: Nightscout's Bolus Wizard Preview (BWP) pill and carbs entered through Nightscout's Care Portal are also both decayed*statically* and are **NOT** used in OpenAPS calculations.
***To avoid confusion: Turn off all other Nightscout pills that use *static* COB calculations.**
257
257
258
258
### How to display basal changes ("render basal")
259
259
260
-
*ICYMI: we recommend that you "render"/display the basal rates (the blue lines to show what temp basals have been enacted, if any.) To do so, select "Default" or "Icicle" from the "Render Basal" pull-down menu in the Settings.
260
+
*In case you missed it during setup: we recommend that you "render"/display the basal rates (the blue lines to show what temp basals have been enacted, if any.) To do so, select "Default" or "Icicle" from the "Render Basal" pull-down menu in the Settings.
261
261
262
262
### How to display OpenAPS purple prediction/forecast lines
263
263
264
-
* Click the three dots next to your timeframe horizon (3HR, 6HR, 12HR, 24HR) and then enable “Show OpenAPS Forecasts”. Don't see this option? Check and make sure you added this variable.
264
+
* Click the three dots next to your timeframe horizon (3HR, 6HR, 12HR, 24HR) and then enable “Show OpenAPS Forecasts”. Don't see this option? Check and make sure you added this variable and that your OpenAPS has successfully run.
0 commit comments