Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
529b317
Merge pull request #2 from openaps/dev
logichammer Dec 30, 2015
e500b82
Merge pull request #4 from openaps/dev
logichammer Jan 19, 2016
338fca3
Merge pull request #5 from openaps/dev
logichammer Jan 26, 2016
2973713
Revised BGI explanation, NS upload info added, pseudo code loop examp…
logichammer Jan 28, 2016
9876832
small edit to image tag
logichammer Jan 28, 2016
19af258
add caveat to BGI example
logichammer Jan 28, 2016
b53a64b
Merge Nightscout upload instructions
logichammer Feb 3, 2016
415e3a7
Update using.md
joannestevens Feb 20, 2016
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
389d391
Update vizualization.md
live4sw Feb 29, 2016
63d29c7
Update Using-oref0-tools.md
live4sw Mar 4, 2016
231f821
Update using.md
Mar 6, 2016
09b0b81
Update using.md
mikestebbins Mar 7, 2016
ccd3ed0
make inline link relative
bewest Mar 25, 2016
49e04da
tweak some copyright info
bewest Mar 25, 2016
46a4601
add logo
bewest Mar 25, 2016
1182d7e
don't forget file extension of .md for loops-in-progress
bewest Mar 25, 2016
d4633fb
fix broken reference target
bewest Mar 25, 2016
87e9a57
remove stale/unused content
bewest Mar 26, 2016
adb3960
try tweaking conf.py a bit more
bewest Mar 26, 2016
ac59437
Merge remote-tracking branch 'mikestebbins/dev' into wip-2016-spring
bewest Mar 26, 2016
91131b3
Merge remote-tracking branch 'ceben80/dev' into wip-2016-spring
bewest Mar 26, 2016
8c540bc
Merge remote-tracking branch 'live4sw/patch-2' into wip-2016-spring
bewest Mar 26, 2016
09dadbf
Merge remote-tracking branch 'live4sw/patch-1' into wip-2016-spring
bewest Mar 26, 2016
c89d465
Merge remote-tracking branch 'jmatheson/dev' into wip-2016-spring
bewest Mar 26, 2016
340052a
Merge remote-tracking branch 'joannestevens/patch-1' into wip-2016-sp…
bewest Mar 26, 2016
4c0676e
tweak wifi edits from @jmatheson
bewest Mar 26, 2016
62ccdf5
Merge remote-tracking branch 'logichammer/dev' into wip-2016-spring
bewest Mar 26, 2016
22a3e75
fix image links on readme
bewest Mar 26, 2016
e3d6ac2
fix another link
bewest Mar 26, 2016
ea31ed6
use https links to rtd
bewest Mar 26, 2016
fa0def1
Merge pull request #109 from bewest/bewest-dev-w-dana
danamlewis Mar 29, 2016
1a6b5d7
Merge branch 'dana-dev' of github.com:openaps/docs into wip-2016-spring
bewest Mar 29, 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
Prev Previous commit
Next Next commit
tweak wifi edits from @jmatheson
  • Loading branch information
bewest committed Mar 26, 2016
commit 4c0676e23ce1a101c3fd338ea0908eab05e6ac98
1 change: 1 addition & 0 deletions docs/docs/Resources/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Resources
my-first-pr
technical-resources
troubleshooting
wifi
history
other-projects
faq
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/Resources/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Warning: do not run any openaps commands with sudo in front of it `sudo openaps

### Environment variables

If you are getting your BG from Nightscout or you want to upload loop status/resuts to Nightscout, among other things you'll need to set 2 environment variabled: `NIGHTSCOUT_HOST` and `API_SECRET`. If you do not set and export these variables you will receive errors while running `openaps report invoke monitor/ns-glucose.json` and while executing `ns-upload.sh` script which is most probably part of your `upload-recent-treatments` alias.Make sure your `API_SECRET` is in hashed format. Please see [this page](https://github.com/openaps/oref0#ns-upload-entries) for details. Additionally, your `NIGHTSCOUT_HOST` should be in a format like `http://yourname.herokuapp.com` (without trailing slash). For the complete visualization guide use [this page](https://github.com/openaps/docs/blob/master/docs/Automate-system/vizualization.md) from the OopenAPS documentation.
If you are getting your BG from Nightscout or you want to upload loop status/resuts to Nightscout, among other things you'll need to set 2 environment variabled: `NIGHTSCOUT_HOST` and `API_SECRET`. If you do not set and export these variables you will receive errors while running `openaps report invoke monitor/ns-glucose.json` and while executing `ns-upload.sh` script which is most probably part of your `upload-recent-treatments` alias.Make sure your `API_SECRET` is in hashed format. Please see [this page](https://github.com/openaps/oref0#ns-upload-entries) for details. Additionally, your `NIGHTSCOUT_HOST` should be in a format like `http://yourname.herokuapp.com` (without trailing slash). See also [Openaps complete visualization guide](../walkthrough/phase-1/visualization.md) for more details.

### Common error messages

Expand Down
8 changes: 4 additions & 4 deletions docs/Resources/wifi.md → docs/docs/Resources/wifi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
###Wifi Troubleshooting
# Wifi Troubleshooting

#My wifi connection keeps dropping and/or I keep getting kicked out of ssh
## 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.

```
Expand All @@ -14,12 +14,12 @@ Next, add the script to your root cron. Note this is a different cron that what
* 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
## 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)
## I am having trouble consistently connecting to my wifi hotspot when I leave the house (iPhone)
1. 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.
2. If your phone knows about wifi networks that your rig does not, your phone may connect to that wifi and in turn drop the hotspot. Make sure your phone does not connect to other wifi networks (coffee shops, a friends house, etc). You man need to forget the networks. This can also be tricky if your computer and iPhone share a network list.