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

Uploading incorrect delta to Nightscout #920

Closed
cascer1 opened this issue Jun 19, 2019 · 4 comments
Closed

Uploading incorrect delta to Nightscout #920

cascer1 opened this issue Jun 19, 2019 · 4 comments

Comments

@cascer1
Copy link

cascer1 commented Jun 19, 2019

Originally created as nightscout/cgm-remote-monitor#4693

Describe the bug
The delta reported by the nightscout API (for example /api/v1/entries/current.json) is different from the actual BG delta. According to @sulkaharo this is caused by xDrip uploading incorrect deltas to Nightscout.

To Reproduce

  1. Observe delta reported by xDrip (in the xDrip app)
  2. Calculate actual delta (using last two readings, should be the same as xDrip)
  3. Observe delta reported by Nightscout (not API, should also be the same as xDrip)
  4. Observe delta reported by API (this is often different)

Expected behavior
The BG delta uploaded to Nightscout should be the actual delta.

Screenshots
Recording displaying discrepancy

Your setup information

  • Nightscout version 0.11.2-rc2-20190323
  • xDrip nightly 20190530-a25cacb
  • Dexcom G6

Additional information
This issue never occurred for me when I was using a Dexcom G5.

@dmelliott20
Copy link

did you get to the bottom of this. I'm experiencing the same issue

@cascer1
Copy link
Author

cascer1 commented Jan 3, 2021

I bought a new phone that doesn't work well with xDrip so i switched to another app.

@tolot27 tolot27 added algorithmics bug any kind of software error sync-nightscout labels Jan 3, 2021
@Navid200
Copy link
Collaborator

Navid200 commented Aug 7, 2021

@cascer1

Observe delta reported by Nightscout (not API, should also be the same as xDrip)

Where is this delta, which is correct, coming from if not from xDrip?

@tolot27 tolot27 self-assigned this Aug 7, 2021
@Navid200 Navid200 added duplicate and removed bug any kind of software error labels Apr 11, 2023
@Navid200
Copy link
Collaborator

I can recreate this problem. So, I will see if I can understand more about it and hopefully fix it.

But, the problem seems to be, at least for me, directly related to the problem reported here: #691

If there is a reason this is a different matter, please explain and help me understand and I will reopen this.
Thanks for reporting.

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

4 participants