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

Fix linkup reporting delay #36

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ady624
Copy link

@ady624 ady624 commented Jan 24, 2024

Fix the ~20min delay when importing glucose measurements from LinkUp

It appears Libre intentionally cuts the last 20 minutes, but does provide the latest value. This fix simple injects the latest value into the graph data stream and removes the filtering. The filter removal is required to allow the recovery of any missing 20 minute period missing at a restart - using the latest timestamp prevents bringing in data from any missing period prior to any imported value. Upon testing, I can confirm that NS does not maintain duplicates, the mongodb data only shows one value of each, so the filtering seems to be unnecessary either way and can only create issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant