T-o-b-i-a-s / AndroidAPS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AndroidAPS with autoISF

What is autoISF?

AutoISF adds more power to the algorithm used in AndroidAPS by adjusting the insulin sensitivity based on different scenarios (e.g. high BG, accelerating/decelerating BG, BG plateau). autoISF has many different settings to fine-tune these adjustments. However, it is important to start with well-tested basal rate and settings for insulin sensitivity and carb ratios.

Where to find documentation about autoISF

Why do I get AutoISF here and not at ga-zelle's Repo?

What's new in AutoISF Version 3.0 when compared to 2.2.8.1

  • Activity Monitor takes step counter from phone into consideration
  • iob-Threshold allows to better limit/control the total amount of insulin on board
  • New automation triggers and actions to allow for Automation rules specific for autoISF

How to build this branch in Android Studio

  1. Close any currently open projects in Android Studio
  2. Create a new project by using the "Get from VCS" button to tell it to retrieve the source from a remote version control system
  3. Use the url of this repository as a source (https://github.com/T-o-b-i-a-s/AndroidAPS.git). Do NOT append any branch name or version number or other path, just use the URL as named in this line!
  4. Now wait until Android has completed any initialization activities. As always deny any requests to upgrade Gradle.
  5. Android Studio now shows the name of the current branch in the lower right corner
  • Usually this will be master, which contains an out-dated version of AndroidAPS, do not use the master branch
  • If it is not already selected, switch to the branch you want to build by clicking on the branch name, choosing "show more" under "Remote branches" and look for the name of the branch with an "origin/" prefix: e.g. origin/3.2.0.3-ai3.0. Left-click that name and select "Checkout". The following screenshot shows how this will look like (a different branch was used here): Branch selection
  1. The system will now create a local branch with the same name as the remote branch and switch to that branch, which is indicated by the name of the branch being shown in the lower right corner
  2. You can now build the APK with Build -> Generate signed Bundle / APK
  3. In case of any error messages during the build, try to first run a "Clean build" by selecting Build -> Clean to remove any remnants from previous builds and then start the APK build again.
  4. If you experience recurring problems with building the APK, as a last resort consider to delete your current Android Studio completely, reinstall the most recent version and clone this repo into a new directory on your computer (different than the one you have used before).

What can I do if the build does not work?

  • Follow the instructions exactly as described. Carefully re-read all previous and the failing step and try to start from scratch.
  • Make sure you used "https://github.com/T-o-b-i-a-s/AndroidAPS.git" as the URL to "Get from VCS" and none including the branch or version name
  • If you have problems understanding English and need a translation, consider using an automatic translation tool such as https://www.deepl.com where you have to copy and paste the english text to get it translated or use Google Translate to automatically translate the whole page (target language is set to German in this example, but can be changed at the top).

General remark: If you have been working with AndroidAPS 2.x before and this is the first time you build a 3.x version, please first build and run the regular AndroidAPS 3.x version from https://github.com/nightscout/AndroidAPS and double-check that this works fine. Only then upgrade to the version including autoISF.

For questions or feedback, please contact us at https://de.loopercommunity.org/t/woher-wie-autoisf/

About

License:GNU Affero General Public License v3.0


Languages

Language:Kotlin 85.8%Language:Java 12.9%Language:JavaScript 1.3%Language:AIDL 0.0%Language:Batchfile 0.0%Language:Shell 0.0%