-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Dexcom Share CGM broken by changes in data format for OUS accounts #1576
Comments
Following. We are experiencing the same issue and getting the same error. I found an Aug 2019 posting that suggested removing the share app credentials from loop would resolve, but it hasn’t worked for us thus far. |
This post in the Looped FB group talks about this issue and also suggests removing the share credentials. |
Based on issue report from the app "failed to decode sgv record"
|
A quick workaround (not a fix as it breaks if dexcom is inconsistent in its format, say strings in non-US and numbers in US as it appears) could be something like this (to substitute |
A proposed hotfix branch is out for testing for FreeAPS. |
@hpc4fun I was a little uncertain of the actual strings for trendmap positions 8 and 9 - they disagree with the share2bridge javascript, so I put in a nonsense string instead of my current arrow string and appropriately got no arrow returned. |
Should this be closed since the change was accepted into a working branch? |
No, it’s not fixed in LoopKit/Loop yet, so better leave it open. |
This has been fixed in Loop dev branch, dexcom-share-client-swift commit 1faf69f. I do not think any updates to Loop master are planned. |
There has been mention of adding Dash support to the Loop 2.x line when it is finalised in dev and Loop 3.0 is released. Meaning that there will eventually be a new (final?) release of Loop2.x. Perhaps keep this issue open so it can be fixed for Loop 2.x as well when this happens? |
Looks like this is fixed in Loop master as well with release 2.2.9 |
The Dexcom Share CGM for Loop (https://github.com/LoopKit/dexcom-share-client-swift) recently got broken by changes in the data format for "Outside of the US" (OUS) accounts. It is likely US accounts will be affected in the future.
More info can be found in
nightscout/share2nightscout-bridge#52
and hints of the solution can be found in
nightscout/share2nightscout-bridge@976fce4
and Nightscout commits on Dec 2, 2021
https://github.com/nightscout/cgm-remote-monitor/commits/8d83617c92c2b43f9c3ab03d653404e6fa7c325c
To Reproduce
Enter Dexcom Share credentials for Share CGM
This is the result, failing at interpreting trend data:
Phone
iPhone 13 mini, iOS 15.1
Loop Version
CGM
Dexcom G6
Outside of US Dexcom account
Old style username (not email address)
The text was updated successfully, but these errors were encountered: