timoschlueter / nightscout-librelink-up

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

Current Measurement doesnt show in nightscout #31

Closed Lirycs228 closed 1 year ago

Lirycs228 commented 2 years ago

I have configured an instance of nightscout and this uploader since 2 weeks now. For the first week everything ran fine. The uploader was pushing the current measurement and the backfilled data to nightscout every minute.

After the first week I noticed during one day. that the dots would not appear every minute anymore. The uploader was still logging that it was pushing ~141 Measurements to Nightscout without fail. Nightscout would also not throw any errors but I can only see a dot every five minutes which should just be the backlogged data. Tha nightscout database shows the same.

This porblem was not solved by deleting the docker images of the uploader and nightscout and pulling new ones.

My Graph now looks like this: ![Uploading 2022-03-21 06_44_14-97 +1 →.png…]()

I also have a simple ui script using the exact same code thatjust displays the number every minute which is running fine. So my asumption is that nightscout is not correctly saving the data. Do you have any idea if there is a limit of how many uploads a nightscout instance can handle at one time and the uploaded measurements get cut of with only the last few saving?

Many Thanks

Lirycs228 commented 2 years ago

graph

Sorry. The file didn't seem to upload correctly within github

timoschlueter commented 2 years ago

that is strange. i am running the uploader myself for a few month now and my measurements are still accurate and come in every minute. i am not aware of any nightscout limits. :(

Lirycs228 commented 2 years ago

I have now put a debug output line at the beginning of the uploadToNightscout function.

2022-03-21T14:36:44.918Z [info]: Started 2022-03-21T14:37:00.431Z [info]: Logged in to LibreLink Up 2022-03-21T14:37:00.619Z [info]: Found 1 LibreLink Up connection. 2022-03-21T14:37:00.619Z [info]: -> The following connection will be used: XXX 2022-03-21T14:37:00.861Z [info]: Received blood glucose measurement 2022-03-21T14:37:00.863Z [info]: current measurement: 158 at: 2022-03-21T14:36:07.000Z 2022-03-21T14:37:01.139Z [info]: Upload of 141 measurements to Nightscout successfull 2022-03-21T14:38:12.517Z [info]: Found 1 LibreLink Up connection. 2022-03-21T14:38:12.517Z [info]: -> The following connection will be used: XXX 2022-03-21T14:38:12.783Z [info]: Received blood glucose measurement 2022-03-21T14:38:12.784Z [info]: current measurement: 162 at: 2022-03-21T14:37:06.000Z 2022-03-21T14:38:13.086Z [info]: Upload of 142 measurements to Nightscout successfull 2022-03-21T14:39:00.930Z [info]: Found 1 LibreLink Up connection. 2022-03-21T14:39:00.930Z [info]: -> The following connection will be used: XXX 2022-03-21T14:39:01.230Z [info]: Received blood glucose measurement 2022-03-21T14:39:01.230Z [info]: current measurement: 162 at: 2022-03-21T14:37:06.000Z 2022-03-21T14:39:01.491Z [info]: Upload of 142 measurements to Nightscout successfull 2022-03-21T14:40:00.297Z [info]: Found 1 LibreLink Up connection. 2022-03-21T14:40:00.297Z [info]: -> The following connection will be used: XXX 2022-03-21T14:40:00.583Z [info]: Received blood glucose measurement 2022-03-21T14:40:00.584Z [info]: current measurement: 162 at: 2022-03-21T14:37:06.000Z 2022-03-21T14:40:00.804Z [info]: Upload of 142 measurements to Nightscout successfull 2022-03-21T14:41:00.844Z [info]: Found 1 LibreLink Up connection. 2022-03-21T14:41:00.844Z [info]: -> The following connection will be used: XXX 2022-03-21T14:41:01.098Z [info]: Received blood glucose measurement 2022-03-21T14:41:01.098Z [info]: current measurement: 162 at: 2022-03-21T14:37:06.000Z 2022-03-21T14:41:01.356Z [info]: Upload of 141 measurements to Nightscout successfull

As it seems the script is not getting any newer data from the librelink up servers. This might indicate that Abbott changed something for the servers or that they changed the way the app pushes data to the servers or that the app is having some kind of problem for me.

timoschlueter commented 2 years ago

Is this still an issue? I noticed some downtime on Abbotts side too but it seems to work fine now.

Lirycs228 commented 2 years ago

Yes it is unfortunately still a problem. But the Libre Link 3 App is not performing well at all. So i suspect that this is really just due to the App. Sorry for not finding a solution. You can close this issue or mark it as unfixable. Thanks for the help