-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Hi @ps2 ,
over the last few weeks I have made a few changes to the Loop app in my private branch (https://github.com/trixing/Loop). It's based on an older (~December) LoopKit version. I'd like to rebase, refactor and merge most changes upstream now that this is working reliable (on a base of 1 subject, my kid).
Unfortunately, because I didn't rebase for a while, I'll have to rewrite most of these things from scratch for clean upstream pull requests. As that's going to take a considerable amount of my time, I'd like you to review these changes first and let me know which ones you are likely to accept, or which changes you would want to make it acceptable.
The main features I'd consider for separate pull requests are (for more see the README.md in my branch), in ascending complexity:
- add maximum Insulin on board setting (Bolus and TempBasal will be limited by this, safety feature for preschool)
- add minimum Basal Rate (to avoid Ketones, especially interesting for kids as those tend to have low basal rates to begin with. I witnessed extended periods of zero, which would then let to really big highs on carbs afterwards).
- add a "Note" button on the bottom bar, and to the Carb Entry field (needs a patch to add support in rileylink_ios/NightscoutUploadKit as well)
- add the possibility to manually enter glucose (in case the sensor is not working) and trigger a Bolus. Also adds a carb-only bolus without any glucose data. Useful because all the data will still be logged to Nightscout and no manual upload is required for these periods.
- New Bolus logic to include a state machine keeping track of successful delivery (showing state on statusview) and retry.
Screenshots of some of this attached, but best is probably to pull my branch and experiment a bit.
Thanks for all your work setting the base for this!







