Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
132 commits
Select commit Hold shift + click to select a range
baa07cb
Create wifi.md
jmatheson Feb 27, 2016
3b79426
Update wifi.md
jmatheson Feb 27, 2016
98f332c
Update wifi.md
jmatheson Feb 27, 2016
9f4b0dc
Added link to wifi troubleshooting
jmatheson Feb 27, 2016
c1bfbe1
Update wifi.md
jmatheson Feb 27, 2016
bb8f453
Update wifi.md
jmatheson Feb 27, 2016
cd05821
Merge pull request #2 from openaps/dev
jmatheson Feb 27, 2016
09b566f
Adjusted text
jmatheson Feb 28, 2016
32b0e1d
Removed section that was incorrect
jmatheson Mar 30, 2016
33538e0
Update Unit-testing to reflect location of oref0 directory (#122)
mikestebbins Apr 16, 2016
81ef9ad
Updated note to explain the required setup for profile
komby Apr 20, 2016
4fbbeb9
Re-order steps to configure profile after site setup
komby Apr 20, 2016
c2c8601
Removed reference to bug and corrected step for setting up profile info
komby Apr 20, 2016
e1f36c4
Merge pull request #124 from komby/dev
danamlewis Apr 20, 2016
58d1fdc
Remove errant <br> character from code block sections (#126)
mikestebbins Apr 23, 2016
4795b48
Update loops-in-progress.md
shanselman Apr 27, 2016
55f1f2a
Merge pull request #130 from shanselman/patch-1
danamlewis Apr 27, 2016
bfe2ed8
Add Name to the loops in progress
komby Apr 27, 2016
41d814a
Merge pull request #131 from komby/dev
danamlewis Apr 27, 2016
16cc3d9
Merge branch 'master' into dev
bewest Apr 29, 2016
a54cb66
Update hardware.md (#139)
DiaCyborg May 1, 2016
f603a6a
Update loops-in-progress.md (#138) (#140)
scottleibrand May 1, 2016
47db48f
Add note describing battery alarms
live4sw May 2, 2016
fc2bfd3
Merge pull request #141 from live4sw/patch-4
danamlewis May 2, 2016
23f0576
Additional battery notes
danamlewis May 2, 2016
e7d1a61
Update rpi.md
colin-lennon May 3, 2016
1de8428
Added Clarification about unit conversion
sjolundjohn May 3, 2016
d93a33e
Update rpi.md
colin-lennon May 3, 2016
6eae907
Update rpi.md
colin-lennon May 3, 2016
dfe20b3
Merge pull request #144 from colinlennon/master
danamlewis May 3, 2016
09d6809
Merge pull request #143 from sjolundjohn/patch-2
danamlewis May 3, 2016
070f4ec
Adding additional battery option
danamlewis May 3, 2016
7351824
Merge pull request #145 from openaps/danamlewis-patch-1
danamlewis May 3, 2016
410831d
Adding #94 @ceben80 note
danamlewis May 3, 2016
a5bedee
Merge pull request #146 from openaps/danamlewis-patch-2
danamlewis May 3, 2016
736b744
re-applying the change from @live4sw #93 to the new location
scottleibrand May 4, 2016
b7d4be6
re-applying @live4sw's #92 to the new location
scottleibrand May 4, 2016
a178dae
Merge branch 'dev' of https://github.com/jmatheson/docs into jmatheso…
scottleibrand May 4, 2016
f8af030
Merge branch 'jmatheson-dev' into dev
scottleibrand May 4, 2016
6929845
Update hardware.md
xpucuto May 4, 2016
31ba65a
Merge pull request #148 from xpucuto/patch-2
bewest May 4, 2016
e3b55ae
Adding instructions on how to correct .git permission problems (#149)
dougtakeuti May 5, 2016
8c44531
Typofix
scottleibrand May 5, 2016
299e4f5
Added our names to the list (#152)
Pazoles May 9, 2016
3cf3a8e
Remove some unnecessary RPi WiFi configuration steps (#153)
mddub May 9, 2016
d6cab1a
Merge branch 'master' into dev
scottleibrand May 9, 2016
7fb3a2b
working to close the loop. first PR commit.
wgs4 May 9, 2016
27b8cb1
Merge pull request #155 from wgs4/dev
danamlewis May 9, 2016
4a7deb7
Update my-first-pr.md
wgs4 May 9, 2016
ec1e6b3
added Pull Request.png for tutorial
wgs4 May 9, 2016
8e245aa
Update my-first-pr.md
wgs4 May 9, 2016
92d26a4
Update my-first-pr.md
wgs4 May 9, 2016
c0b39e3
Add files via upload
wgs4 May 9, 2016
283a472
Update my-first-pr.md
wgs4 May 9, 2016
db08aa8
Merge pull request #156 from wgs4/dev
danamlewis May 9, 2016
41eefd5
Update my-first-pr.md
wgs4 May 10, 2016
4cc135f
Update my-first-pr.md
wgs4 May 10, 2016
9948860
Add files via upload
wgs4 May 10, 2016
e738256
Update my-first-pr.md
wgs4 May 10, 2016
cafd690
Update my-first-pr.md
wgs4 May 10, 2016
6ca59b9
Add files via upload
wgs4 May 10, 2016
1e65052
Update my-first-pr.md
wgs4 May 10, 2016
a6fde68
Update my-first-pr.md
wgs4 May 10, 2016
6a85eca
Update my-first-pr.md
wgs4 May 10, 2016
39b8c8c
Update my-first-pr.md
wgs4 May 10, 2016
2fc331a
Update my-first-pr.md
wgs4 May 10, 2016
174a430
Update my-first-pr.md
wgs4 May 10, 2016
91d4fe9
Update my-first-pr.md
wgs4 May 10, 2016
f87e501
Delete Pull Request.png
wgs4 May 10, 2016
8dec28c
Delete Pull_Request.jpg
wgs4 May 10, 2016
91ec2a7
Merge pull request #157 from wgs4/dev
danamlewis May 10, 2016
dd7249c
Update my-first-pr.md
danamlewis May 10, 2016
e864931
Additional workaround to USB power draw problem
rkresha May 11, 2016
955e53e
Adjust to USB power
rkresha May 11, 2016
5c39bdf
USB Power mod
rkresha May 11, 2016
2f8da64
USB Power mod
rkresha May 11, 2016
728c478
USB Power Workaround
rkresha May 11, 2016
1b932e6
USB Power mod
rkresha May 11, 2016
140d9a1
Power mod
rkresha May 11, 2016
1776bb4
Max USB Power mod
rkresha May 11, 2016
05f51b2
Workaround for plugging in charged or uncharged dexcom receiver (#159)
rkresha May 11, 2016
51da131
Update Dexcom charge hint
scottleibrand May 11, 2016
b28691a
Create Usability-considerations.md
danamlewis May 11, 2016
fc6bf7a
Added name to list for first openaps PR
jyaw May 12, 2016
c28e198
Adding my name, and a link to PR howto (#160)
Spazholio May 13, 2016
1d24c3d
URL correction in second stage of PR submission instructions (#161)
Spazholio May 13, 2016
11e2f3c
Case correction
rkresha May 13, 2016
8467c19
Merge branch 'dev' of https://github.com/jyaw/docs into jyaw-dev
scottleibrand May 13, 2016
054d8d6
Merge branch 'jyaw-dev' into dev
scottleibrand May 13, 2016
19ba713
Merge remote-tracking branch 'openaps/dev' into dev
rkresha May 13, 2016
ad6e02a
Merge remote-tracking branch 'refs/remotes/openaps/dev' into dev
rkresha May 13, 2016
eab8519
test
rkresha May 13, 2016
f1d0375
synch
rkresha May 13, 2016
20cd681
Adjust case of YOu (#164)
rkresha May 13, 2016
0971a88
Merge remote-tracking branch 'openaps/dev' into dev
rkresha May 13, 2016
58a0688
Rename max_iob.json to preferences.json (#165)
mddub May 13, 2016
d136721
Updated Loops In Progress with my name (#167)
Stavrosnco May 15, 2016
d12534e
Clarified temp basal setting on pump. (#168) (#169)
scottleibrand May 16, 2016
3bca500
Updates to documentation
rkresha May 17, 2016
7b93894
Merge remote-tracking branch 'refs/remotes/openaps/dev' into dev
rkresha May 17, 2016
07cde1f
adjustment to quote
rkresha May 17, 2016
4600135
again
rkresha May 17, 2016
04f6cec
again
rkresha May 17, 2016
086383a
once more
rkresha May 17, 2016
9ba7b31
last
rkresha May 17, 2016
f1bf27f
bash
rkresha May 17, 2016
0ca414f
Revert "bash"
rkresha May 17, 2016
61cf46f
Update Usability-considerations.md
danamlewis May 17, 2016
f51581a
Include new phase 6 page(usability considerations)
danamlewis May 17, 2016
b288d26
Merge remote-tracking branch 'refs/remotes/openaps/dev' into dev
rkresha May 19, 2016
e0512b5
Autosens and meal-assist
ddaniels1 May 19, 2016
474e47f
Delete Configuring Meal Assist
scottleibrand May 19, 2016
946d6cf
fix some issues remaining from #166
scottleibrand May 19, 2016
69b61c9
Merge branch 'master' into dev
scottleibrand May 19, 2016
71d86e2
add note asking people to target dev
scottleibrand May 19, 2016
b58f5af
add (not master) everywhere to make clearer we want all PRs at dev
scottleibrand May 19, 2016
26700d8
Update Configure-Automatic-Sensitivity-Mode.md (#173)
Spazholio May 19, 2016
026b006
Remove duplicate call to monitor/iob.json
rkresha May 19, 2016
d3c280a
Add note on how to check firmware
scottleibrand May 19, 2016
688f6da
Removed references to "[Your Path]" (#174)
Spazholio May 19, 2016
8019752
Update loops-in-progress.md (#175)
apabari May 19, 2016
6c62142
#I'mnotwaiting
rkresha May 20, 2016
1070857
Merge remote-tracking branch 'refs/remotes/openaps/dev' into dev
rkresha May 20, 2016
a5d5030
Revert some personalization
rkresha May 20, 2016
21abde9
Merge branch 'dev' of https://github.com/rkresha/docs into rkresha-dev
scottleibrand May 20, 2016
8cabda8
Add Rob Kresha to the loopers
rkresha May 20, 2016
5608a94
Merge branch 'dev' into rkresha-dev
scottleibrand May 20, 2016
1618377
Merge branch 'rkresha-dev' into dev
scottleibrand May 20, 2016
80793f4
reorder rkresha's text
scottleibrand May 20, 2016
b6b742d
Adding can-I-OpenAPS-with-this-pump image
danamlewis May 21, 2016
99ebe22
Adding "Can I do OpenAPS with this pump?" image
danamlewis May 21, 2016
8ce17fe
Adding warnings about disabling password login to rpi.md (#180)
dougtakeuti May 21, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ Below is an overview of all content linked inside of this document repository. [
* <a href="docs/docs/walkthrough/phase-6/considerations.md" class="reference internal">Phase 6: Iterating on Your Closed Loop</a>
* <a href="docs/docs/walkthrough/phase-6/keeping-up-to-date.md" class="reference internal">So you think you’re looping? Now keep up to date!</a>
* <a href="docs/docs/walkthrough/phase-6/daytime-testing.md" class="reference internal">Testing during the day</a>
* <a href="docs/docs/walkthrough/phase-6/Usability-considerations.md" class="reference internal">Usability Considerations</a>
* <a href="docs/docs/walkthrough/phase-6/advanced-features.md" class="reference internal">Advanced features</a>
* <a href="docs/docs/walkthrough/phase-6/Configure-Automatic-Sensitivity-Mode.md" class="reference internal">Configuring Automatic Sensitivity Mode</a>
- <a href="docs/docs/Resources/index.rst" class="reference internal">Resources</a>
Expand Down
24 changes: 24 additions & 0 deletions docs/Resources/wifi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
###Wifi Troubleshooting

#My wifi connection keeps dropping and/or I keep getting kicked out of ssh
There is a script that you can add to your root cron that will test your connection and reset it if it is down. Here is an example that runs every two minuntes (odd minutes). You could also do it every 5 minutes or less. Note, this does not have to be for an Edison, you can set this up for a Pi, etc as well.

```
cd ~/src
git clone https://github.com/TC2013/edison_wifi
cd edison_wifi
chmod 0755 /home/edison/src/edison_wifi/wifi.sh
```
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.
* Log in as root ```su root```
* Edit your root cron ```crontab -e```
* Add the following line ```1-59/2 * * * * /home/edison/src/edison_wifi/wifi.sh google.com 2>&1 | logger -t wifi-reset```

#I forget to switch back to home wifi and it runs up my data plan
You can add a line to your cron that will check to see if <YOURWIFINAME> is avaiable and automatically switch to it if you are on a different network.
* Log in as root ```su root```
* Edit your root cron ```crontab -e```
* Add the following line ```*/2 * * * * ( (wpa_cli status | grep <YOURWIFINAME> > /dev/null && echo already on <YOURWIFINAME>) || (wpa_cli scan > /dev/null && wpa_cli scan_results | egrep <YOURWIFINAME> > /dev/null && udo pa_cli select_network $(wpa_clilist_networks | grep jsqrd | cut -f 1) && echo switched to <YOURWIFINAME> && sleep 15 && (for i in $(wpa_cli list_networks | grep DISABLED | cut -f 1); do wpa_cli enable_network $i > /dev/null; done) && echo and re-enabled other networks) ) 2>&1 | logger -t wifi-select```

#I am having trouble consistently connecting to my wifi hotspot when I leave the house (iPhone)
When you turn on your hotspot it will only broadcast for 90 seconds and then stop (even if it is flipped on). So, when you leave your house you need to go into the hotspot setting screen (and flip on if needed). Leave this screen open until you see your rig has connected. It make only take a few seconds or a full minute.
Binary file added docs/docs/Images/Pull_Request.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 13 additions & 10 deletions docs/docs/Resources/my-first-pr.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,32 @@ It's actually not too hard to do one and it is a great way to contribute. This d
* Double checking that they your edits look good to you on your copy.
* Make a few notes for what you did so people can understand why you made the change.
* Then do a pull request, which is to ask the administrataors of the repository to pull your changes
back into the dev branch of the main repository.
back into the dev (not master) branch of the main repository.
* At which time they will do a quick review and merge your changes in.

OK, let's get started. For our example we are going to make an edit to the openaps docs repository.

1. Go to https://github.com/openaps/docs and hit Fork in the upper right to make your own copy of the repository.
2. Github will automatically take you to your copy (notice in the address bar you are now in your own personal github directory)
3. In the branch drop down on the upper left of the page we are going to select the dev branch, since that is the one we want to edit.
3. In the branch drop down on the upper left of the page we are going to select the dev branch instead of master, since that is the one we want to edit.
4. Now we need to find the file we want to edit. Click through the directory structure until you find and are looking at the content of the file you want to change.
5. Next, press the pencil icon in the upper right next to the trash can icon.
6. Make edits to the file as necessary.
7. Next we want to commit our changes. But first we should note what we changed and why. Be sure to put a one liner explaining the why of making the changes you did.
8. Commit the changes.
9. Now look and make sure everyting you changed looks like you meant it to (no typos, etc). If any problems, go back and edit again and save again.

We now have an improved file that we want to be pulled back into the dev repository at https://github.com/openaps/docs

1. Go to https://github.com/openaps/docs
2. Select dev from the branch drop down on the upper left (since that's where we'd like the changes to go to)
3. Press the pull request button
4. Set up the the branches you are targeting. The easiest way of thinking about the branch range is this: the base branch is where you think changes should be applied, the head branch is what you would like to be applied.
5. So choose so the base fork as openaps/docs and then the base as dev. The head fork is going to be <youraccount>/docs and the base as dev.
6. It should show the list of changes you made. If not, you did something wrong so stop here and ask for help. If the list looks like your changes then put a note in there to what the overarching reason for the changes are (in your case you only made one, but you could have made a bunch). Create the PR.
We now have an improved file that we want to be pulled back into the dev branch of the openaps/docs repository at https://github.com/openaps/docs

1. Go to https://github.com/[YOUR_GITHUB_USERNAME]/docs
* Or you can go to https://github.com and then click on "docs" in the "Your repositories" section in the lower right. Both methods will get you to the right place.
2. Select "dev" (not "master") from the branch drop down on the upper left (since that’s where we’d like the changes to go to)
3. Click the green "New pull request" button
4. Under the Compare Changes heading, click "compare across forks"
5. Set up the the branches you are targeting. The easiest way of thinking about the branch range is this: the base branch is where you think changes should be applied, the head branch is what you would like to be applied.
6. So, choose the base fork as openaps/docs and then the base as dev (not master). The head fork is going to be <i>youraccount</i>/docs and the base as dev (not master).
![Pull Request](../Images/Pull_Request.png)
7. It should show the list of changes you made. If not, you did something wrong so stop here and ask for help. If the list looks like your changes then put a note in there to what the overarching reason for the changes are (in your case you only made one, but you could have made a bunch). Create the PR.

It will now be in a list of PR's that the team will review and potentially give feedback on before committing to the main documentation for openaps!

Expand Down
4 changes: 3 additions & 1 deletion docs/docs/Resources/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ OpenAPS uses git as the logging mechanism, so it commits report changes on each

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 definitly broken it copies the remainings in a safe place (`tmp`) and initializes a new git repo.

Warning: do not run any openaps commands with sudo in front of it `sudo openaps`. If you do, your .git permissions will get messed up. Sudo should only be used when a command needs root permissions, and openaps does not need that.
Warning: do not run any openaps commands with sudo in front of it `sudo openaps`. If you do, your .git permissions will get messed up. Sudo should only be used when a command needs root permissions, and openaps does not need that. Such permission problems can be corrected by running `sudo chown -R pi.pi .git` in the openaps directory. If you are using an Intel Edison, run `sudo chown -R edison.users .git`.

### Environment variables

Expand All @@ -74,5 +74,7 @@ json: error: input is not JSON: Unexpected '<' at line 1, column 1:

This error usually comes up when you have pulled a file down from Nightscount that was an invalid file. Typcially you might see this when trying to pull down treatments. Make sure that you have your HOST and API_KEY set correctly at the top of your cron, in your ~/.profile

### Wifi and hotspot issues
See [wifi troubleshooting page](wifi.md)


Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 9 additions & 3 deletions docs/docs/walkthrough/phase-0/hardware.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# Hardware
This section describes the hardware components required for a 'typical' OpenAPS implementation. There are numerous variations and substitutions that can be made but the following items are recommended for getting started. If you come across something that doesn't seem to work, is no longer available, or if you have a notable alternative, feel free to edit this document with your suggestions.

To start, here is a high-level guide for understanding if your pump is compatible for OpenAPS:

!["Can I do OpenAPS with this pump?"](https://github.com/openaps/docs/blob/b6b742d30b8313dce33b59fc279647343e4915cb/docs/docs/walkthrough/phase-0/Can%20I%20close%20the%20loop%20with%20this%20pump_May%2020%202016.jpg "Can I do OpenAPS with this pump?")

If you're interested in working on communication for another pump (Omnipod, Animas, etc), [click here](http://bit.ly/1nTtccH) to join the collaboration group focusing on alternative pump communication.


Expand All @@ -13,7 +17,9 @@ If you're interested in working on communication for another pump (Omnipod, Anim
* 515/715
* 522/722
* 523/723 (with firmware 2.4A or lower)
* 554 (European Veo, with firmware 2.6A or lower)
* 554/754 (European Veo, with firmware 2.6A or lower)
* (To check firmware, hit Esc on the home screen and scroll all the way to the bottom. You can also go into the Utilities menu and look for a PC Connect option. If that is present, the pump will *not* work for looping. If it's absent, it should be able to receive temp basal commands.)

* <b>A way to communicate with the pump</b>:
* Medtronic CareLink USB stick is the recommended option for your initial loop setup
* **Note** that there are now other hardware options available to communicate with the pump. Some positives to an alternative include better range; some negatives include having to solder and the fact that they're not documented in this set of documentation yet. But if you're interested, check out some of the alternatives in [the mmeowlink wiki](https://github.com/oskarpearson/mmeowlink/wiki).
Expand Down Expand Up @@ -121,6 +127,7 @@ A large-capacity power supply that is greater than 8000 mAh (milliAmp-hours) is

[TeckNet® POWER BANK 9000mAh USB External Battery Backup Pack](http://www.amazon.com/gp/product/B00FBD3O2M)

[Zendure® 2nd Gen A3 Portable Charger 10000mAh - 2.1a Dual USB - in-line charging](www.amazon.com/Zendure-2nd-Portable-Charger-10000mAh/dp/B014RBEAQC/ref=sr_1_1)

### USB Cables

Expand All @@ -138,10 +145,9 @@ Repeated wireless communication with the pump drains the battery quite quickly.

### Cases

The Raspberry Pi is extremely minimalistic and does not come in a protective case. This is fine for development work, but presents an issue for day-to-day use. There are hundreds of cases available, but here some examples of what others are using in their OpenAPS builds.
The Raspberry Pi is extremely minimalistic and does not come in a protective case. This is fine for development work, but presents an issue for day-to-day use. There are hundreds of cases available, but here is an example of what others are using in their OpenAPS builds.

[JBtek® Jet Black Case for Raspberry Pi B+ & Raspberry Pi 2 Model B](http://www.amazon.com/gp/product/B00ONOKPHC)

[Raspberry Pi B+ /PI2 Acrylic Case](http://www.amazon.com/Raspberry-Pi-PI2-Acrylic-Case/dp/B00M9ZW6QU)

Additionally, for mobile use, it is helpful to have something besides a lunchbox to carry the entire rig around. The size and weight of the component set as well as the limited range of the CareLink USB stick constrains the options here, but there are still some workable solutions. Waist-worn running gear and camera cases seem to work well. Two options: [FlipBelt](https://flipbelt.com/) and [Lowepro Dashpoint 20](http://store.lowepro.com/dashpoint-20).
13 changes: 12 additions & 1 deletion docs/docs/walkthrough/phase-0/loops-in-progress.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

To get you comfortable with submitting a "PR" (stands for pull request), test it out by submitting a PR to this page, adding your name to the list of people who have loops in progress. This way we know how many people are in the development phase, too.

New to Github, and PRs? Check out how to submit your first PR.
New to Github, and PRs? [Check out how to submit your first PR](../../../../docs/docs/Resources/my-first-pr.md).

When you submit the PR, be sure to target the *dev* branch of openaps/docs, not the master branch. If you target master, we'll need to ask you to re-submit, or it will likely cause a merge conflict with edits from people who correctly targeted dev.

List of people who are working on closed loops:

Expand All @@ -11,7 +13,16 @@ List of people who are working on closed loops:
- Chris Hannemann
- Sarah Howard
- Mike Stebbins
- Scott Hanselman
- Greg Scull
- Aaron Michelson
- Jayson EWER --Intel Edison w/ TI--cc1111
- Frank Best
- Brooke Armstrong & Matt Pazoles
- David Young
- Paul Martin
- Jarred Yaw
- Shane Mitchell
- Boris and Kayley Raskin
- Andy Pabari
- Rob Kresha - (Papillion, NE, USA)
Loading