Skip to content

Delivery Limit Improvements #16

@itsmojo

Description

@itsmojo

Delivery Limit values should be displayed on the Settings page

  • Having a Delivery Limits value of "Enabled" is (basically) useless
  • Loop dev and presumably Tidepool Loop already do this
  • Showing actual values consistent with all other configuration settings

Delivery Limits should be the closed loop delivery limits, not necessarily the pump's programmable delivery limits

  • Some pump types have no hardware settable delivery limits (e.g, Omnipod), just design enforced delivery limits
  • Pumps with settable delivery limits (e.g., Medtronic) just need compatible delivery limits. E.g., A user should be able to
    selectively decrease the Loop max basal limit w/o the pump enforced delivery limit changing. Only when the Loop delivery limit
    is increased to a value greater than the current pump maximum does this pump enforced limit need to be updated to match.
  • Allows for temporarily setting max basal rates lower than even the scheduled basal rates if needed/desired
    (Medtronic pump's max basal rate must be >= the highest scheduled basal rate).
  • Provides better consistency across different pump types

Delivery Limits should include a minimum basal rate

  • Gives advanced users/athletes more control
  • Relatively obvious behavior
  • Many users have requested to have over the years
  • Consistent behavior with Delivery Limits being a closed loop delivery limit

Additional Details & Background


When doing mountain hiking, I find that having a starting max basal rate of slightly less than my max scheduled basal rate gives my good results. Over the course of the hike, I adjust up my max basal to eventually be my normal max works best (typically in 2-4 steps over the course of many hours). I have been doing this since I started with Loop on a Medtronic pump in 2016. I was no longer able to use this technique with the PumpManager rewrite for the Omnipod. At this time, I had to modify the Medtronic PumpManager code not to always force the Medtronic delivery limit to match a lowered Loop max basal rate. With the Omnipod, has never been a problem because there is no way to program a delivery limit on a Omnipod.

When doing mountain hiking, I find that having a minimal basal rate of 0.1 U/hr throughout the hike has been helpful (it prevents me from potentially getting absolutely no insulin for an extended period). This is not possible without having a minimum basal rate. I have talked with a number of marathoners who also require a very small, but non-zero, min basal rate during races or bad things can result.

Example Screenshots


IMG_6491

IMG_6492

Note that one screen is used for setting all of the delivery limits to match previous behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions