-
Notifications
You must be signed in to change notification settings - Fork 138
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
Values fetched from CareLink are in the wrong timezone (UTC) #30
Comments
If I use the "carelink_raw" profile to fetch data, I can see in the returned data that all sgv are timestampt with an UTC time notation but with the local time:
|
Things I tried so far:
Can I conclude that the function guessPumpOffset() in transform.js has a bug that results in Not a number?
|
Hmm, I fixed the bug in the function guessPumpOffset but it doesn't seem to have an effect on the reported values -_- |
In the end, I've rewritten transform.js and manually subtract the calculated timezone from the pump time to correct the values. |
Nice. How did you manage to get data from the 780G in Europe? For me it is still not possible. |
By providing the following parameters to the docker container running nightscout: |
Thanks, now I have my Nightscout also filled with data again. Can you share the version of transform.js you are using right now? Which changes did you apply? Because I am having the same issue right now with the timezone. |
Here you go, it's not ideal but I hope you can use it: (PS: Beware that, if you are using the docker image, you'll need to link this file from outside the docker container or the file will be overwritten when the docker is updated/started/...) |
Thanks a lot. This works well for me! :) |
Hi! I have the same problem as you guys with the shifted time, so I think the changed transform file should also help me. Though I do need some help, as I am not used to working in JavaScript. |
Hi, I was in the same situation as you. Look my package.json line 111 |
@sirKitKat do you have a pull request available for this? |
@sirKitKat volunteers these changes in issue #30.
I have no idea how to do that, so feel free to use my code for improvements 👍 |
@sirKitKat |
I have the same issue for 780G.
|
After switching from dexcom to medtronic (780G + Guardian 4), the values displayed are shifted by one hour:
If I look at the data in mongodb, I suspect that mmconnect wrongly stores the timestamp:
More Information about my setup:
I'm running a NAS with unRaid 6.9.2 (timezone: UTC+1 Europe/Brussels)
Included in unraid is Docker version 20.10.5
running docker mongodb version
running docker nightscout version 14.2.5
The text was updated successfully, but these errors were encountered: