Page 2 of 2

Re: Power loss - requires re-authentication

PostPosted: Mon Nov 09, 2020 7:27 pm
by FlyingDiver
SMUSEBY wrote:
Reloading the plugin, I think, is where the re-authtentication occurs. I can't see that now perhaps because it is running.
In my experience with other plug-ins, reloading is a single click. With Ecobee, it is 4 or 5 additional steps.


Reloading does not require re-authentication, per se. What it does is force acquisition of a current authentication token using the saved refresh token. The refresh token is good for a year.

The problem right now is if the initial request for a current authentication token fails, the plugin gets into a state where it doesn't retry the request and meanwhile spits out way too many error messages. In your case, the failure is because the plugin is restarting before the internet connection is working.

Re: Power loss - requires re-authentication

PostPosted: Mon Nov 09, 2020 7:50 pm
by FlyingDiver
I just pushed version 2.2.5 to the plugin store. I think this fixes the issue.

Re: Power loss - requires re-authentication

PostPosted: Mon Nov 09, 2020 9:12 pm
by SMUSEBY
You’re a good man. Thanks.