Skip to content

Commit

Permalink
change position of switch argument (#1579)
Browse files Browse the repository at this point in the history
On my computer and also on ubuntu ec2 instance the line: "oref0-upload-profile --switch ./myopenaps/autotune/profile.json $NS_SITE $API_SECRET " only works if you change the orderof the arguments to "oref0-upload-profile ./myopenaps/autotune/profile.json $NS_SITE $API_SECRET --switch=true"
  • Loading branch information
KelvinKramp committed Feb 20, 2022
1 parent 1cef0e2 commit bc6e8f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/Customize-Iterate/autotune.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ oref0-upload-profile ./myopenaps/autotune/profile.json $NS_SITE $API_SECRET
**Step 5a: Upload resulting profile to Nightscout and switch to it**
* Run
```
oref0-upload-profile --switch ./myopenaps/autotune/profile.json $NS_SITE $API_SECRET
oref0-upload-profile ./myopenaps/autotune/profile.json $NS_SITE $API_SECRET --switch=true
```
* ^ Replace `$NS_SITE` with address to your Nightscout, and `$API_SECRET` with your API secret or token
* In addition to uploading the profile like described above, it will issue a `Profile Switch` event, as [described in AndroidAPS documentation](https://androidaps.readthedocs.io/en/latest/EN/Usage/Profiles.html). This will make AndroidAPS automatically pick up the new profile and switch to it, also *resetting autosens*. Keep this in mind, since, as [diabettech writes](https://www.diabettech.com/artificial-pancreas/automating-hypo-hyper-temp-targets-a-quick-hack/) *Frequent profile switches will stop Autosens from working properly*.
Expand Down

0 comments on commit bc6e8f9

Please sign in to comment.