nightscout / AndroidAPS

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

Loop Disabled due to constraints #857

Closed vanelsberg closed 2 years ago

vanelsberg commented 2 years ago

AndroidAPS 2.8.2.9-dev Build: 2b021ffa Flavor: Fullrelease

Problem description: Getting RED warning icon in overview Loop displays on the "Last run" field: LOOP DISABLED BY CONSTRAIMTS BgQualityCheck: Doubled values in BGSource

Per configuration, AAPS should ignore BG values from NS. Only BG sources is xDrip as per configuration

Additional information

This configuration has been working for a long time. As BG sources for AAPS is set to "xDrip" I expect it to ignore BG values from NS (nor should it download anything else)

But with the latest QulityCheckPlugin update (commit#2b021ffafc0c4f01df65b7dfe28c3d0e51cc088f) something changed making AAPS to decide disablling loop due to BG values from NS?

Logfile: AndroidAPS_LOG_1636205974971.log.zip

Screen-prints: loop disabled

urgent

vanelsberg commented 2 years ago

Please also see my comments on https://github.com/nightscout/AndroidAPS/issues/689?

robertrub commented 2 years ago

And the red triangle stays there even when Backfill BGs from NS has been turned off. Closing AAPS, clearing cache memory doesn't get rid of the red triangle.

Alamo04 commented 2 years ago

If that is an issue with latest dev, then the new BG Quality Check is possible the reason ? https://github.com/nightscout/AndroidAPS/commit/2b021ffafc0c4f01df65b7dfe28c3d0e51cc088f

RalfCGM commented 2 years ago

Ive got the same issue. (xdrip, aaps, g6) Loops isn't able to run. Data coming from xdrip. Bg Data table in xdrip and, bg data table in aaps doesn't show doubles.

MilosKozak commented 2 years ago

i made the triangel clickable in dev branch

MilosKozak commented 2 years ago

you may try update to latest dev and clear db