Ecobee Version 2.0.3 Pre-release
Re: Ecobee Version 2.0.3 Pre-release
Looking good so far... no issues with my stuff
Sent from my iPad using Tapatalk
Sent from my iPad using Tapatalk
Re: Ecobee Version 2.0.3 Pre-release
Joe,
Upgraded to 2.0.5 and was immediately bombarded with a log full of these:
Thinking this happened when upgrading from 2.0.3 to 2.0.4 too. Had to delete all devices and add them back (along with several dependencies). Thoughts/suggestions? Thx!!
Upgraded to 2.0.5 and was immediately bombarded with a log full of these:
Code: Select all
Ecobee 2 Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 139, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Ecobee 2.indigoPlugin/Contents/Server Plugin/ecobee.py", line 551, in update
AttributeError: EcobeeThermostat instance has no attribute 'occupancy'- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Ecobee Version 2.0.3 Pre-release
If it doesn't happen after creating the new devices then I'm not going to worry about it. This is pre-release and the device definitions are changing a lot.chobo wrote:Joe,
Upgraded to 2.0.5 and was immediately bombarded with a log full of these:
Thinking this happened when upgrading from 2.0.3 to 2.0.4 too. Had to delete all devices and add them back (along with several dependencies). Thoughts/suggestions? Thx!!Code: Select all
Ecobee 2 Error Error in plugin execution runConcurrentThread: Traceback (most recent call last): File "plugin.py", line 139, in runConcurrentThread File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Ecobee 2.indigoPlugin/Contents/Server Plugin/ecobee.py", line 551, in update AttributeError: EcobeeThermostat instance has no attribute 'occupancy'
What model Ecobee(s) do you have?
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 Version 2.0.3 Pre-release
Just deleted all of the devices again and I'm no longer seeing the error. Using an Ecobee 3 and three remote sensors. Will plan to do this with each pre-release update. Thanks, Joe!FlyingDiver wrote:
If it doesn't happen after creating the new devices then I'm not going to worry about it. This is pre-release and the device definitions are changing a lot.
What model Ecobee(s) do you have?
Re: Ecobee Version 2.0.3 Pre-release
Believe something else is at play here... A reboot of the Indigo Server caused this error to return. No changes were made to the devices or the plugin configuration. Exact same error as above. How can I assist in troubleshooting?
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Ecobee Version 2.0.3 Pre-release
Turn on debugging, do the restart again, and post the log lines for the Ecobee plugin.chobo wrote:Believe something else is at play here... A reboot of the Indigo Server caused this error to return. No changes were made to the devices or the plugin configuration. Exact same error as above. How can I assist in troubleshooting?
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 Version 2.0.3 Pre-release
Hi Joe. Here's the log from Indigo startup until first error with debugging enabled:
Code: Select all
Loading plugin "Ecobee 2 2.0.5"
Starting plugin "Ecobee 2 2.0.5" (pid 1302)
Ecobee 2 Debug logLevel = 10
Ecobee 2 Debug macOS 10.13.6, Indigo 7.2.0
Ecobee 2 Debug updateFrequency = 420.0
Ecobee 2 Debug setting temperature scale to F
Ecobee 2 Down: Starting EcobeeThermostat Device ####
Ecobee 2 Debug getDeviceStateList, typeID = EcobeeThermostat, model = ecobee3 Smart, device_type = athenaSmart
Ecobee 2 Debug Down: EcobeeThermostat __init__
Ecobee 2 Ecobee Account: Starting EcobeeAccount Device ####
Ecobee 2 Debug getDeviceStateList, typeID = EcobeeAccount, model = , device_type = None
Ecobee 2 Debug Ecobee Account: __init__ configDone = True
Ecobee 2 Debug EcobeeAccount __init__, using refresh token = ####
Ecobee 2 Debug Token Request with refresh_token = ####
Ecobee 2 Debug Token Refresh OK, access_token = ####, refresh_token = ####, expires_in = 3599
Ecobee 2 Debug Thermostat Update OK, got info on 1 devices
Ecobee 2 Ecobee GR Occupancy: Starting OccupancySensor Device ####
Ecobee 2 Debug getDeviceStateList, typeID = OccupancySensor, model = Occupancy, device_type = None
Ecobee 2 Ecobee Remote - 1: Starting RemoteSensor Device ####
Ecobee 2 Debug getDeviceStateList, typeID = RemoteSensor, model = Remote, device_type = None
Ecobee 2 Ecobee Remote - 2: Starting RemoteSensor Device ####
Ecobee 2 Debug getDeviceStateList, typeID = RemoteSensor, model = Remote, device_type = None
Ecobee 2 Ecobee Remote - 3: Starting RemoteSensor Device ####
Ecobee 2 Debug getDeviceStateList, typeID = RemoteSensor, model = Remote, device_type = None
Ecobee 2 Debug Thermostat Update OK, got info on 1 devices
Ecobee 2 Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 139, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Ecobee 2.indigoPlugin/Contents/Server Plugin/ecobee.py", line 551, in update
AttributeError: EcobeeThermostat instance has no attribute 'occupancy'
Ecobee 2 Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Ecobee Version 2.0.3 Pre-release
You have one Ecobee 3? With three remotes? And when you created the device for the Ecobee 3 (named "Down"?), did it create three Remote Sensor devices as well?
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 Version 2.0.3 Pre-release
Yes, one Ecobee 3 named Down. The three remotes have been automatically created. (As you can tell, I have changed the names of all Ecobee devices to be a bit simpler).
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Ecobee Version 2.0.3 Pre-release
I think I found a potential race condition in the code. Try this version: https://github.com/FlyingDiver/Indigo-E ... /tag/2.0.6
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 Version 2.0.3 Pre-release
Downloaded and installed. New error(s):FlyingDiver wrote:I think I found a potential race condition in the code. Try this version: https://github.com/FlyingDiver/Indigo-E ... /tag/2.0.6
Code: Select all
Ecobee 2 Debug Thermostat Update OK, got info on 1 devices
Ecobee 2 Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 139, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Ecobee 2.indigoPlugin/Contents/Server Plugin/ecobee.py", line 479, in update
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Ecobee 2.indigoPlugin/Contents/Server Plugin/ecobee.py", line 457, in updatable
AttributeError: EcobeeThermostat instance has no attribute 'ecobee'
Ecobee 2 Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Ecobee Version 2.0.3 Pre-release
OK, the fix is not going to be as easy as I had hoped.
Here's the issue. Looking at your earlier log file, you can see these lines, in this order:
As you can see, Indigo is starting the Thermostat device before the Account device. But the code is sort-of assuming that the Account device was active before it can do Thermostats. On my system, and I guess the other testers, the Account device is always getting started first. I don't think there's any way to force the order. So I need to rethink how the devices are initialized to account for this. 
Here's the issue. Looking at your earlier log file, you can see these lines, in this order:
Code: Select all
Ecobee 2 Down: Starting EcobeeThermostat Device ####
Ecobee 2 Debug Down: EcobeeThermostat __init__
Ecobee 2 Ecobee Account: Starting EcobeeAccount Device ####
Ecobee 2 Debug Ecobee Account: __init__ configDone = True
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 Version 2.0.3 Pre-release
Makes complete sense, Joe. Have run into a somewhat similar timing issue with some of Perry's plugins loading before my Insteon interface initializes. Let me know how I can be helpful as you rethink this.FlyingDiver wrote:OK, the fix is not going to be as easy as I had hoped.
Here's the issue. Looking at your earlier log file, you can see these lines, in this order:
As you can see, Indigo is starting the Thermostat device before the Account device. But the code is sort-of assuming that the Account device was active before it can do Thermostats. On my system, and I guess the other testers, the Account device is always getting started first. I don't think there's any way to force the order. So I need to rethink how the devices are initialized to account for this.Code: Select all
Ecobee 2 Down: Starting EcobeeThermostat Device #### Ecobee 2 Debug Down: EcobeeThermostat __init__ Ecobee 2 Ecobee Account: Starting EcobeeAccount Device #### Ecobee 2 Debug Ecobee Account: __init__ configDone = True
-
shumon1212
- Posts: 17
- Joined: Sat Oct 27, 2018 9:12 am
Re: Ecobee Version 2.0.3 Pre-release
Hi Joe, just tested Pre-release 2.0.6 with my Carrier Cor thermostats. Same exact issue as chobo. I tried to reload the plugin several times, hoping that the Account device would load first, but did not get lucky! Look forward to some more testing.
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: Ecobee Version 2.0.3 Pre-release
Go back to 2.0.5. I've deleted the 2.0.6 release. That fix didn't work and just broke other stuff.shumon1212 wrote:Hi Joe, just tested Pre-release 2.0.6 with my Carrier Cor thermostats. Same exact issue as chobo. I tried to reload the plugin several times, hoping that the Account device would load first, but did not get lucky! Look forward to some more testing.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177