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

Auth token discarded too eagerly #18

Closed
watou opened this issue Aug 10, 2015 · 0 comments
Closed

Auth token discarded too eagerly #18

watou opened this issue Aug 10, 2015 · 0 comments
Labels
Milestone

Comments

@watou
Copy link
Owner

watou commented Aug 10, 2015

Whenever there was a failure to refresh tokens, the plugin would immediately discard the auth_token, leading to the need to retrieve and register a new PIN at ecobee.com. When stale tokens were being used due to a Vera problem, this was the correct course of action. But in other cases where refreshing the token failed, it is better to try some number of times before giving up and discarding the auth_token. This change tries up to five times to refresh tokens (over a minimum space of 15 minutes), before giving up and requiring a new PIN.

@watou watou added the bug label Aug 10, 2015
@watou watou added this to the v1.3 milestone Aug 10, 2015
@watou watou closed this as completed Oct 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant