Closed rapamatic closed 6 years ago
Thanks. I'll see what I can do to suppress that error.
Also, the plugin seemed to hang after this error, not even trying to re-authenticate or throwing errors (turns out this happened before, and I didn't catch it until my error-checking script noticed that the devices hadn't been updated in a while). Maybe it makes sense to have a periodic action to restart the plugin to get around temporary errors like this (this would be something done on the indigo server, not the plugin)
That shouldn't be necessary if I can catch all the exceptions. You could certainly do so as a work-around until the plugin is fixed.
This is some of the most confusing code I've ever worked with. Sigh.
Yeah, the code for this plugin is pretty crazy. I've tried to clean it up over the years, but I am purely a hobbyist programmer, and I quickly got in over my head.
I think I've got a fix for that issue implemented. Running it on my system now. But it's hard to test because I can't create the error condition on-demand.
I'd be happy to test... I seem to get that error once or twice a day
Alright, I've got it running now, I'll report if I see anything.
I think this is the same error in the indigo forums, but I just got it this morning and wanted to post it here. I can confirm that it re-authenticates correctly, after manually restarting the plugin.