Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double arrows : logs #3642

Open
robertrub opened this issue Dec 21, 2024 · 7 comments
Open

Double arrows : logs #3642

robertrub opened this issue Dec 21, 2024 · 7 comments

Comments

@robertrub
Copy link

robertrub commented Dec 21, 2024

@MilosKozak You had asked the logs when double arrows arrive in AAPS.

I think they happen when there is a steep direction change in BGs. This night's examples : sensor compression, goes low, I turn or wake up with the alerts and BGs raise. I have the last dev and am using average smoothing. G6 and xDrip.

Arrows are OK in xDrip

Screenshot_20241221_032207_xDrip+.jpg

Screenshot_20241221_032217_AAPS.jpg

Screenshot_20241221_032230_AAPS.jpg

The logs during the double arrows (look around 03:17

AndroidAPS_LOG_during.zip

And a bit after the double arrows

AndroidAPS_LOG_after.zip

An automation kicks in in case of steep drop.

@robertrub
Copy link
Author

Noisy sensor. Happened again

Screenshot_20241221_161641_xDrip+.jpg

20241221_161340.jpg

Screenshot_20241221_161740_AAPS.jpg

Screenshot_20241221_161756_AAPS.jpg

The logs

AndroidAPS_LOG_1734794294359.log.zip

@robertrub
Copy link
Author

This shity sensor is very sensible to compression and wakes me up every night :( But I hope shows the reason to the double down arrows in the multiple logs ;)

AndroidAPS_LOG_1734829094180.log.zip

Screenshot_20241222_015739_xDrip+.jpg

Screenshot_20241222_015758_AAPS.jpg

@robertrub
Copy link
Author

Another case but with sensor errors. The sensor stopped sending BG for 30 min then started sending. Arrow normal on xDrip but double down in AAPS

Screenshot_20241223_075654_xDrip+.jpg

Screenshot_20241223_075702_AAPS.jpg

Screenshot_20241223_075713_AAPS.jpg

Came back to normal after 6 BG

Screenshot_20241223_083334_AAPS.jpg

Logs after the first doublé arrow

AndroidAPS_LOG_1734937044695.log.zip

@MilosKozak
Copy link
Contributor

03:17:14.302 [DefaultDispatcher-worker-3] D/BGSOURCE: [XdripSourcePlugin$XdripSourceWorker.doWorkAndLog():105]: Received xDrip data: Bundle[{com.eveningoutpost.dexdrip.Extras.NoiseBlockLevel=200, com.eveningoutpost.dexdrip.Extras.BgSlope=4.3345181016144415E-5, com.eveningoutpost.dexdrip.Extras.VersionInfo=2124101120 9f769df-2024.10.11, com.eveningoutpost.dexdrip.Extras.Raw=0.0, com.eveningoutpost.dexdrip.Extras.Display.Units=mg/dl, com.eveningoutpost.dexdrip.Extras.Time=1734747431118, com.eveningoutpost.dexdrip.Extras.CalibrationInfo=-1, com.eveningoutpost.dexdrip.Extras.NsNoiseLevel=null, com.eveningoutpost.dexdrip.Extras.SensorStartedAt=1733386202079, com.eveningoutpost.dexdrip.Extras.Noise=-9999.0, com.eveningoutpost.dexdrip.Extras.SensorBattery=-1, com.eveningoutpost.dexdrip.Extras.BgSlopeName=DoubleDown, com.eveningoutpost.dexdrip.Extras.BgEstimate=97.0, com.eveningoutpost.dexdrip.Extras.SourceDesc=G6 Native / G5 Native, com.eveningoutpost.dexdrip.Extras.SourceInfo=G6 Native, com.eveningoutpost.dexdrip.Extras.Collector.NanoStatus= }]

xdrip is sending DoubleDown. AAPS doesn't change the arrow if provided.
Report to xDrip

@robertrub
Copy link
Author

robertrub commented Dec 25, 2024

Ok, tnx. It's funny how they send double down arrows but show only one up...

Please leave this issue open. I'll link it to them.

@robertrub
Copy link
Author

@MilosKozak This is the answer from Navid / xDrip. They say that xDrip transmits the arrows without treatment but calulate the arrow on their own UI.

Can AAPS do the same ? We already have the delta, needs some code to determine the angle 😉

NightscoutFoundation/xDrip#414 (comment)

@MilosKozak
Copy link
Contributor

i don't think we should have different behavior for diffrent BG sources.
xDrip should decide what should be presented to AAPS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants