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

Bad bolus datetimes returned by Medtronic #13

Closed
greencoder opened this issue Nov 24, 2023 · 2 comments
Closed

Bad bolus datetimes returned by Medtronic #13

greencoder opened this issue Nov 24, 2023 · 2 comments

Comments

@greencoder
Copy link

I'm noticing that Medtronic is occasionally returning bolus datetimes of 2000-12-31T05:00:00 in the data feed. Does anyone know why this is happening or have a strategy for dealing with it? (And yes, my pump's date and time are set correctly)

One thing I've noticed is that the problem seems to go away when I stop the proxy, get a new cookies.json file, and restart it. This just happened to me - all day Thursday I had bad datetimes, then I stopped the proxy, went to firefox and got a new cookies file, then restarted it, and immediately all the datetimes were correct.

I've also seen the problem just "fix itself" if I wait long enough, but that doesn't always work.

What's also odd is that the Carelink iOS client I have installed is presumably using the same data feed but all the glucose records are plotted correctly on the graph. This makes me think it's something in the way we're fetching the data, but that's just a guess.

Any help/advice would be greatly appreciated.

@ondrej1024
Copy link
Owner

The carelink-python-client currently uses the API of the Carelink web portal which different from the API the Carelink Connect app is using. So the web API could have some issues.
Hopefully I will be able to provide the implementation of this new API soon, so you can test if you still see this issue.

@ondrej1024
Copy link
Owner

New carelink_client2 is release now.

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

No branches or pull requests

2 participants