Skip to content

Failed bolus #52

Closed
Closed

Description

@eyim

Tried to bolus through the app. It says it failed. Then tried it again and it went through. The bolus insulin on board correctly shows the right amount but it never showed up in the Nightscout upload.

The problem is that the projected bg levels don't show the impact of that bolus even though it shows 10+ units of insulin on board. His bg projection goes right up to 700.

Activity

  1. eyim commented on Jul 2, 2016

    @eyim
    Author

    Hmm looks like the issue is that on the main page it says bolus iob is 12 units which is correct but when you click on the insulin graph. It says only 4.4 iob. It hasn't been low temping because I turned it off and there is no way that removing the basal can cut the iob by 8 units

  2. loudnate commented on Jul 2, 2016

    @loudnate
    Collaborator

    Can you show me the reservoir readings? (Tap on the IOB graph)

  3. eyim commented on Jul 2, 2016

    @eyim
    Author

    https://www.dropbox.com/sc/6avvi5irudbzm51/AADaML0btZaCTpvHMyPP_mq7a

    Here are 4 screenshots of the main screen plus the reservoir readings. The one at 6:54 pm is the one I think is missing from the iob calculation

  4. loudnate commented on Jul 2, 2016

    @loudnate
    Collaborator

    What is the calculated IOB value?

    There are large chunks of data missing in that reservoir history, as well as a rewind/prime. According to your pump history, what time were the boluses delivered?

  5. eyim commented on Jul 2, 2016

    @eyim
    Author

    Bolus:
    9:27 1 unit
    8:59 4.5 units
    8:15 2 units
    6:54 11.5 units
    5:03 4.05 units
    4:32 2 units

    Right now the pump says 11.3 units on board. The home screen of the app says 11.475 units on board. But when you click on the insulin graph it shows 8.14 now.

    When I sent you the earlier screenshots, the main screen showed 12+ and the graph showed 4.4

    We changed the reservoir around 8:50 or so because he has been high and we are changing everything out.

    The issues started before we changed the reservior

  6. loudnate commented on Jul 2, 2016

    @loudnate
    Collaborator

    Here's your missing insulin:
    screen shot 2016-07-01 at 9 45 05 pm

    So according to the max insulin delivery of 2.0 U/min, this drop was assumed to be false (e.g. a prime).

    This is a bug in Loop which is exposed when the phone time and the pump time drift out-of-sync. With x23 pumps, I'm erroneously mixing pump clock (from sentry packets) with phone clock (manual reservoir readings before a bolus).

    This was identified and fixed in #49, and I'll go ahead and cut this as a release.

    So sorry you experienced this – thank you for finding it and filing. I'm going to close this as a duplicate as #49.

  7. added this to the 0.4.2 milestone on Jul 2, 2016
  8. eyim commented on Jul 2, 2016

    @eyim
    Author

    No problem. Glad to know it is a bug that already has a solution. Thank you again for developing this implementation. My son loves it and doesn't want to go back to the edison rig.

  9. added a commit that references this issue on Feb 29, 2020
  10. added a commit that references this issue on May 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions