AndroidAPS
AndroidAPS copied to clipboard
[2.6.1.4 - 2.7-rc1] xDrip+ doesn't receive treatments when phone is offline
As the title says, xDrip+ doesn't receive treatments from AndroidAPS when the phone is offline. (Blood glucose values are being sent from xDrip+ to AndroidAPS without problem when there is no internet connection.) There is a caveat, though: I can not proof that AndroidAPS is the culprit, it could also be xDrip+. But we have to start somewhere. The only thing I can tell you is that this started months ago and if my memory serves my right, it was connected to an AndroidAPS update, maybe to 2.5 or it was 2.6. Unfortunately I didn't take notes. It has also persisted through several xDrip+-versions.
Steps to reproduce: Disconnect the phone from wifi and mobile data. Issue a treatment (carbs or bolus). Look at the xDrip+-graph for ten minutes and notice that the treatment isn't being shown. Reenable the internet connection. Notice that the treatment is being shown in xDrip+, maybe within a minute. Conclusion: sync only happens via Nightscout and not via local broadcast.
AndroidAPS configuration on 2.7-rc1:
Issued treatment on 03:18 p.m.:
No internet connection:
10 minutes later, treamtent isn't being shown:
Reenabling internet connection, treatment is being shown:
xDrip+-settings:
Tested with: Oneplus 3T (Android 9) (the screenshots are from this system) Dexcom G6 Medtronic 554 AAPS: 2.7-rc1 b5957db (local broadcast enabled) xDrip+: 2020.07.13 (accept treatments enabled) AndroidAPS.2020-07-30_15-09-18.0.zip
Samsung S10+ FreeStyle Libre 2 MDI AAPS: 2.6.1.4 (local broadcast enabled) xDrip+: 2020.07.13 (accept treatments enabled)
EDIT: Additional system: Samsung Galaxy Note 8 - Android 9 Freestyle Libre 2 MDI AAPS 2.6.1.4 (local broadcast enabled) xDrip+: Version 18b040a - 2020.04.18. (accept treatments enabled)
Hi @ArthurusDent not sure if this is connected but may give a clue, what is in your AAPS xDrip tab? Sometimes mine is hours out of date then catches up?
That's why I mentioned that there is no problem with sending BG values from xDrip+ to AndroidAPS, at least for my system. ;)