nightscout / AndroidAPS

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

BG not rounded with dynISF #3050

Closed painbrain81 closed 9 months ago

painbrain81 commented 9 months ago

After few days with dynisf i discover that in nightscout BG is "float" and not rounded. With dynisf off situation is normal with rounded values. I attach a pic (just shared in discord) with incorrect value. Screenshot_20231107_224311

MilosKozak commented 9 months ago

what is your BG source?

painbrain81 commented 9 months ago

It's always the same. Xdrip with freestyle 2 and smooth (by xdrip) with mean of last 5 values. When dynisf is on, nightscout show float, when off is ok. Ps: bg is uploaded by aaps, not xdrip

MilosKozak commented 9 months ago

put here log from AAPS to be able see data coming from xDrip

painbrain81 commented 9 months ago

I'm sorry but I haven't been able to recreate the defect yet. I'll post the logs as soon as it happens

MilosKozak commented 9 months ago

it's xdrip issue i added rounding of inccoming values anyway https://github.com/nightscout/AndroidAPS/commit/3e681ef219ceb11b6a185548ef735c8e43bd97ea