Open timtheis opened 10 months ago
That 22 minutes probably includes server reboot time to switch between libre linkup systems... so the delay may actually be more like 20 minutes. I did check the system clock on my server and the time is accurate and is GMT. To be clear, I had to wait about 20 minutes for that sample just to the right of 1 to show up on the graph... and the Glucose reading in the upper right was just --.. it never updated.
I do have the same issue. I have setup nightscout for the first time and have no other tooling using the linkup interface. I also uninstalled the LibreLinkUp app from my mobile which I used to setup the account. It's running now for 12h and I get my data in avarage 20 minutes delayed. Any ideas what is going wrong?
I believe this is intentional [by Libre]. Libre does 20 minutes, Dexcom delays Apple HomeKit by a whole 3 hours. This is most likely their way to prevent other apps from making real time decisions on this data. I opened a PR to fix the delay with LinkUp.
That was quick!!! Thank-you for doing this! I'm unfamiliar with the nightscout-connect update process... Is there a way I can tell which version of nightscout will incorporate the changes? Thanks again for your quick response. It's very much appreciated.
I do not know their process, I believe PRs would have to be approved, merged, then released as part of a future NS release. If you're feeling adventurous, here's is a HACKY way to do it, you can go into your NS instance where you installed it, browse into:
POC: No delay, data extends to 10:45am, and has one entry per minute 😋
I can confirm that your fixes work! I chose to modify my existing librelinkup.js file directly. Thank you for the guidance!!!
Well then, it's off to the races! Glad I could help.
The documentation for the Connect Libre module should probably be updated to reflect the new environment variable whenever this mod finds its way to Nightscout.
On Wed, Jan 24, 2024 at 1:50 PM ady624 @.***> wrote:
Well then, it's off to the races! Glad I could help.
— Reply to this email directly, view it on GitHub https://github.com/nightscout/nightscout-connect/issues/35#issuecomment-1908727495, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA23W6IAPBG7UZZRNHWA3B3YQFJV5AVCNFSM6AAAAABB3QSHBGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBYG4ZDONBZGU . You are receiving this because you authored the thread.Message ID: @.***>
Thanks for the heads up, I've updated README.md as well to notify about the new CONNECT_LINK_UP_INTERVAL
parameter.
Using Nightscout v15.02. Using the following environment variables. CONNECT_SOURCE='linkup' CONNECT_LINK_UP_USERNAME='xxxxxxxx' CONNECT_LINK_UP_PASSWORD='xxxxxxxx' CONNECT_LINK_UP_REGION='US'
Glucose data points show up, but it takes 22 minutes before they show in NS. Attached jpeg... 1-Stopped using [timoschlueter]Libre Link up and started using Connect-linkup 2- Stopped Connect-linkup and resumed [timoschlueter]Libre Link up Note the 22 minute period of no data. This is the delay I was experiencing.
This is probably as designed... but is there a way to increase the sampling from 5 minutes to 1 minute through a CONNECT_LINK_UP_TIME_INTERVAL environment variable?