NightscoutFoundation / xDrip

Nightscout version of xDrip+
https://jamorham.github.io/#xdrip-plus
GNU General Public License v3.0
1.39k stars 1.14k forks source link

10.28.2018 Nightly Wear OS Null Null Complication problem #651

Closed opasha closed 5 years ago

opasha commented 5 years ago

SOLVED: See my last post. JUST ADD A CALIBRATION on your phone app.

Current setup: Mi Max 3 (phone) + Ticwatch Pro, Ticwatch E (Wear OS watches) + MiaoMiao (cgm bluetooth transmitter) + xDrip+ (app)

Currently on 10.28.2018 nightly. Before this update, Ticwatch Pro (Wear OS 2.1) and Mi Max 3 (Oreo 8.1) had zero issues with the complications refreshing properly. The xDrip+ app watchfaces sync and work correctly. I use Pear Modular and A/D watch faces with no problems when adding the xDrip+ complication in previous versions. However, on this nightly, there's the famous null null issue. As you know, you can't rewind the wear OS xDrip+ download. Whenever I update the xDrip+ app on my phone, it's done with the internal updater of the xDrip+ app. Then, we get the toast to update our xDrip+ Wear OS app, so we un-install and re-install the latest wear version. I think the problem is with the latest wear version? Any advice is helpful. Thank you.

I've rebooted both watch and phone. I've installed the previous 10.23.2018 (this causes mismatch with the wear app), thus the app update toast returns. Nothing works to rectify the Null Null Complication problem.

opasha commented 5 years ago

Just tested my Ticwatch E (Wear OS 2.1), which has the older wear 10.23.2018 xDrip+ app installed (it's telling me to update to 10.28.2018 version), but it's showing the correct complication data for xDrip+ on Pear Modular watch face (still have 10.28.2018 on phone). I'm connected to both watches currently. So, I know for a fact that it's the 10.28.2018 xDrip+ Wear OS app. Please update. Thank you.

IMG-20181029-151152.jpg

jamorham commented 5 years ago

Nothing has changed in the wear component between 23rd - 28th Oct and other changes were extremely minimal and I doubt very much would be related.

opasha commented 5 years ago

Well, it caused an issue. I've read through all the old null null threads. Someone referred it to accidental reversion of code (it happens). Would you mind uploading the previous wear OS apk of xdrip so I can test? I'd appreciate it.

jamorham commented 5 years ago

All the code is available simply by clicking the Code tab on github, you can review the changes made between versions. The APK files are generated directly from the github commits with automatic continuous integration. I very much doubt anything unexpected has happened.

opasha commented 5 years ago

Your update even says 10.31 within the updater but the file downloaded every time says 10.30. Not that it matters, but it also fools the internal updater thinking 10.30 is older even though it's the same file unless you didn't upload it correctly. I'd appreciate if we could get this figured out together πŸ˜ŠπŸ‘ŠπŸΌ.

Screenshot-2018-10-31-13-50-07-537-com-eveningoutpost-dexdrip

IMG-20181031-134421

IMG-20181031-134525

opasha commented 5 years ago

Just an update. Seems the latest version (10.30) as seen above on my two watches fixed the complication issue with a new sensor. I'll update if anything changes. Thank you.

opasha commented 5 years ago

I figured it out! πŸ˜„πŸ˜„πŸ˜„. Updated to latest November 2 nightly and null null Complication issue returned on both watches. Xdrip watch faces as before had no issues.

The SIMPLE FIX is to ADD a single CALIBRATION (the same reasoning as starting a new sensor where you are forced to add 2 calibrations). Please mention this fix to everyone on Android Wear. πŸ‘πŸΌ

gregorybel commented 5 years ago

I added this solution here: https://github.com/gregorybel/xDrip/blob/gregorybel-update-docu/Documentation/WatchGuide.md thanks!

daniel2887 commented 4 years ago

Hi,

I'm running into this same null complication issue on my Fossil Gen 5, running xDrip+ version e14bae1-2020.07.13, watch face "Next Gen Digital" and using the xDrip complication. xDrip+ is using my Nightscout website as a data source. When I try to enter a calibration to work around this issue, I get the "impossible slope" error message. Any ideas?

farcusnz commented 3 years ago

is it possible to get this bug reopened? The solution to add a calibration works only for a single reading for me. I am using xdrip+ with oop1. If I add a calibration in xdrip then the reading displays in my watch complication. However, it does not update and after a period of a few mins displays "null null" again. Is this a result of me using oop with xdrip? watch

Lampje83 commented 2 years ago

I'm having the same issue as @farcusnz. Using a Skagen Falster 3 (= Fossil Gen 5) and a Ticwatch Pro 1, and a Freestyle Libre 2 as source.

mairamaa commented 1 year ago

Using the calibration approach only works for a single reading and that one value is left frozen on the complication, despite the actual sensor values changing in the background. Temporarily changing to a different watchface and later returning back to the initial face with xDrip complication has the complication value change to old <MM>m. This value is never updated. Complication display is never reverted back to the initial null, null. xDrip+ proprietary watchface works ok and the updated sensor values are synchronized immediately there.

xDrip app logs display errors similar to following

wearjamorham listener

syncBGData new BgReading calibrationUuid not found by byuuid; cannot save! calibrationUuid=null bgData.calibration_uuid=null bgData.uuid=8829840d-9b89-41ee-bd58-cc02ae7c362e timeString=2023-04-28 09:09:13

Using Samsung Galaxy Watch 5 Pro, Libre 2 EU with oop2, Samsung Galaxy S22 Ultra, xDrip+ Version 3254cca-2023.03.23

Giorgio-Zarantonello commented 1 year ago

@mairamaa any solution?

Experiencing this with oppo watch 1 and Xiaomi 11T pro (a13,miui14)

hlriffel commented 7 months ago

Can this issue please be reopened? I'm also facing this problem using a Libre 2 EU with OOP2 and a Ticwatch Pro 5.

Changing the "OOP2 algorithm calibration" to any value other than "No calibration" makes the complications work, but it is not really a solution for me as it shows misleading readings regardless of how many calibration values I add.

Navid200 commented 7 months ago

@hlriffel If a developer can and wants to fix this, they can. Having an open issue doesn't expedite anything as long as no developer is interested in fixing it.

There doesn't seem to be a developer interested in WearOS.