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

[3.1.0.3] AAPS uploads ecarbs (carbs spread over time) to NS as one time event #2031

Closed nlof closed 2 years ago

nlof commented 2 years ago

I inputed 12 grams of carbs spread over one hour starting 11:37 at around 10:45. In NS it showed up as one bolus of 12 grams. I thought I made a mistake, I deleted it in AAPS, NS and Xdrip and entered it again around 11:08 (see last screenshot) but the results were similar.

Before this bug, AAPS would create 4 treatments at 15 minute intervals of 3 grams each. It still shows up as such in AAPS but not in the treatments tab, nor on NS.

AAPS [3.1.0.3]

AndroidAPS._2022-08-2009-54-44.4.zip

Screenshot_2022-08-20-11-09-04-28 Screenshot_2022-08-20-11-09-14-80 Screenshot_2022-08-20-11-09-26-88 Screenshot_2022-08-20-12-52-43-79 Screenshot_2022-08-20-13-10-15-83

MilosKozak commented 2 years ago

eCarbs are one record with duration in new DB model. NS/xDrip/... must learn this first AAPS and NSClient understant it.