You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
External boluses not immediately reflected in Loop display #1037
Describe the bug
When an outside bolus is added to HealthKit, it should promptly be reflected in Loop's UI (predicted glucose, active insulin, and insulin delivery graphs)
Console logs filtered to process:Loop: console.txt
The first log entry corresponds to switching away from the Loop app. I logged the insulin dose around the same time. Loop's only output while I was adding doses in the Health app was the WCSession / WCXPCManager lines.
To Reproduce
Steps to reproduce the behavior:
Switch from Loop to Apple Health app
Log a large insulin dose (navigate to insulin delivery, press + in top right corner)
Switch back to Loop
Expected behavior
I expect to see the new dose promptly reflected in Loop's UI and prediction displays.
Screenshots
n/a
Phone
Hardware: iPhone X
OS Version: iOS 12.3
Loop Version
Version Number: 1.10.0-dev
Repo: LoopKit/Loop, dev branch
CGM
Device: Dexcom G6
Manager app: Dexcom App
Pump
Manufacturer: Insulet
Model: Omnipod
Additional context
The use case I'm most interested in is actually doses coming from a Companion Medical InPen... but manual entry to HealthKit seems to provide similar results and is easier to reproduce :)
Another observation: today I went out for brunch and left my RL at home (whoops!). I bolused by pen, but noticed that pen boluses recorded in Apple Health did not appear in Loop's UI until after I got home and Loop started looping again.
Open up Loop, enter carbs, get a recommended bolus
Deliver that bolus via InPen, causing it to be written to Apple Health
Close and re-open the Loop bolus wizard
Then the "active insulin" and bolus recommendation in the bolus wizard does reflect the delivered dose. Additionally, tapping on the graph on the main screen to get into the Predicted Glucose display also provides an updated graph that reflects the new dose. So this is just a matter of the main screen graphs not updating.
Has this been addressed? I see one change merged and one open. Is it true that external boluses should always appear immediately in Loop or just be checked prior to an updated insulin delivery recommendation?
Unfortunately I'm not able to check right now (I'm stuck on an old version of Loop for complicated reasons), but it should be easy for someone to verify with a more recent build.
Activity
j4cbo commentedon Jul 28, 2019
Another observation: today I went out for brunch and left my RL at home (whoops!). I bolused by pen, but noticed that pen boluses recorded in Apple Health did not appear in Loop's UI until after I got home and Loop started looping again.
j4cbo commentedon Jul 31, 2019
Yet another note: if I:
Then the "active insulin" and bolus recommendation in the bolus wizard does reflect the delivered dose. Additionally, tapping on the graph on the main screen to get into the Predicted Glucose display also provides an updated graph that reflects the new dose. So this is just a matter of the main screen graphs not updating.
marionbarker commentedon Sep 1, 2021
Has this been addressed? I see one change merged and one open. Is it true that external boluses should always appear immediately in Loop or just be checked prior to an updated insulin delivery recommendation?
j4cbo commentedon Sep 6, 2021
Unfortunately I'm not able to check right now (I'm stuck on an old version of Loop for complicated reasons), but it should be easy for someone to verify with a more recent build.
github-actions commentedon Nov 2, 2023
This issue is stale because it has been open for 30 days with no activity.
github-actions commentedon Nov 16, 2023
This issue was closed because it has been inactive for 14 days since being marked as stale.