LoopKit / Loop

An automated insulin delivery app for iOS, built on LoopKit
https://loopdocs.org
Other
1.51k stars 1.3k forks source link

Report leak and/or Disregard last 4hr/12hr/24hr of insulin sensitivity? #2248

Open bungalee opened 1 month ago

bungalee commented 1 month ago

When I find that an omnipod has been leaking for hours after a bolus, and the loop thinks I have 16u on board but in reality I probably only got half that or less, I don’t want it to use the data from the time I spent struggling to get back into range due to faulty hardware for closed loop basal rates for the next 24 hours.

Ideally, I’d love a way to say that insulin was not going in so I don’t want to be treated as if I have all that insulin on board. This might be a more nuanced fix but I think from my perspective, given my lowered sensitivity while a new site is saturating, and my wildly out of range BS, I would say the algorithm should be able to operate under the assumption that I’ve only gotten 50-75% of the insulin in thinks I’ve gotten over the past say 4/12/24 hours.

I can’t say there’s any alternative to the algo getting the data that I haven’t actually been getting the insulin it thinks I have been, but what I personally do is give myself a small bolus when I change pump sites anyway, but I do a higher one when it’s been leaking…which doesn’t help the “perceived IOB” the loop has.

Happy to bounce some ideas around if helpful!