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

Backfill GCM data #33

Closed
Kalhama opened this issue Aug 24, 2024 · 0 comments
Closed

Backfill GCM data #33

Kalhama opened this issue Aug 24, 2024 · 0 comments
Labels
enhancement New feature or request librelinkup

Comments

@Kalhama
Copy link
Owner

Kalhama commented Aug 24, 2024

Need to use historical values for backfilling, which are processed in some way that is not easily determined. I think best assumption is to manage it as if it was five period moving average.

chart

If we offset the timestamps of historical values by period / 2 = 2.5 minutes
We lose: values contain little bit of future values
We gain: non biased estimator for the raw value at that new timestamp

  • Gluwave: API: GET glucose
  • Librelinkup: Discard uploading historical value if there is a value within 2 minutes before or after it.
@Kalhama Kalhama added enhancement New feature or request librelinkup labels Aug 24, 2024
@Kalhama Kalhama changed the title Backfill data if gcm app has had an connection error Backfill GCM data Sep 16, 2024
Kalhama added a commit that referenced this issue Sep 24, 2024
@Kalhama Kalhama closed this as completed Sep 24, 2024
This was referenced Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request librelinkup
Projects
None yet
Development

No branches or pull requests

1 participant