nightscout / AndroidAPS

Opensource automated insulin delivery system (closed loop)
https://wiki.aaps.app
GNU Affero General Public License v3.0
725 stars 1.76k forks source link

BYODA calibration =》red triangle in AAPS #1791

Closed robertrub closed 2 years ago

robertrub commented 2 years ago

@MilosKozak I got the difficult to catch calibrating in BYODA giving a red triangle bug once more. I hope the logs will help you this time.

Around 22h27, I calibrate in BYODA. It was showing sth like 190 and calibration was higher, sth like 215... Next BG read, BYODA and xDrip shows 216 but AAPS shows 195. I look in BYODA tab in AAPS, the time stamp is correct 22:27 but BG is not 216 as in xDrip and BYODA.

5 min later, the BGs aligne on the 3 aps but I get the red triangle in AAPS.

Screenshot_20220529-183119_AndroidAPS.jpg

Screenshot_20220530-223318_AndroidAPS.jpg

Screenshot_20220530-223533_xDrip+.jpg

20220530_223740.jpg

And the logs. Look a bit before and after 22:27...

AndroidAPS_LOG_1653942984156.log.zip

MilosKozak commented 2 years ago

this is impossible to detect from received batch (only 1 wrong value). The only way would be compare with database which would be expensive I'll keep this open to see if it's rare or not

robertrub commented 2 years ago

Ok. It is in fact rare as I didn't have this bug for over a month (and I calibrated around the 5 min delay often).

Will come back if it happens again.

vanelsberg commented 2 years ago

... in fact rare (?)

Interesting. Calibrating G6/BUODA often (avg once every 2 days). Haven't seen any red triangles for a long time ...

robertrub commented 2 years ago

@vanelsberg You get it when you calibrate just after BYODA got the last reading. Can't say how distant the BG reading and calibration should be...

vanelsberg commented 2 years ago

Weird problem: Have seen this in the past (weeks ago). I cannot repro this. Tried several times. Also I calibrate my G6 every 2 days on average. So I should see this at least occasionally

robertrub commented 2 years ago

Hi @MilosKozak Got the red triangle once more and this time I was about 3 min after the sensor BG measure. The difference between sensor and blood was important (G6 54 vs blood 70).

Screenshot_20220618-230541_AndroidAPS.jpg

Screenshot_20220618-230648_Dexcom G6.jpg

AndroidAPS_LOG_1655586356150.log.zip

I hope you'll get more info from these logs.

20220614_083736.jpg

robertrub commented 2 years ago

@MilosKozak I don't know if you did any work on the subject. I calibrated at 7:39 just after the 5 min top at 7:38.

There is a slide on the next BG in AAPS 7:44 that does not respect the 5 min intervals but had no flags.

To make it short : all is working ok.

IMG_20220713_080830.jpg

IMG_20220711_140609.jpg

After 5 tries, I can't upload a logs :( The GitHub app needs debugging too :) Will try later

robertrub commented 2 years ago

Ok, after 10 trials I give up. Tell me if you need the logs...