- For documentation about AndroidAPS without autoISF, check the wiki: https://androidaps.readthedocs.io
- Everyone who’s been looping with AndroidAPS needs to fill out the form after 3 days of looping https://docs.google.com/forms/d/14KcMjlINPMJHVt28MDRupa4sz4DDIooI4SrW0P3HSN8/viewform?c=0&w=1
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.
Please visit ga-zelle’s repository GitHub - ga-zelle/autoISF. The Quick Guide (bzw. Kurzanleitung) provide an overview of autoISF and its features
- The vast majority of the AutoISF design and development effort was done by ga-zelle with support from swissalpine, claudi, BerNie, mountrcg, Bjr and myself.
- This repository here was created to provide a stable version of AndroidAPS with the current autoISF extensions already integrated to simplify the build process.
- This branch https://github.com/T-o-b-i-a-s/AndroidAPS/tree/3.2.0.4-ai3.0.1 uses
AndroidAPS 3.2.0.4 (which is the
master
version on the official [Nightscout AndroidAPS] (https://github.com/nightscout/AndroidAPS) repo by the time when this text was written) as a base and adds autoISF 3.0.1 to it.
Details of the new features are listed in the standard documents shown above. Important examples are
- Support for 1-minute glucose values from Freestyle Libre 2 or 3
- Reduced and simplified number of autoISF settings
- Close any currently open projects in Android Studio
- Create a new project by using the "Get from VCS" button to tell it to retrieve the source from a remote version control system
- 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!
- Now wait until Android has completed any initialization activities. As always deny any requests to upgrade Gradle. A "Gradle sync" might however be necessary.
- 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.
- 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 . 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):
- 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
- You can now build the APK with Build -> Generate signed Bundle / APK
- 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.
- 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).
- 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/