Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External boluses not immediately reflected in Loop display #1037

Closed
j4cbo opened this issue Jul 26, 2019 · 6 comments
Closed

External boluses not immediately reflected in Loop display #1037

j4cbo opened this issue Jul 26, 2019 · 6 comments
Labels

Comments

@j4cbo
Copy link

j4cbo commented Jul 26, 2019

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)

Attach an Issue Report
Loop Report 2019-07-26 09:57:56-06:00.md.txt

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:

  1. Switch from Loop to Apple Health app
  2. Log a large insulin dose (navigate to insulin delivery, press + in top right corner)
  3. 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 :)

@j4cbo
Copy link
Author

j4cbo commented 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
Copy link
Author

j4cbo commented Jul 31, 2019

Yet another note: if I:

  • 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.

@marionbarker
Copy link
Contributor

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
Copy link
Author

j4cbo commented 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.

Copy link

github-actions bot commented Nov 2, 2023

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Nov 2, 2023
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants