Skip to content

Latest commit

 

History

History
76 lines (65 loc) · 5.91 KB

README.md

File metadata and controls

76 lines (65 loc) · 5.91 KB

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.1-fewVersionReminders when compared to 3.0

  • Reduced and simplified number of autoISF settings
  • Support for 1-minute glucose values from Freestyle Libre 3
  • Notification messages that the a new AndroidAPS 3.3.x version is available are only shown every 150 days

Why was autoISF not added to the current AndroidAPS version 3.3.x?

  • With AndroidAPS 3.3 many parts of the application have been refactored in Kotlin
  • autoISF could therefore not just be added to the new version, but also requires refactoring
  • We are currently working on the re-integration of autoISF into AAPS 3.3 and will publish results as soon as they are completed and tested

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 listed above!
  4. Now wait until Android has completed any initialization activities. As always deny any requests to upgrade Gradle. A "Gradle sync" might however be necessary.
  5. Android Studio now shows the name of the current branch in the lower right corner. In some operating systems, the branch name is shown on the upper left within the title bar.
  • 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.4-ai3.0.1-fewVersionReminders. Left-click that name and select "Checkout". The following screenshot shows how this will look like in Win 10 Android Studio (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 / upper 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/