AndroidAPS icon indicating copy to clipboard operation
AndroidAPS copied to clipboard

[Automation Enhancement] Arbitrary Duration, Profile Switch relative to % Profile.

Open RobHoff opened this issue 5 years ago • 1 comments
trafficstars

It would be nice to have the following features available for automation:

  1. As condition: duration, but not as absolute values (e.g. from 1 to 3 p.m.) but as an arbitrary duration (e.g. 1 hour). This could be useful in situations where you want to set your Profile to 115% when BG is over a certain value for more than X hours.

  2. Profile switch that is not absolute (e.g. set profile to 80%) but relative to the current profile, even if its already in- or decreased (e.g. set profile to -20% relative to current profile). This would require to eliminate the condition of current profile to be set to 100%, but would be really helpful. For example when I engage in physical activity I have to reduce the profile by about 20% for about 6 hours, but then my automated features don't work (for example the one described in 1.).

RobHoff avatar Jan 02 '20 09:01 RobHoff

I was just looking for the ability to detect when BG is above a specific range for a duration myself to deal with persistent highs in combination with a low target - sounds like this would be addressed by 1. Would like to see this!

dansuk avatar Jan 02 '20 18:01 dansuk