I was contacted by Ecobee late Wednesday, who reported that many instances of the Vera Ecobee plugin have entered a loop that is spamming their servers. This root cause of the bug is in Vera, not in the plugin itself (the plugin has not been updated in almost a year). I have implemented a workaround for this problem which appears in v1.1 of the plugin, which I submitted for review a little while ago.
[size=14pt]tl;dr[/size]
Be on the lookout for version 1.1 of the plugin. If you are using an older version, it is very important that you upgrade. You will be able to force an update to it by going to this URL:
http://:3480/data_request?id=update_plugin&Plugin=3586
The only difference from the previous version is that, when the Vera bug described below occurs, the plugin will not then spam Ecobee’s API servers. Read on for why this is important.
[size=14pt]Technical Explanation[/size]
This spamming loop is caused by a bug in Vera, where when a plugin writes device variables, they are in fact not written until minutes later, but if the LuaUPnP process crashes before writing the variables, the variables will be lost and the plugin will restart with stale variables. The variables of concern are OAuth authorization tokens, so when the plugin restarts with stale tokens, it will repeatedly attempt to use them until you either press the “Get PIN” button, uninstall the plugin, or disconnect or turn off the Vera. Many users have not done this, yielding a non-working plugin that only spams Ecobee’s servers.
[size=14pt]Why This Is Important[/size]
If Ecobee plugin users do not update their plugins, then Ecobee may be forced to block the plugin for all users, at which point it will most likely not be revived. I no longer use the plugin myself, and while I’m happy that people are using it, I will not hand over my copyrighted work to Vera or another third-party developer. I have made this new bug workaround version purely for the benefit of existing users, and to try to mitigate the problem on behalf of Ecobee, who are a good bunch with a great set of products. (No one is paying me to do this, and I don’t benefit in any way other than knowing I tried to stave off disappointment from existing users and Ecobee.)
Ideally, Vera would fix their bugs so that this situation could be mitigated. I am not able to fix Vera bugs.
With your help and if Vera fixes the “lost device variables problem,” I will be able to proceed to the v1.2 features discussed elsewhere.