timoschlueter / nightscout-librelink-up

Script written in TypeScript that uploads CGM readings from LibreLink Up to Nightscout.
MIT License
189 stars 246 forks source link

Old Data in LibreLinkUp | [info]: No new measurements to upload #111

Open svensson90 opened 9 months ago

svensson90 commented 9 months ago

Hey guys, since Okt 3. i only get new values in Nightscout / nightscout-librelink-up every 10-15 minutes. Is there a change in the API or is the API of libre not available?

The output of the script is " [info]: No new measurements to upload" so maybe there is still no acutal data available? I dont know were to start to fix it.

Svensson90

FamouZzE commented 8 months ago

I also seem to have the same issue and was wondering what is going on, when I check LibreLinkUp it seems to have the newest values but script says no new values. Before it would update like every minute. Also the time when it updates seems to be totally random.

FamouZzE commented 8 months ago

So for any other people searching this topic, I did not find a solution for the script and ditched it. But switched to Juggluco from there I can directly connect my Libre 3, broadcast data on my phone to AndroidAPS, Upload to LibreView and therefore LibreLinkUp and Nightscout. This works like I expected and I get Glucose updates every Minute.

I had the script running in parallel for a few hours but the problem was still there but this time I knew for a fact that the glucose was send to LibreLinkUp every minute. So I do not have a clue why the API seems to have some kind of restriction. If anymore info on my solution is wanted, please let me know.

If anyone wants to research this issue further maybe this excerpt of my glucose data from AndroidAPS can help understand it. You can clearly see that the script is working and then of a sudden the LibreLink API only updates values about every 15 minutes. This does not seem like a call restriction because I also had days where it worked for 20h and then showed this behavior but also like you can see sometimes it only works for one or two ours a day.

timoschlueter commented 8 months ago

Have you tried setting a different region through the environment variable? I ran into a similar situation when I was on vacation in Sweden but my nightscout-librelink-up was still hosted in Germany.

There seems to be a strange behavior when the hosting region does not match the region where the sensor is used.

FamouZzE commented 8 months ago

No I didn't try that but I set my region to Germany and stayed here for the whole time. In summer, when I was on vacation there was no problem.