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

Mismatch of IOB after 2 boluses #203

Open
dompy opened this issue May 25, 2016 · 6 comments
Open

Mismatch of IOB after 2 boluses #203

dompy opened this issue May 25, 2016 · 6 comments

Comments

@dompy
Copy link

dompy commented May 25, 2016

Hi
I realised, that the IOB was mismatched after I've applied one bolus of 7.4 U at 1:05pm and 6.0 U at 1:17 pm. The IOB then first showed the insulin of the first bolus until it was down to 0 again, then suddenly the IOB of the second bolus appeared also. The pump showed the whole bolus amount on board, as usual.

Seems like it can't add them together?
I've updated to the dev branch. I don't understand much of that, could also be possible, that I've done something wrong there. Btw I also don't get any rawbg data, although activated in ENABLE variables.
Insulin duration is set to 3hrs in all devices.

My Gear

  • Minimed 640G, Enlite Sensor
  • Samsung Galaxy S4 Android 5.0.1, Carelink next link 2.4
  • Uploader version 0.2.1

Greetings
Dominik

@sulkaharo
Copy link
Member

Where we you checking the IOB? The Nightscout website? Are you uploading the pump events through the new 640G uploader or by hand?

RAW on Nightscout is currently limited to Dexcom only - we need to find a developer with Enlite / 640G willing to implement support on the site.

@dompy
Copy link
Author

dompy commented May 25, 2016

IOB on Nightscout website. I'm uploading by the new uploader app on my android. I was asked to put a issue here for repdroduction of this "failure".

@sulkaharo
Copy link
Member

Cool! Would you have the time to dig out the affected treatment entries from the treatments collection in mongolab? That might allow reproducing the issue.

On 25 May 2016, at 19:17, dompy [email protected] wrote:

IOB on Nightscout website. I'm uploading by the new uploader app on my android. I was asked to put a issue here for repdroduction of this "failure".


You are receiving this because you commented.
Reply to this email directly or view it on GitHub

@dompy
Copy link
Author

dompy commented May 25, 2016

I'll try....

This was bevore the first bolus of 7.4 U

{
"_id": {
"$oid": "57458222ab4ef69420ce27f3"
},
"uploaderBattery": 53,
"device": "medtronic-640g://6213-1015079",
"pump": {
"clock": "Wed May 25 12:44:19 MESZ 2016",
"reservoir": 197.3,
"iob": {
"timestamp": "Wed May 25 12:44:19 MESZ 2016",
"bolusiob": 0.3
},
"battery": {
"percent": 100
}
},
"created_at": "2016-05-25T10:44:50.622Z"
}

This was after the first bolus of 7.4 U at 13:05

{
"_id": {
"$oid": "574586faab4ef69420ce27f4"
},
"uploaderBattery": 52,
"device": "medtronic-640g://6213-1015079",
"pump": {
"clock": "Wed May 25 13:09:56 MESZ 2016",
"reservoir": 189.475,
"iob": {
"timestamp": "Wed May 25 13:09:56 MESZ 2016",
"bolusiob": 0.846
},
"battery": {
"percent": 100
}
},
"created_at": "2016-05-25T11:05:30.386Z"
}

And this

{
"_id": {
"$oid": "57458715ab4ef69420ce27f5"
},
"uploaderBattery": 52,
"device": "medtronic-640g://6213-1015079",
"pump": {
"clock": "Wed May 25 13:10:23 MESZ 2016",
"reservoir": 189.45,
"iob": {
"timestamp": "Wed May 25 13:10:23 MESZ 2016",
"bolusiob": 0.846
},
"battery": {
"percent": 100
}
},
"created_at": "2016-05-25T11:05:57.712Z"
}

And this

{
"_id": {
"$oid": "57458843ab4ef69420ce27f6"
},
"uploaderBattery": 52,
"device": "medtronic-640g://6213-1015079",
"pump": {
"clock": "Wed May 25 13:15:24 MESZ 2016",
"reservoir": 189.375,
"iob": {
"timestamp": "Wed May 25 13:15:24 MESZ 2016",
"bolusiob": 0.746
},
"battery": {
"percent": 100
}
},
"created_at": "2016-05-25T11:10:59.012Z"
}

At 13:17 I deployed another bolus of 6U this is what comes next

{
"_id": {
"$oid": "5745896dab4ef69420ce27f7"
},
"uploaderBattery": 51,
"device": "medtronic-640g://6213-1015079",
"pump": {
"clock": "Wed May 25 13:20:23 MESZ 2016",
"reservoir": 183.3,
"iob": {
"timestamp": "Wed May 25 13:20:23 MESZ 2016",
"bolusiob": 0.093
},
"battery": {
"percent": 100
}
},
"created_at": "2016-05-25T11:15:57.628Z"
}

{
"_id": {
"$oid": "57458a9aab4ef69420ce27f8"
},
"uploaderBattery": 51,
"device": "medtronic-640g://6213-1015079",
"pump": {
"clock": "Wed May 25 13:25:24 MESZ 2016",
"reservoir": 183.2,
"iob": {
"timestamp": "Wed May 25 13:25:24 MESZ 2016",
"bolusiob": 6.446
},
"battery": {
"percent": 100
}
},
"created_at": "2016-05-25T11:20:58.126Z"
}

Then this

{
"_id": {
"$oid": "57458bc5ab4ef69420ce27f9"
},
"uploaderBattery": 50,
"device": "medtronic-640g://6213-1015079",
"pump": {
"clock": "Wed May 25 13:30:23 MESZ 2016",
"reservoir": 183.125,
"iob": {
"timestamp": "Wed May 25 13:30:23 MESZ 2016",
"bolusiob": 6.146
},
"battery": {
"percent": 100
}
},
"created_at": "2016-05-25T11:25:57.261Z"
}

Then it goes on until this and the next entry where it changes again

{
"_id": {
"$oid": "57459b6fab4ef69420ce280b"
},
"uploaderBattery": 46,
"device": "medtronic-640g://6213-1015079",
"pump": {
"clock": "Wed May 25 14:32:09 MESZ 2016",
"reservoir": 182.1,
"iob": {
"timestamp": "Wed May 25 14:32:09 MESZ 2016",
"bolusiob": 0.146
},
"battery": {
"percent": 100
}
},
"created_at": "2016-05-25T12:32:47.832Z"
}

an then this. no other boluses were applied until 16:14

{
"_id": {
"$oid": "57459c8cab4ef69420ce280c"
},
"uploaderBattery": 46,
"device": "medtronic-640g://6213-1015079",
"pump": {
"clock": "Wed May 25 14:41:58 MESZ 2016",
"reservoir": 181.95,
"iob": {
"timestamp": "Wed May 25 14:41:58 MESZ 2016",
"bolusiob": 5.8
},
"battery": {
"percent": 100
}
},
"created_at": "2016-05-25T12:37:32.953Z"
}

@pazaan
Copy link

pazaan commented May 25, 2016

It might also relate to something in the new uploader. I've made a dupe at pazaan/600SeriesAndroidUploader#55. Feel free to close this one :)

@sulkaharo
Copy link
Member

Right - those are devicestatus entries where the external system just tells Nightscout what the IOB is. The Nightscout IOB is based on the entries in the treatments collection - does the new uploader create entries there?

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

No branches or pull requests

3 participants