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

Automatic Pump Time Synchronization #715

Closed
wants to merge 4 commits into from
Closed

Conversation

erikdi
Copy link
Contributor

@erikdi erikdi commented May 4, 2018

If an out of sync pump time is detected, automatically adjust the time and date of the pump, assuming that the mobile has a better idea of where we are.

Potential corner case is traveling around the world, but for 99% of users this is probably what they want. Given that the IOB calculation relies on accurate sync between the pump and mobile device, it seems prudent to make sure this is the case.

An alternative might be to refuse to loop if too big of a time difference is detected.

@ps2
Copy link
Collaborator

ps2 commented May 5, 2018

Thanks @erikdi. I do have a patch to do this in #721. Traveling should not be an issue, as pump date is already normalized via the pump offset timezone object.

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

Successfully merging this pull request may close these issues.

2 participants