LoopKit / Loop

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

Bolus delivered in open loop #1570

Closed lhedberg closed 2 years ago

lhedberg commented 3 years ago

Describe the bug I have been in open loop since 11/8/21. On 11/11/21 @1125pm, loop shows a 0.5u bolus was delivered. I did not enter that bolus or accept a bolus recommendation. Rebuilt loop 11/11/21 20:43 PST Loop v2.2.6 XCode v13 iOS 1

Attach the Issue Report

Loop Report 2021-11-12 06_42_48-08_00.md.txt Loop Report 2021-11-12 06_42_48-08_00.md 5

To Reproduce: Unsure how to reproduce

Screenshots image

Phone Hardware iPhone Xr 10 iOS 15.1

Loop v2.2.6

CGM Dexcom G6 Manager App: Dexcom App

Pump Manufacturer: Omnipod

marionbarker commented 3 years ago

I have reviewed your report - thanks for posting it. There is no doubt that a bolus of 0.5 u was requested by Loop and the pod responded by delivering it.

I'm not trying to "blame the victim" here - but is it possible you glanced at Loop on your phone and accidentally tapped on the display of a suggested automatic bolus? These suggestions show up in the Heads-Up Display (HUD) in Open Loop when the phone is in portrait mode and are enacted by tapping on that line.

As an experiment, while in Open Loop, if you see a suggestion, tap on it and see if it just gets accepted or if you have to acknowledge the request further (I'm not running your version so I can't test it on my phone.)

I've put more information below; I've summarized everything above.

More Details

On Facebook, https://m.facebook.com/groups/LOOPandLEARN/permalink/3006601626262988/

What I can tell from the Loop Report:

Basal Schedule (at the time of the report)

You are running v2.2.6 of Loop, built using Xcode 13 and the build-select script.

LoopVersion

About 5 hours after the event, you swapped out this pod for a new one. That appeared to be nominal. First pod:

For the time before the event and time after the event, the spacing in messages from Loop to pod with the returned message are normal (every now and then the response isn't prompt, so Loop asks again): Every 5 minutes:

At the time of the event, 2021-11-12 07:14:16, the expected pattern associated with a bolus was seen:

The insulin delivered before this was 77.55 units The insulin delivered 5 minutes later was 78.10 units. With a basal rate of 0.55 u/hour, you expect to have either 1 or 0 pulses of 0.05 units in a 5 minute interval. A change in delivered insulin of 0.55 is consistent with the bolus plus your basal rate.

marionbarker commented 3 years ago

I switched to v2.2.6 with my pod change. I configured it to be

marionbarker commented 2 years ago

I'm pretty sure this scenario happened the way I suggested. Please close this issue unless you disagree.

lhedberg commented 2 years ago

I agree and thought I responded. Maybe it was in FB. I’ve looked on the GitHub site on my phone but cannot find where/how to close out the issue.

On Mon, Jan 17, 2022 at 11:07 AM Marion Barker @.***> wrote:

I'm pretty sure this scenario happened the way I suggested. Please close this issue unless you disagree.

— Reply to this email directly, view it on GitHub https://github.com/LoopKit/Loop/issues/1570#issuecomment-1014822141, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMGQQJBIGXA4WBWAJJ3JBWTUWRSI5ANCNFSM5H5ATKCA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

ps2 commented 2 years ago

Thanks for the follow up on this, @marionbarker and @lhedberg. In current dev, you will not be prompted for an automatic bolus correction, so this error should not occur.