AndroidAPS
AndroidAPS copied to clipboard
[3.3] Faulty calculation of delta
With the current master (3.3) I face a serious problem with the calculation of the deltas. Most of the time, the delta is calculated as zero although the bg values show differences:
The graph also shows many pale bg values:
I can provide more informations or logs if needed
I use G7 with xDrip direct connection 3.3 master and Fake data source 3.3 dev and I don't experience this.
Can you provide more info. Sensor type, setup in regards to getting bg to AAPS, logs from AAPS?
I use the Libre 3 via Juggluco -> xDrip (Nightscout Follow) -> AAPS.
Here is an excerpt from the log (cut at the invokation of onReceive of the Data Receiver):
12:57:56.184 [main] D/CORE: [DataReceiver.onReceive():38]: onReceive com.eveningoutpost.dexdrip.BgEstimate Bundle{ com.eveningoutpost.dexdrip.Extras.NoiseBlockLevel => 200; com.eveningoutpost.dexdrip.Extras.BgSlope => 3.3557046979865773E-6; com.eveningoutpost.dexdrip.Extras.VersionInfo => 2124123110 8ed51e7-2024.12.31; com.eveningoutpost.dexdrip.Extras.Raw => 0.0; com.eveningoutpost.dexdrip.Extras.Display.Units => mg/dl; com.eveningoutpost.dexdrip.Extras.Time => 1735905473000; com.eveningoutpost.dexdrip.Extras.CalibrationInfo => -1; com.eveningoutpost.dexdrip.Extras.NsNoiseLevel => 1; com.eveningoutpost.dexdrip.Extras.SensorStartedAt => 1735856133660; com.eveningoutpost.dexdrip.Extras.Noise => 2.282510757446289; com.eveningoutpost.dexdrip.Extras.SensorBattery => -1; com.eveningoutpost.dexdrip.Extras.NoiseWarning => 0; com.eveningoutpost.dexdrip.Extras.BgSlopeName => Flat; com.eveningoutpost.dexdrip.Extras.BgEstimate => 110.0; com.eveningoutpost.dexdrip.Extras.SourceDesc => Nightscout; com.eveningoutpost.dexdrip.Extras.SourceInfo => Nightscout Follow; }Bundle
12:57:56.267 [DefaultDispatcher-worker-6] D/BGSOURCE: [XdripSourcePlugin$XdripSourceWorker.doWorkAndLog():106]: Received xDrip data: Bundle[{com.eveningoutpost.dexdrip.Extras.NoiseBlockLevel=200, com.eveningoutpost.dexdrip.Extras.BgSlope=3.3557046979865773E-6, com.eveningoutpost.dexdrip.Extras.VersionInfo=2124123110 8ed51e7-2024.12.31, com.eveningoutpost.dexdrip.Extras.Raw=0.0, com.eveningoutpost.dexdrip.Extras.Display.Units=mg/dl, com.eveningoutpost.dexdrip.Extras.Time=1735905473000, com.eveningoutpost.dexdrip.Extras.CalibrationInfo=-1, com.eveningoutpost.dexdrip.Extras.NsNoiseLevel=1, com.eveningoutpost.dexdrip.Extras.SensorStartedAt=1735856133660, com.eveningoutpost.dexdrip.Extras.Noise=2.282510757446289, com.eveningoutpost.dexdrip.Extras.SensorBattery=-1, com.eveningoutpost.dexdrip.Extras.NoiseWarning=0, com.eveningoutpost.dexdrip.Extras.BgSlopeName=Flat, com.eveningoutpost.dexdrip.Extras.BgEstimate=110.0, com.eveningoutpost.dexdrip.Extras.SourceDesc=Nightscout, com.eveningoutpost.dexdrip.Extras.SourceInfo=Nightscout Follow}]
12:57:56.286 [RxCachedThreadScheduler-156] D/DATABASE: [CompatDBHelper$dbChangeDisposable$2.accept():62]: Firing EventNewBG GlucoseValue(id=32222, version=0, dateCreated=1735905476272, isValid=true, referenceId=null, interfaceIDs_backing=InterfaceIDs(nightscoutSystemId=null, nightscoutId=null, pumpType=null, pumpSerial=null, temporaryId=null, pumpId=null, startId=null, endId=null), timestamp=1735905473000, utcOffset=3600000, raw=0.0, value=110.0, trendArrow=FLAT, noise=null, sourceSensor=LIBRE_3_FOLLOW)
12:57:56.289 [RxCachedThreadScheduler-156] D/DATABASE: [CompatDBHelper$dbChangeDisposable$2.accept():67]: Firing EventNewHistoryData 1735905473000 GlucoseValue(id=32222, version=0, dateCreated=1735905476272, isValid=true, referenceId=null, interfaceIDs_backing=InterfaceIDs(nightscoutSystemId=null, nightscoutId=null, pumpType=null, pumpSerial=null, temporaryId=null, pumpId=null, startId=null, endId=null), timestamp=1735905473000, utcOffset=3600000, raw=0.0, value=110.0, trendArrow=FLAT, noise=null, sourceSensor=LIBRE_3_FOLLOW)
12:57:56.292 [RxCachedThreadScheduler-156] D/DATABASE: [PersistenceLayerImpl$insertCgmSourceData$4.apply():586]: Inserted GlucoseValue from Xdrip GlucoseValue(id=32222, version=0, dateCreated=1735905476272, isValid=true, referenceId=null, interfaceIDs_backing=InterfaceIDs(nightscoutSystemId=null, nightscoutId=null, pumpType=null, pumpSerial=null, temporaryId=null, pumpId=null, startId=null, endId=null), timestamp=1735905473000, utcOffset=3600000, raw=0.0, value=110.0, trendArrow=FLAT, noise=null, sourceSensor=LIBRE_3_FOLLOW)
12:57:56.296 [DefaultDispatcher-worker-6] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.plugins.source.XdripSourcePlugin$XdripSourceWorker Data {}
12:57:56.346 [DefaultDispatcher-worker-1] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.plugins.sync.nsclientV3.workers.DataSyncWorker Data {}
12:58:01.309 [pool-10-thread-1] D/WORKER: [CalculationWorkflowImpl.stopCalculation():47]: Stopping calculation thread: onEventNewHistoryData
12:58:01.334 [pool-10-thread-1] D/WORKER: [CalculationWorkflowImpl.stopCalculation():52]: Calculation thread stopped: onEventNewHistoryData
12:58:01.342 [pool-10-thread-1] D/WORKER: [CalculationWorkflowImpl.runCalculation():64]: Starting calculation worker: EventNewBG to 03.01.25 12:58:01
12:58:01.510 [DefaultDispatcher-worker-2] D/CORE: [AutosensDataStoreObject.createBucketedDataRecalculated():239]: Adjusted time 03.01.25 12:57:53
12:58:01.544 [DefaultDispatcher-worker-2] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.workflow.LoadBgDataWorker Data {}
12:58:01.582 [DefaultDispatcher-worker-2] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.workflow.PrepareBucketedDataWorker Data {}
12:58:01.616 [DefaultDispatcher-worker-2] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.workflow.PrepareBgDataWorker Data {}
12:58:01.647 [DefaultDispatcher-worker-2] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.workflow.UpdateGraphWorker Data {}
12:58:01.731 [DefaultDispatcher-worker-6] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.workflow.PrepareTreatmentsDataWorker Data {}
12:58:02.715 [DefaultDispatcher-worker-6] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.workflow.PrepareBasalDataWorker Data {}
12:58:02.816 [DefaultDispatcher-worker-6] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.workflow.PrepareTemporaryTargetDataWorker Data {}
12:58:02.835 [DefaultDispatcher-worker-6] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.workflow.UpdateGraphWorker Data {}
12:58:03.007 [DefaultDispatcher-worker-1] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.workflow.iob.IobCobOref1Worker Data {}
12:58:03.053 [DefaultDispatcher-worker-1] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.workflow.UpdateIobCobSensWorker Data {}
12:58:03.698 [DefaultDispatcher-worker-6] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.workflow.PrepareIobAutosensGraphDataWorker Data {}
12:58:03.721 [DefaultDispatcher-worker-6] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.workflow.UpdateGraphWorker Data {}
12:58:03.735 [DefaultDispatcher-worker-5] D/APS: [LoopPlugin.invoke():239]: invoke from Calculation for InMemoryGlucoseValue(timestamp=1735905473000, value=110.0, trendArrow=FLAT, smoothed=null, filledGap=false, sourceSensor=LIBRE_3_FOLLOW)
12:58:03.736 [DefaultDispatcher-worker-5] D/APS: [OpenAPSSMBPlugin.invoke():290]: invoke from Calculation for InMemoryGlucoseValue(timestamp=1735905473000, value=110.0, trendArrow=FLAT, smoothed=null, filledGap=false, sourceSensor=LIBRE_3_FOLLOW) tempBasalFallback: false
12:58:03.737 [DefaultDispatcher-worker-5] D/GLUCOSE: [GlucoseStatusProviderImpl.getGlucoseStatusData():79]: InMemoryGlucoseValue(timestamp=1735905173000, value=109.0, trendArrow=NONE, smoothed=null, filledGap=false, sourceSensor=LIBRE_3_FOLLOW) minutesAgo=5 avgDelta=1.0
12:58:03.737 [DefaultDispatcher-worker-5] D/GLUCOSE: [GlucoseStatusProviderImpl.getGlucoseStatusData():79]: InMemoryGlucoseValue(timestamp=1735904873000, value=105.0, trendArrow=NONE, smoothed=null, filledGap=false, sourceSensor=LIBRE_3_FOLLOW) minutesAgo=10 avgDelta=2.5
12:58:03.737 [DefaultDispatcher-worker-5] D/GLUCOSE: [GlucoseStatusProviderImpl.getGlucoseStatusData():79]: InMemoryGlucoseValue(timestamp=1735903073000, value=93.0, trendArrow=NONE, smoothed=null, filledGap=false, sourceSensor=LIBRE_3_FOLLOW) minutesAgo=40 avgDelta=2.125
12:58:03.737 [DefaultDispatcher-worker-5] D/GLUCOSE: [GlucoseStatusProviderImpl.getGlucoseStatusData():79]: InMemoryGlucoseValue(timestamp=1735900973000, value=93.0, trendArrow=FLAT, smoothed=null, filledGap=false, sourceSensor=LIBRE_3_FOLLOW) minutesAgo=75 avgDelta=1.1333333333333333
12:58:03.738 [DefaultDispatcher-worker-5] D/GLUCOSE: [GlucoseStatusProviderImpl.getGlucoseStatusData():264]: Glucose: 110 mg/dl Noise: 0 Delta: 1 mg/dlShort avg. delta: 1,75 mg/dl Long avg. delta: 2,12 mg/dl Dura ISF minutes: 10,00 m Dura ISF average: 108,00 mg/dl Parabola minutes: 0,00 m Parabola correlation: 0,00 Parabola fit a0: 0,00 mg/dl Parabola fit a1: 0,00 mg/dl/5m Parabola fit a2: 0,00 mg/dl/(5m)^2
13:02:54.742 [main] D/CORE: [DataReceiver.onReceive():38]: onReceive com.eveningoutpost.dexdrip.BgEstimate Bundle{ com.eveningoutpost.dexdrip.Extras.NoiseBlockLevel => 200; com.eveningoutpost.dexdrip.Extras.BgSlope => 5.809128630705394E-5; com.eveningoutpost.dexdrip.Extras.VersionInfo => 2124123110 8ed51e7-2024.12.31; com.eveningoutpost.dexdrip.Extras.Raw => 0.0; com.eveningoutpost.dexdrip.Extras.Display.Units => mg/dl; com.eveningoutpost.dexdrip.Extras.Time => 1735905714000; com.eveningoutpost.dexdrip.Extras.CalibrationInfo => -1; com.eveningoutpost.dexdrip.Extras.NsNoiseLevel => 1; com.eveningoutpost.dexdrip.Extras.SensorStartedAt => 1735856133660; com.eveningoutpost.dexdrip.Extras.Noise => 5.0361328125; com.eveningoutpost.dexdrip.Extras.SensorBattery => -1; com.eveningoutpost.dexdrip.Extras.NoiseWarning => 0; com.eveningoutpost.dexdrip.Extras.BgSlopeName => SingleUp; com.eveningoutpost.dexdrip.Extras.BgEstimate => 124.0; com.eveningoutpost.dexdrip.Extras.SourceDesc => Nightscout; com.eveningoutpost.dexdrip.Extras.SourceInfo => Nightscout Follow; }Bundle
13:02:54.904 [DefaultDispatcher-worker-5] D/BGSOURCE: [XdripSourcePlugin$XdripSourceWorker.doWorkAndLog():106]: Received xDrip data: Bundle[{com.eveningoutpost.dexdrip.Extras.NoiseBlockLevel=200, com.eveningoutpost.dexdrip.Extras.BgSlope=5.809128630705394E-5, com.eveningoutpost.dexdrip.Extras.VersionInfo=2124123110 8ed51e7-2024.12.31, com.eveningoutpost.dexdrip.Extras.Raw=0.0, com.eveningoutpost.dexdrip.Extras.Display.Units=mg/dl, com.eveningoutpost.dexdrip.Extras.Time=1735905714000, com.eveningoutpost.dexdrip.Extras.CalibrationInfo=-1, com.eveningoutpost.dexdrip.Extras.NsNoiseLevel=1, com.eveningoutpost.dexdrip.Extras.SensorStartedAt=1735856133660, com.eveningoutpost.dexdrip.Extras.Noise=5.0361328125, com.eveningoutpost.dexdrip.Extras.SensorBattery=-1, com.eveningoutpost.dexdrip.Extras.NoiseWarning=0, com.eveningoutpost.dexdrip.Extras.BgSlopeName=SingleUp, com.eveningoutpost.dexdrip.Extras.BgEstimate=124.0, com.eveningoutpost.dexdrip.Extras.SourceDesc=Nightscout, com.eveningoutpost.dexdrip.Extras.SourceInfo=Nightscout Follow}]
13:02:54.988 [RxCachedThreadScheduler-162] D/DATABASE: [CompatDBHelper$dbChangeDisposable$2.accept():62]: Firing EventNewBG GlucoseValue(id=32223, version=0, dateCreated=1735905774948, isValid=true, referenceId=null, interfaceIDs_backing=InterfaceIDs(nightscoutSystemId=null, nightscoutId=null, pumpType=null, pumpSerial=null, temporaryId=null, pumpId=null, startId=null, endId=null), timestamp=1735905714000, utcOffset=3600000, raw=0.0, value=124.0, trendArrow=SINGLE_UP, noise=null, sourceSensor=LIBRE_3_FOLLOW)
13:02:54.990 [RxCachedThreadScheduler-162] D/DATABASE: [CompatDBHelper$dbChangeDisposable$2.accept():67]: Firing EventNewHistoryData 1735905714000 GlucoseValue(id=32223, version=0, dateCreated=1735905774948, isValid=true, referenceId=null, interfaceIDs_backing=InterfaceIDs(nightscoutSystemId=null, nightscoutId=null, pumpType=null, pumpSerial=null, temporaryId=null, pumpId=null, startId=null, endId=null), timestamp=1735905714000, utcOffset=3600000, raw=0.0, value=124.0, trendArrow=SINGLE_UP, noise=null, sourceSensor=LIBRE_3_FOLLOW)
13:02:54.993 [RxCachedThreadScheduler-162] D/DATABASE: [PersistenceLayerImpl$insertCgmSourceData$4.apply():586]: Inserted GlucoseValue from Xdrip GlucoseValue(id=32223, version=0, dateCreated=1735905774948, isValid=true, referenceId=null, interfaceIDs_backing=InterfaceIDs(nightscoutSystemId=null, nightscoutId=null, pumpType=null, pumpSerial=null, temporaryId=null, pumpId=null, startId=null, endId=null), timestamp=1735905714000, utcOffset=3600000, raw=0.0, value=124.0, trendArrow=SINGLE_UP, noise=null, sourceSensor=LIBRE_3_FOLLOW)
13:02:55.006 [DefaultDispatcher-worker-5] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.plugins.source.XdripSourcePlugin$XdripSourceWorker Data {}
13:02:55.143 [DefaultDispatcher-worker-2] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.plugins.sync.nsclientV3.workers.DataSyncWorker Data {}
13:03:00.030 [pool-10-thread-1] D/WORKER: [CalculationWorkflowImpl.stopCalculation():47]: Stopping calculation thread: onEventNewHistoryData
13:03:00.052 [pool-10-thread-1] D/WORKER: [CalculationWorkflowImpl.stopCalculation():52]: Calculation thread stopped: onEventNewHistoryData
13:03:00.067 [pool-10-thread-1] D/WORKER: [CalculationWorkflowImpl.runCalculation():64]: Starting calculation worker: EventNewBG to 03.01.25 13:03:00
13:03:00.312 [DefaultDispatcher-worker-5] D/CORE: [AutosensDataStoreObject.createBucketedDataRecalculated():239]: Adjusted time 03.01.25 13:01:54
13:03:00.360 [DefaultDispatcher-worker-5] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.workflow.LoadBgDataWorker Data {}
13:03:00.425 [DefaultDispatcher-worker-5] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.workflow.PrepareBucketedDataWorker Data {}
13:03:00.502 [DefaultDispatcher-worker-5] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.workflow.PrepareBgDataWorker Data {}
13:03:00.559 [DefaultDispatcher-worker-5] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.workflow.UpdateGraphWorker Data {}
13:03:00.718 [DefaultDispatcher-worker-6] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.workflow.PrepareTreatmentsDataWorker Data {}
13:03:02.545 [DefaultDispatcher-worker-6] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.workflow.PrepareBasalDataWorker Data {}
13:03:02.795 [DefaultDispatcher-worker-6] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.workflow.PrepareTemporaryTargetDataWorker Data {}
13:03:02.854 [DefaultDispatcher-worker-6] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.workflow.UpdateGraphWorker Data {}
13:03:03.493 [DefaultDispatcher-worker-2] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.workflow.iob.IobCobOref1Worker Data {}
13:03:03.537 [DefaultDispatcher-worker-2] D/WORKER: [LoggingWorker$doWork$2.invokeSuspend():27]: Worker result SUCCESS for class app.aaps.workflow.UpdateIobCobSensWorker Data {}
13:03:04.511 [RxCachedThreadScheduler-75] D/GLUCOSE: [GlucoseStatusProviderImpl.getGlucoseStatusData():79]: InMemoryGlucoseValue(timestamp=1735903314000, value=95.0, trendArrow=FLAT, smoothed=null, filledGap=false, sourceSensor=LIBRE_3_FOLLOW) minutesAgo=40 avgDelta=3.625
13:03:04.512 [RxCachedThreadScheduler-51] D/GLUCOSE: [GlucoseStatusProviderImpl.getGlucoseStatusData():79]: InMemoryGlucoseValue(timestamp=1735903314000, value=95.0, trendArrow=FLAT, smoothed=null, filledGap=false, sourceSensor=LIBRE_3_FOLLOW) minutesAgo=40 avgDelta=3.625
13:03:04.514 [RxCachedThreadScheduler-75] D/GLUCOSE: [GlucoseStatusProviderImpl.getGlucoseStatusData():79]: InMemoryGlucoseValue(timestamp=1735901214000, value=92.0, trendArrow=FLAT, smoothed=null, filledGap=false, sourceSensor=LIBRE_3_FOLLOW) minutesAgo=75 avgDelta=2.1333333333333333
13:03:04.514 [RxCachedThreadScheduler-51] D/GLUCOSE: [GlucoseStatusProviderImpl.getGlucoseStatusData():79]: InMemoryGlucoseValue(timestamp=1735901214000, value=92.0, trendArrow=FLAT, smoothed=null, filledGap=false, sourceSensor=LIBRE_3_FOLLOW) minutesAgo=75 avgDelta=2.1333333333333333
13:03:04.516 [RxCachedThreadScheduler-75] D/GLUCOSE: [GlucoseStatusProviderImpl.getGlucoseStatusData():264]: Glucose: 124 mg/dl Noise: 0 Delta: 0 mg/dlShort avg. delta: 0,00 mg/dl Long avg. delta: 3,62 mg/dl Dura ISF minutes: 0,00 m Dura ISF average: 124,00 mg/dl Parabola minutes: 0,00 m Parabola correlation: 0,00 Parabola fit a0: 0,00 mg/dl Parabola fit a1: 0,00 mg/dl/5m Parabola fit a2: 0,00 mg/dl/(5m)^2
13:03:04.516 [RxCachedThreadScheduler-51] D/GLUCOSE: [GlucoseStatusProviderImpl.getGlucoseStatusData():264]: Glucose: 124 mg/dl Noise: 0 Delta: 0 mg/dlShort avg. delta: 0,00 mg/dl Long avg. delta: 3,62 mg/dl Dura ISF minutes: 0,00 m Dura ISF average: 124,00 mg/dl Parabola minutes: 0,00 m Parabola correlation: 0,00 Parabola fit a0: 0,00 mg/dl Parabola fit a1: 0,00 mg/dl/5m Parabola fit a2: 0,00 mg/dl/(5m)^2
this is not easy to find from logs if the problem can be observed in AAPS Client you can PM me NS credentials
I have exactly the same error, but with a slightly different setup.
FSL3 via Juggluco --> xDrip (Source: Libre patched) --> AAPS I've also testet FSL3 via Juggluco --> AAPS --> xDrip (for alerting) with the same results. (I've checked the setups several times, but I cannot find any misconfigurations)
Since we have another family member with diabetes, I can inform that the delta ("0") issue doesn't exist with G7 via BYODA --> xDrip --> AAPS.
Best regards Boris
It happend to our setup but only for a few readings. Seems like delta is not calculated when a new sensor is started with different time interval on BG arrival than previous sensor. I sent Milos screens and logs on discord.
After a few readings delta is calculated and again and hasn't occurred again during this sensor session.
Setup is G7 and direct connection via xDrip+
I have the same issue with 3.3.0. Using libre2, Xdrip+ and oop2
The delta is not always 0, but it is wrong. The 5 minutes delta and 15 minutes delta appear to be the same always and the 40 minute delta is some other number. The strangest thing is that the arrow does seem to agree with Xdrip measurements.
I tried installing Juggluco next to Xdrip to see if that helped. It did not.
since AAPS started intervening based on the incorrect deltas, I had to downgrade again.
same problem here (pic is from client but master is the same) the previuos value is 7 minutes ago. maybe the calculation of deltas is bugged when is out of "standard" 5 minutes?
config: 3.3.1.0 + xdrip + oop2 (libre2+omnipod)
someone affected: give me credentials to setup AAPSClient with the bug
Warning: due to this issue Automations that make use of delta's as conditions will not work as expected.
@MilosKozak I'm experiencing this issue too. I'm currently on AAPS v3.3.1.0, FSL2 with Xdrip/OOP2, Dana-i and Nightscout v3. What exactly do you need to set up your test?
I'm also have this issue, with AAPS 3.3.1.0 - FSL2 - Xdrip - Juggluco or OOP2. One thing I noticed is that if I scan FSL2 with NFC in Xdrip, Delta is doing something.
Could it be this has something to do with the recalculations AAPS frequently does on FSL2 values? Can't really support this with data, but I noticed there are a lot of open/transparent dots in my BG graph since version 3.3. I suppose this points at recalculated BG's, can't find that in the docs though. I suspect that when such a recalculated BG value occurs the delta's may not be calculated correctly.
I'm also have this issue, with AAPS 3.3.1.0 - FSL2 - Xdrip - Juggluco or OOP2. One thing I noticed is that if I scan FSL2 with NFC in Xdrip, Delta is doing something.
I would like to add that I left Xdrip out and sticked with only FSL2 - Juggluco - AAPS and the delta values are coming through just as you would expect. So I still think the issue is somehow Xdrip related and not so much linked to the FSL2 specific
I would like to add that I left Xdrip out and sticked with only FSL2 - Juggluco - AAPS and the delta values are coming through just as you would expect. So I still think the issue is somehow Xdrip related and not so much linked to the FSL2 specific
Wait, if you run juggluco without xdrip, you get deltas. Are they the correct deltas?
repeating: if you can replicate it in AAPSClient I can have a look
I'm not using AAPSclient myself but I suppose if I share NS credentials with you you will be able to see my data in AAPSclient? Will a "readable" token do in this case?
repeating: if you can replicate it in AAPSClient I can have a look
I send you Nightscout details via Facebook DM, did that work?
I'm currently on 3.3.1.0, when I send you the link I was on 3.3.1.3. Both have the same error
i need admin token to be able connect via AAPSClient try it first yourself to be sure the issue is replicable there
i need admin token to be able connect via AAPSClient try it first yourself to be sure the issue is replicable there
It replicates in AAPSClient. I can send you the NightScout details, where do you want them?
I would like to add that I left Xdrip out and sticked with only FSL2 - Juggluco - AAPS and the delta values are coming through just as you would expect. So I still think the issue is somehow Xdrip related and not so much linked to the FSL2 specific
Wait, if you run juggluco without xdrip, you get deltas. Are they the correct deltas?
I tried this with my new sensor (fsl2). I removed xdrip from phone, started with just juggluco and aaps (3.3.1.0). This seems to give correct deltas. Aaps warns it uses recalculated glucose values (yellow / orange triangle top left of glucose value), but that is normal for fsl2
If you try this, don't forget to tell aaps to upload your glucose to NS instead of xdrip
Current setup fsl2 (eu) - - > juggluco - - > aaps 3.3.1.0
edit: updated to 3.3.1.3, same results
I would like to add that I left Xdrip out and sticked with only FSL2 - Juggluco - AAPS and the delta values are coming through just as you would expect. So I still think the issue is somehow Xdrip related and not so much linked to the FSL2 specific
Wait, if you run juggluco without xdrip, you get deltas. Are they the correct deltas?
I tried this with my new sensor (fsl2). I removed xdrip from phone, started with just juggluco and aaps (3.3.1.0). This seems to give correct deltas. Aaps warns it uses recalculated glucose values (yellow / orange triangle top left of glucose value), but that is normal for fsl2
If you try this, don't forget to tell aaps to upload your glucose to NS instead of xdrip
Current setup fsl2 (eu) - - > juggluco - - > aaps 3.3.1.0
But if you let FSL2 values come in directly through Juggluco they will be updated every minute, isn't it? What will this do to the closed loop? There also a second route: sending FSL2 values from Juggluco to Xdrip and then to AAPS. This will make values come in every 5 minutes and will enable smoothing in Xdrip. But will it also solve the delta's problem?
SHORTENED FOR CLARITY
But if you let FSL2 values come in directly through Juggluco they will be updated every minute, isn't it? What will this do to the closed loop? There also a second route: sending FSL2 values from Juggluco to Xdrip and then to AAPS. This will make values come in every 5 minutes and will enable smoothing in Xdrip. But will it also solve the delta's problem?
I tried to get them send through xdrip, did not get it to work properly. I have not used juggluco before, so might have messed that up.
Right now it updates every minute. The deltas are recalculated to cover the right period, so they are in the range of values you would expect.
My loop seems to respond normally, in the sense that i did not see much of a change relative to just before deinstalling xdrip. It might be responding more often, but not fundamentally different by the looks of it.
EDIT not sure i checked enough the last time. After several days of use i noticed that several things are odd. The arrow seems to depend on the 40 min delta, not the short ones. The 15 minute delta is the same as the 5 minute, always. The 5 min seems correct (so 15 is wrong) So still not a full solution.
Configuration AAPS 3.3.2.0 FSL2 Accu-Chek Insight DIABOX NO APP XDRIP NO NIGHTSCOUT
I have the same problem. The delta values do not match the table of glucose values.
I also notice that the graph of glucose (sometimes?) is based on the incorrect delta values. See the attached screenshots.
I am concerned that other calculations also use the incorrect delta values. For example, the required carbohydrates calculated by AAPS, in the event of an approaching hypo, are (sometimes?) unrealistically high. Unfortunately, I do not have any screenshots of that.
Please, let me know if and how I can help resolve this issue.
Jan van den Berg
Provide logs if you need help
EDIT: logs and link to other issue
uploaded logs here: https://filesender.surf.nl/?s=download&token=114cc1a6-7afb-4def-bf15-a17a1420cac7
link works till 06-05 (6th of May)
I can also give you nightscout credentials if that helps.
I also just opened another issue about the calculations of the deltas. There are some odd things in the math. If you, or anyone, is working on them, please check those out too.
Op za 5 apr 2025 18:54 schreef Milos Kozak @.***>:
Provide logs if you need help
— Reply to this email directly, view it on GitHub https://github.com/nightscout/AndroidAPS/issues/3688#issuecomment-2780958287, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHC7OJCIEA5X7QCEG3XLXAD2YADFHAVCNFSM6AAAAABURK32PGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOBQHE2TQMRYG4 . You are receiving this because you commented.Message ID: @.***> [image: MilosKozak]MilosKozak left a comment (nightscout/AndroidAPS#3688) https://github.com/nightscout/AndroidAPS/issues/3688#issuecomment-2780958287
Provide logs if you need help
— Reply to this email directly, view it on GitHub https://github.com/nightscout/AndroidAPS/issues/3688#issuecomment-2780958287, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHC7OJCIEA5X7QCEG3XLXAD2YADFHAVCNFSM6AAAAABURK32PGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOBQHE2TQMRYG4 . You are receiving this because you commented.Message ID: @.***>
@sanderrenes @Jan1758 sorry, I need screenshots and logs from the same time
@sanderrenes @Jan1758 sorry, I need screenshots and logs from the same time
Here you go:
https://filesender.surf.nl/?s=download&token=3ae368e9-89ea-4e8c-a8e6-a06aa8349e64
three screenshots over the last 10 minutes and the live log file as of now
@sanderrenes you are using 3 min interval which makes everything way more complicated (except it's not recommended and contraproductive) setup 5 min and test again
I changed the setup in Diabox in 5 minuten. Half an hour later I've made the sreenshots and logfile within 1 minute.