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

iAPS does not record insulin bolus, but bolus is started on a pump #1063

Open
devxor opened this issue Jan 22, 2025 · 6 comments
Open

iAPS does not record insulin bolus, but bolus is started on a pump #1063

devxor opened this issue Jan 22, 2025 · 6 comments
Labels

Comments

@devxor
Copy link

devxor commented Jan 22, 2025

Hi all,

Issue description
iAPS initiates insulin bolus on the pump, pump is injecting insulin, but there is no entry about insulin bolus in iAPS.

Occurrences
Noticed it 2 times using 'Meal' button on the latest code version from today on the branch: Dana f18201f from bastiaanv
Noticed it 1 time using 'Meal' button and 1 time for SMB on the branch Dana: 871c31a from bastiaanv

Impact
IMO the impact is big and it's very dangerous. Insulin is injected, but not recorded in iAPS, so iAPS is not aware about the bolus and starting to give additional SMB's to compensate new carbs from the meal.

Hardware
Dana-i + Dexcom G7

Software
iAPS v5.9.0 (1)
Branch: Dana f18201f

iAPS & Dana-i logs
logs_20250122_2230.zip

Reproduction

  1. Click on the 'Meal' button
  2. Insert for example 100g carbs. Click Continue
  3. Bolus calculator is proposing insulin e.g. 23U
  4. Click on 'Insulin recommended' to get the doses in the 'Bolus' field
  5. Click on 'Enact bolus'
  6. Bolus is starting - I can see the pop up window with information about bolus injection
  7. I can see directly on the pump that bolus is started and pum is injecting insulin
  8. Next time I'm checking iAPS I can't see information about insulin recorded on the graph, I can see only carbs recorded from the meal - in this example 100g at 18:55. IOB is also not updated - still 1,8U, but there was 8U injected for the meal
    Image
  9. I can't also see this bolus in the list viewImage
  10. Verifying directly in the pump, I can see that 8U was injected by the pump (finished injection after 8minutes at 19:03)
    Image
@devxor
Copy link
Author

devxor commented Jan 23, 2025

Ok, I've noticed something. Initiated bolus for today's breakfast was 6.1U. I've observed the pump and the iAPS all the time and noticed that suddenly everything stopped before the end of the bolus. Checked the pump and there is only 5.5U injected and no recorded bolus at all in iAPS.

Next time I will observe all second after second. I will record a video probably for the analysis.

Ps. My injection speed for Dana is 60s/1U.

@devxor
Copy link
Author

devxor commented Jan 23, 2025

Hi all,

it seems that some loop iteration (I think second already) during running bolus causes Dana pump to break the bolus and iAPS to not record the bolus.

I've filmed the issue:

  1. Bolus running on the pump and in iAPS - 10,4U
  2. New BG result coming to iAPS (from 143 to 146), which I assume starting the loop calculation
  3. iAPS breaks the bolus before the whole dose was injected
  4. In the same moment pump breaks the bolus as well and you see bluetooth connection icon on the pump and below it the text "HISTORY UPLOAD"
  5. Info on the pump that only 6,95U was delivered
  6. Info in iAPS "Pump error: Uncertain Delivery"
  7. At the end some part of the insulin dose was injected, not all, and iAPS does not have information about this dose so is not aware about injected insulin

Video with issue

Logs for this issue:
logs_20250123_1150.zip

@devxor
Copy link
Author

devxor commented Jan 23, 2025

Just now observed that already the first loop when bolus is running breaks the bolus on pump and on iAPS...

@devxor
Copy link
Author

devxor commented Jan 23, 2025

Error code from the logs:

Image

@devxor
Copy link
Author

devxor commented Jan 24, 2025

Warning from the Dana logs:

Image

@devxor
Copy link
Author

devxor commented Jan 24, 2025

I've changed to the previous version - commit 871c31a. So far so good. Already 2 meal boluses and the injection is working. During breakfast bolus the loop wanted to run 3 times and the injection was not broken. For lunch the same - for now it's working, but in the past I had also the issues with this version - like from time to time the bolus was not recorded by iAPS. Let's see - I will be monitoring for next days.

Edit:
this version has also issue. Breaking the connection with Dana and the bolus disappeared after 3.1U, but at least the bolus was not broken on the pump and pump injected until the end - 18.4U. But anyway the bolus was not recorded by iAPS.

Image Image

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

No branches or pull requests

2 participants