Ecobee Authentication issues with Indigo 7.4
Ecobee Authentication issues with Indigo 7.4
Anyone experiencing any Ecobee authentication issues with Indigo 7.4. After upgrading, it began to fail authentications. I re-authenticated twice, still the same problem. The plugin authentication window confirms a successful authentication, but the errors continue.
Oct 7, 2019 at 2:06:21 PM
Indigo Cocoa client authenticated (192.168.1.10)
Enabling plugin "Ecobee 2 2.2.0"
Starting plugin "Ecobee 2 2.2.0" (pid 29061)
Started plugin "Ecobee 2 2.2.0"
Ecobee 2 Starting Ecobee
Ecobee 2 Ecobee Account (1561638859): Starting EcobeeAccount Device 1561638859
Ecobee 2 Error Ecobee Account (1561638859): Authentication lost, please re-authenticate.'
Ecobee 2 Kitchen Occupancy: Starting OccupancySensor Device 1577145367
Ecobee 2 Kitchen Thermostat: Starting EcobeeThermostat Device 702521190
Ecobee 2 Media Room Occupancy: Starting OccupancySensor Device 352480444
Ecobee 2 Media Room Pillar (LSC3): Starting RemoteSensor Device 1482903299
Ecobee 2 Media Room Thermostat: Starting EcobeeThermostat Device 911299020
Ecobee 2 Sunroom Sensor (X7FP): Starting RemoteSensor Device 938326233
Ecobee 2 not authenticated to Ecobee servers yet; not initializing state of device 311003735841
Ecobee 2 not authenticated to Ecobee servers yet; not initializing state of device 311080879621
Ecobee 2 not authenticated to Ecobee servers yet; not initializing state of device X7FP
Ecobee 2 not authenticated to Ecobee servers yet; not initializing state of device LSC3
Z-Wave received "Outdoor Probe" sensor update to 25.6 °C
Z-Wave received "Pool Probe" sensor update to 25.1 °C
Z-Wave received "Floor Drain" power load to 0.4 W
Ecobee 2 Error Error in plugin execution UiAction:
Oct 7, 2019 at 2:07:26 PM
Ecobee 2 Error Token Request failed, response = '{
"error": "authorization_pending",
"error_description": "Waiting for user to authorize application.",
"error_uri": "https://tools.ietf.org/html/rfc6749#section-5.2"
}'
Ecobee 2 Error Token Request failed, response = '{
"error": "authorization_pending",
"error_description": "Waiting for user to authorize application.",
"error_uri": "https://tools.ietf.org/html/rfc6749#section-5.2"
}'
Oct 7, 2019 at 2:09:04 PM
Z-Wave received "Main Pump" energy total to 1156.394 kWh
Trigger Control Page Pump Power Cumulative
Oct 7, 2019 at 2:11:32 PM
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Z-Wave received "Outdoor Probe" sensor update to 25.5 °C
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Z-Wave received "Pool Probe" sensor update to 25.1 °C
Z-Wave received "Floor Drain" power load to 0.1 W
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Oct 7, 2019 at 2:06:21 PM
Indigo Cocoa client authenticated (192.168.1.10)
Enabling plugin "Ecobee 2 2.2.0"
Starting plugin "Ecobee 2 2.2.0" (pid 29061)
Started plugin "Ecobee 2 2.2.0"
Ecobee 2 Starting Ecobee
Ecobee 2 Ecobee Account (1561638859): Starting EcobeeAccount Device 1561638859
Ecobee 2 Error Ecobee Account (1561638859): Authentication lost, please re-authenticate.'
Ecobee 2 Kitchen Occupancy: Starting OccupancySensor Device 1577145367
Ecobee 2 Kitchen Thermostat: Starting EcobeeThermostat Device 702521190
Ecobee 2 Media Room Occupancy: Starting OccupancySensor Device 352480444
Ecobee 2 Media Room Pillar (LSC3): Starting RemoteSensor Device 1482903299
Ecobee 2 Media Room Thermostat: Starting EcobeeThermostat Device 911299020
Ecobee 2 Sunroom Sensor (X7FP): Starting RemoteSensor Device 938326233
Ecobee 2 not authenticated to Ecobee servers yet; not initializing state of device 311003735841
Ecobee 2 not authenticated to Ecobee servers yet; not initializing state of device 311080879621
Ecobee 2 not authenticated to Ecobee servers yet; not initializing state of device X7FP
Ecobee 2 not authenticated to Ecobee servers yet; not initializing state of device LSC3
Z-Wave received "Outdoor Probe" sensor update to 25.6 °C
Z-Wave received "Pool Probe" sensor update to 25.1 °C
Z-Wave received "Floor Drain" power load to 0.4 W
Ecobee 2 Error Error in plugin execution UiAction:
Oct 7, 2019 at 2:07:26 PM
Ecobee 2 Error Token Request failed, response = '{
"error": "authorization_pending",
"error_description": "Waiting for user to authorize application.",
"error_uri": "https://tools.ietf.org/html/rfc6749#section-5.2"
}'
Ecobee 2 Error Token Request failed, response = '{
"error": "authorization_pending",
"error_description": "Waiting for user to authorize application.",
"error_uri": "https://tools.ietf.org/html/rfc6749#section-5.2"
}'
Oct 7, 2019 at 2:09:04 PM
Z-Wave received "Main Pump" energy total to 1156.394 kWh
Trigger Control Page Pump Power Cumulative
Oct 7, 2019 at 2:11:32 PM
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Z-Wave received "Outdoor Probe" sensor update to 25.5 °C
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Z-Wave received "Pool Probe" sensor update to 25.1 °C
Z-Wave received "Floor Drain" power load to 0.1 W
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
Ecobee 2 Error Ecobee account 1561638859 not authenticated, skipping refresh
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Ecobee Authentication issues with Indigo 7.4
That's definitely telling you to redo the authentication. Not sure how it got lost. My install did not have that problem.
Just go into the config dialog for the Ecobee Account device and redo the authentication process.
Just go into the config dialog for the Ecobee Account device and redo the authentication process.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Ecobee Authentication issues with Indigo 7.4
I had the same issue, reauthenticated and then got this:
and this...
Code: Select all
Ecobee 2 Error Error in plugin execution UiClosed3:
Traceback (most recent call last):
File "plugin.py", line 414, in closedDeviceFactoryUi
UnboundLocalError: local variable 'newdev' referenced before assignmentCode: Select all
Ecobee 2 Error Error in plugin execution GetUiDynamicList:
Traceback (most recent call last):
File "plugin.py", line 248, in get_device_list
UnboundLocalError: local variable 'available_devices' referenced before assignment- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Ecobee Authentication issues with Indigo 7.4
OK, I'm going to have to see if I can figure out a way to reproduce this. I'm not seeing anything like that.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Ecobee Authentication issues with Indigo 7.4
I cannot reproduction this issue. I went to the Ecobee site, logged in, then removed the Indigo 'app' from the account. Then I restarted the plugin and got the same errors:
Then I went through the normal authentication process. And then I restarted the plugin again. No errors.
Code: Select all
Ecobee 2 Ecobee Account: Starting EcobeeAccount Device 363954845
Ecobee 2 Error Ecobee Account: Authentication lost, please re-authenticate.'
Ecobee 2 Ecobee Master Suite: Starting EcobeeThermostat Device 860569872
Ecobee 2 Ecobee Master Suite Occupancy: Starting OccupancySensor Device 357830907
Ecobee 2 Ecobee Master Suite Remote - Master Bedroom: Starting RemoteSensor Device 686322743
Ecobee 2 Ecobee Upstairs: Starting EcobeeThermostat Device 253943175
Ecobee 2 Ecobee Upstairs Occupancy: Starting OccupancySensor Device 1590516520
Ecobee 2 Ecobee Upstairs Remote - Bonus Room: Starting RemoteSensor Device 303466546
Ecobee 2 not authenticated to Ecobee servers yet; not initializing state of device 313892758064
Ecobee 2 not authenticated to Ecobee servers yet; not initializing state of device 311018773951
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Ecobee Authentication issues with Indigo 7.4
I finally got it working after disabling/enabling the plugin, deleting/ adding the app on the Ecobee site, and authenticating. It took a few cycles, but it's finally working now.
Re: Ecobee Authentication issues with Indigo 7.4
I'm having the same problem - the error messages are overwhelming indigo.
I haven't been tinkering with the thermostat and have no idea why this failure started. To fix it, I reiloaded the plug-in, and next, deleted the app (plug-in) on the ecobee website, and reinstalled it.
Same behavior.
Scrolling up the log, the first engry in the log that wasn't the 'not authenticated' error message is quoted below. The plug-in is configured for informational messages, which I am about to turn off.
I haven't been tinkering with the thermostat and have no idea why this failure started. To fix it, I reiloaded the plug-in, and next, deleted the app (plug-in) on the ecobee website, and reinstalled it.
Same behavior.
Scrolling up the log, the first engry in the log that wasn't the 'not authenticated' error message is quoted below. The plug-in is configured for informational messages, which I am about to turn off.
Code: Select all
2020-09-30 15:40:12.398 Ecobee 2 Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 159, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7.4/Plugins/Ecobee 2.indigoPlugin/Contents/Server Plugin/ecobee_devices.py", line 79, in update
KeyError: u'521703550260'
2020-09-30 15:40:12.398 Ecobee 2 Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2020-09-30 15:40:22.402 Ecobee 2 Error Ecobee account 123… not authenticated, skipping refresh
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Ecobee Authentication issues with Indigo 7.4
That keyError generally means a bad Indigo device. Delete ALL devices associated with the plugin and start from scratch.SMUSEBY wrote:I'm having the same problem - the error messages are overwhelming indigo.
I haven't been tinkering with the thermostat and have no idea why this failure started. To fix it, I reiloaded the plug-in, and next, deleted the app (plug-in) on the ecobee website, and reinstalled it.
Same behavior.
Scrolling up the log, the first engry in the log that wasn't the 'not authenticated' error message is quoted below. The plug-in is configured for informational messages, which I am about to turn off.
Code: Select all
2020-09-30 15:40:12.398 Ecobee 2 Error Error in plugin execution runConcurrentThread: Traceback (most recent call last): File "plugin.py", line 159, in runConcurrentThread File "/Library/Application Support/Perceptive Automation/Indigo 7.4/Plugins/Ecobee 2.indigoPlugin/Contents/Server Plugin/ecobee_devices.py", line 79, in update KeyError: u'521703550260' 2020-09-30 15:40:12.398 Ecobee 2 Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds) 2020-09-30 15:40:22.402 Ecobee 2 Error Ecobee account 123… not authenticated, skipping refresh
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Ecobee Authentication issues with Indigo 7.4
Oh - deleting the thermostat sounds like an arduous 'fix'.
Is there anyway I can preserve the various triggers, schedules and action groups that deleting the device will take down with it? If this is something that is going to happen frequently, this sounds like a troublesome flaw.
Any idea what may have caused this?
Is there anyway I can preserve the various triggers, schedules and action groups that deleting the device will take down with it? If this is something that is going to happen frequently, this sounds like a troublesome flaw.
Any idea what may have caused this?
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Ecobee Authentication issues with Indigo 7.4
Hmm. Let me look at the code again. There might be a way to get around this long enough to authenticate the plugin. I need you to turn on debug level logging, and give me the log outputs before and after the error.
Also, run the "Write Thermostat data to Log" menu command and include that part of the log.
Also, run the "Write Thermostat data to Log" menu command and include that part of the log.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Ecobee Authentication issues with Indigo 7.4
There's two problems - First, that error on the periodic update. Second, the Ecobee refresh token is bad, so it's failing authentication. Which means you'll need to redo the authentication process.
Have you tried to re-authenticate? Or is the update error breaking that? Also, the log segment doesn't show the exception after the restart. Does it do it 15 minutes later (update frequency 900 seconds)?
Have you tried to re-authenticate? Or is the update error breaking that? Also, the log segment doesn't show the exception after the restart. Does it do it 15 minutes later (update frequency 900 seconds)?
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Ecobee Authentication issues with Indigo 7.4
The log messages are from my regular home. Two days ago, on the Ecobee internet interface, I deleted the plug-in, and then reinstalled it and redid the authentication. It continued to be broken. I have done nothing on the vacation home other than look at the log entries, change the plug-in message level to critical only, and reload the plug-in.
If by 'log segment', you are referring to the request for 'thermostat data to log', the entry for the first request was at 11:05; subsequent to that are hundreds of authentication errors, and no log entry with a date or time (including anything at 11:20).
If by 'log segment', you are referring to the request for 'thermostat data to log', the entry for the first request was at 11:05; subsequent to that are hundreds of authentication errors, and no log entry with a date or time (including anything at 11:20).
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Ecobee Authentication issues with Indigo 7.4
Try https://github.com/FlyingDiver/Indigo-E ... /tag/2.2.3
It should keep the plugin from crashing, but you'll still need to get the re-authentication completed.
It should keep the plugin from crashing, but you'll still need to get the re-authentication completed.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: Ecobee Authentication issues with Indigo 7.4
what are the exact steps to do the re authentication?
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Ecobee Authentication issues with Indigo 7.4
Same as initial authentication, but using the existing account device.
https://github.com/FlyingDiver/Indigo-Ecobee-2
https://github.com/FlyingDiver/Indigo-Ecobee-2
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177