Skip to content

Commit f50e03e

Browse files
committed
Merge branch 'master' into dev
2 parents ab5bdf3 + ff0729e commit f50e03e

File tree

8 files changed

+20
-22
lines changed

8 files changed

+20
-22
lines changed

docs/Resources/wifi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ git clone https://github.com/TC2013/edison_wifi
99
cd edison_wifi
1010
chmod 0755 /home/edison/src/edison_wifi/wifi.sh
1111
```
12-
Next, add the script to your root cron. Note this is a different cron that what your loops runs on, so when you open it don't expect to see your loop and other items you've added.
12+
Next, add the script to your root cron. Note this is a different cron that what your loops runs on, so when you open it don't expect to see your loop and other items you have added.
1313
* Log in as root ```su root```
1414
* Edit your root cron ```crontab -e```
1515
* Add the following line ```1-59/2 * * * * /home/edison/src/edison_wifi/wifi.sh google.com 2>&1 | logger -t wifi-reset```

docs/docs/Resources/my-first-pr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ It's actually not too hard to do one and it is a great way to contribute. This d
99
* Then do a pull request, which is to ask the administrators of the repository to pull your changes back into the appropriate branch of the main repository.
1010
* They will do a quick review and merge your changes in, or comment if there are errors that need fixing first, or if it's a large enough change that it needs to go to another branch like dev for further work before being merged to master.
1111

12-
OK, let's get started. For our example we are going to make an edit to the openaps docs repository.
12+
OK, let's get started. For our example we are going to make an edit to the openaps docs repository. This does NOT need to be done in the linux environment. This can be done on any Windows PC.
1313

1414
1. Go to https://github.com/openaps/docs and hit Fork in the upper right to make your own copy of the repository.
1515
2. Github will automatically take you to your copy (notice in the address bar you are now in your own personal github directory)

docs/docs/Resources/troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Once you're setting up your loop, you may also want to oref0-reset-usb (`oref0-r
5252

5353
OpenAPS uses git as the logging mechanism, so it commits report changes on each report invoke. Sometimes, due to "unexpected" power-offs (battery dying, unplugging, etc.),the git repository gets broken. When it happens you will receive exceptions when running any report from openaps. As git logging is a safety/security measure, there is no way of disabling these commits.
5454

55-
You may see an error that references a loose object, or a corrupted git repository. To fix a corrupted git repository you can run `oref0-fix-git-corruption.sh`, it will try to fix the repository, and in case when repository is definitely broken it copies the remainings in a safe place (`tmp`) and initializes a new git repo.
55+
You may see an error that references a loose object, or a corrupted git repository. To fix a corrupted git repository you can run `oref0-fix-git-corruption`, it will try to fix the repository, and in case when repository is definitely broken it copies the remainings in a safe place (`tmp`) and initializes a new git repo.
5656

5757
To reset the whole git repository you can run `oref0-reset-git`. It is currently recommended to run this command in cron so that if the repository gets corrupted it can quickly reset itself.
5858

docs/docs/walkthrough/phase-0/loops-in-progress.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,6 @@ List of people who are working on closed loops:
5252
- Luuc Verburgh (Eindhoven, The Netherlands)
5353
- Julie Raines (Poughkeepsie, NY)
5454
- Brandon Parrish (Augusta, GA)
55+
- Katie Ellison (Bellevue, WA)
56+
- Sarah Easter (Georgetown, TX)
57+
- Terri Lyman (Prescott Valley, AZ)

docs/docs/walkthrough/phase-0/rpi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Write the Raspbian .img you extracted from the ZIP file above to the SD card usi
6666
* Next, connect your RPi2 to a monitor or T.V. using the included HDMI cable.
6767
* Finally connect your RPi2 using the power adapter.
6868
* You should see the GUI appear on sceen.
69-
* Configure WiFi per the instruction pamphlet included with your CanaKit.
69+
* Configure WiFi per the instruction pamphlet included with your CanaKit. For those not using the CanaKit, click the computer monitors next to the volume control in the upper-right side and there will be a drop-down menu of available WiFi networks. You should see your home network. If you have trouble connecting to the RPi2 via WiFi, check your router settings. The router may need to be switched from WEP to WPA2.
7070
* Once you have installed Rasbian and connected to WiFI, you can disconnect the mouse, keyboard and HDMI cable.
7171

7272
Remember to keep your RPi2 plugged in, just disconnect the peripherals. Also remember to never disconnect your RPi2 without shutting it down properly using the `sudo shutdown -h now` command. If you are unable to access the Pi and must power it off without a shutdown, wait until the green light has stopped flashing (indicating the Pi is no longer writing to the SD card).

docs/docs/walkthrough/phase-1/openaps-to-nightscout.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ To view your data on your Nightscout site, start by doing the following:
66

77
So this would be your actual https://myname.azurewebsites.net or https://myname.herokuapp.com (without the carrots of course). Your API_SECRET is listed in your Azure or Heroku settings.
88

9-
To test this: `openaps use ns shell preflight`
9+
To test this: `openaps use ns shell preflight`\
10+
It should return "True"
1011

11-
To get aliases:
12+
To get a good list of aliases:
1213

1314
`curl -sg https://gist.githubusercontent.com/bewest/d3db9ca1c144b845382c885138a8f66e/raw/181c5d6f29cd6489ecc9630786cf2c4937ddde79/bewest-aliases.json > bewest-aliases.json`
1415

@@ -37,13 +38,18 @@ At this point, you should see treatment circles, information about the battery,
3738
To verify what was uploaded to Nightscout:
3839
`cat nightscout/uploaded.json`
3940

40-
Then for the status:
41+
Then to add the ns-status device to your openaps.ini:
4142
`oref0 device-helper ns-status 'ns-status $*' | openaps import`
4243

43-
Then:
44+
Then test the ns-status device (Adjust the report directories as needed):
4445
`openaps use ns-status shell monitor/clock.json oref0-monitor/iob.json oref0-predict/oref0.json oref0-enacted/enacted-temp-basal.json monitor/battery.json monitor/reservoir.json monitor/status.json`
4546

46-
You should see a lot of info. (Side note: the word "received" is spelled wrong.)
47+
You should see a lot of info. (Side note: the word "received" under the "enacted" heading is typoed.)\
48+
49+
If you receive an error you have most likely not included all reports;\
50+
running `openaps use ns-status shell -h` will show positional arguements.
51+
These arguements are required; `clock iob suggested enacted battery reservoir status`
52+
you can also supplement additional reports (i.e., remainder).
4753

4854
Make sure to save this as a report:
4955
`openaps report add nightscout/openaps-status.json JSON ns-status shell monitor/clock.json oref0-monitor/iob.json oref0-predict/oref0.json oref0-enacted/enacted-temp-basal.json monitor/battery.json monitor/reservoir.json monitor/status.json`

docs/docs/walkthrough/phase-1/using-openaps-tools.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -166,29 +166,21 @@ openaps use cgm oref0_glucose --hours 2.0
166166
# for G5 consider this instead:
167167
openaps use cgm oref0_glucose --no-raw --hours 2.0
168168
169-
<<<<<<< HEAD:docs/docs/walkthrough/phase-2/using-openaps-tools.md
170169
(Note this step is not required if you are using a Medtronic CGM. The pump serves as the receiver and all of the pumping and glucose functionality are contained in the same openaps device.)
171170
172171
For all Dexcom CGM systems:
173-
=======
174-
```
175-
>>>>>>> 4f4f7e95e6641fab56ac7aa0abfb4c6e057a7bee:docs/docs/walkthrough/phase-1/using-openaps-tools.md
176172
177173
Add as report:
178174
```
179175
openaps report add raw-cgm/glucose-raw.json JSON cgm oref0_glucose --hours 2.0
180176
# For G5:
181177
openaps report add raw-cgm/glucose-raw.json JSON cgm oref0_glucose --no-raw --hours 2.0
182178

183-
<<<<<<< HEAD:docs/docs/walkthrough/phase-2/using-openaps-tools.md
184179
For a Dexcom G5 system, you need to configure openaps specifically for the G5:
185180

186181
`openaps use <my_dexcom_name> config --G5`
187182

188183
NB: The above command can also be used to change from a G4 to G5 system in an already functioning loop. If that doesn't work, update openaps.
189-
=======
190-
```
191-
>>>>>>> 4f4f7e95e6641fab56ac7aa0abfb4c6e057a7bee:docs/docs/walkthrough/phase-1/using-openaps-tools.md
192184

193185
Ensure that the data is zoned correcty:
194186
```

docs/docs/walkthrough/phase-1/visualization.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,9 @@ to your OpenAPS implementation.
2121

2222
OpenAPS requires the latest (currently dev) version of Nightscout, which can be
2323
found here: https://github.com/nightscout/cgm-remote-monitor/tree/dev. If you
24-
are already using Nightscout you might have to update your repository. Just go
25-
to the https://github.com/nightscout/cgm-remote-monitor repository and look for
26-
"updating my version". Once you have completed these steps, log on to Azure or
27-
Heroku and disconnect the deployment source. Thereafter choose your
24+
are already using Nightscout you might have to update your repository. To update your version and create a PR to your dev branch, use http://nightscout.github.io/pages/test-beta/?branch=dev and look for the "I'm ready" button. Once you have completed these steps, log on to Azure or Heroku and disconnect the deployment source. Thereafter choose your
2825
cgm-remote-monitor github repository as source again. You should take the dev
29-
branch of this repository especially if you plan to use the
26+
branch of this repository. The dev branch will also allow you to use the
3027
advanced-meal-assist feature.
3128

3229
The steps discussed here are essentially the same for both Azure and Heroku users. Two configuration changes must be made to the Nightscout implementation:

0 commit comments

Comments
 (0)