AndroidAPS icon indicating copy to clipboard operation
AndroidAPS copied to clipboard

Invalid record of bolus in treament (during bolus with low cartridge)

Open maskac opened this issue 5 years ago • 5 comments

AndroidAPS 2.5.1 without changes GooglePixel 3XL Insightpump

When bolusing with remaining amount of insulin is inusufficient, than full bolus (14U) is recorded in Treatments tab, but real delivery from pump is 10 from bolus only (sreenshots included).

IMG_20200127_160332 Screenshot (27  1  2020 16 01 59)

maskac avatar Jan 27 '20 15:01 maskac

Well, normally if you change cartridge during a bolus in this case, the remaining insulin is given after you start the pump again with the fresh cartridge. Only if you fully Stop (not pause) the pumpe in cartridge change, you might encounter this situation. (It would be nice to have a remote start button in AAPS, this only works with the original remote control).

I also observed sometimes (difficult to reproduce), that for a stopped-in-the-middle bolus the pump history is not updating the database entries correctly. A working workaround for me was to delete the treatment from treatments tab and update again in the Insight tab of AAPS. Then the correct insulin is reported. But you are right: this should happen without user interference, if something unforseen happens on the pump.

fra-orolo avatar Jan 27 '20 16:01 fra-orolo

Please send log files and try to extract the database via Device File Explorer in Android Studio. The driver should update canceled boluses once it connects again. You can enforce this by clicking "refresh" in the Insight tab.

TebbeUbben avatar Jan 27 '20 20:01 TebbeUbben

Get database from nonroot, nondebug version of aaps is really difficul, but here is it and log too since i changed cartridge after half an hour, the refresh was certainly done.

Uploading AndroidAPSDb.zip… AndroidAPS.2020-01-27_00-00-00.3.zip

.

maskac avatar Jan 27 '20 21:01 maskac

Some upload issue , log and db on cloud is here https://cloud.cgcs.cz/index.php/s/DSHyjcvZ83Ll4v4

maskac avatar Jan 27 '20 21:01 maskac

image

Your database shows that the driver has received the end event (containing the updated amount) from them pump and should have updated the bolus likewise. I suspect that Nightscout may have overriden the bolus again.

TebbeUbben avatar Feb 06 '20 21:02 TebbeUbben