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

xDrip BG not up to date in AAPS #2317

Closed robertrub closed 1 year ago

robertrub commented 1 year ago

I think that this was signalled before but couldn't find the issue.

BGs coming from xDrip. The BGs are correctly shown in the xDrip tab in AAPS but the main UI shows older BG.

Screenshot_20221231_005957_AAPS.jpg

Screenshot_20221231_010023_AAPS.jpg

Might be important : BG was provided by BYODA a couple of days ago.

jbr7rr commented 1 year ago

Which build? Logs? A similar issue was fixed a few days ago

robertrub commented 1 year ago

Screenshot_20221226_161907_AAPS.jpg

MilosKozak commented 1 year ago

scroll down on BG tab, there is probably irregularity in last 2 days

robertrub commented 1 year ago

@MilosKozak I changed transmitters

jbr7rr commented 1 year ago

Yes after transmitter change, the data is not in 5 minute interval and gets recalculated, that causes the delay. However after your build, changes has been made in dev to make this delay happen less frequent , so try to update to latest Dev and see if that fixes it

See https://github.com/nightscout/AndroidAPS/issues/2302

robertrub commented 1 year ago

I've just built the last dev now. But the problem happens ONLY if using xDrip. Using BYODA, everything is in sync.

I'll see in 10 days for the next sensor change (I'll switch to xDrip and 2nd transmitter)

Thanks for the #2302 link. That's the one I wanted to add my message to ;)

idalioreis commented 1 year ago

what i detect is the trend at xdrip are not the same at AAPS, so i cant guide by AAPS trend, i have to go always to xdrip.

robertrub commented 1 year ago

@idalioreis The different trends in xDrip and AAPS is "normal" as xDrip shows the arrow based on the last 2 BGs while AAPS uses a longer delta (or the one produced by Dexcom, can't recall exactly)

MilosKozak commented 1 year ago

https://github.com/nightscout/AndroidAPS/commit/4b6eab6aa405b6906d7eb15fa1458759ab9dc3df