Page 2 of 3

Re: Ecobee thermometer not showing during device creation

PostPosted: Wed Aug 21, 2019 5:57 am
by bbruck
Same problem as others - TStat device not appearing in dropdown. Here's the log. No obvious errors during the authenication process - however earlier this morning when trying to create the account device, the authentication kept being lost. Anyway here's the log...
Code: Select all
Aug 21, 2019 at 7:51:27 AM
   Enabling plugin "Ecobee 2 2.2.0"
   Starting plugin "Ecobee 2 2.2.0" (pid 55130)
   Started plugin "Ecobee 2 2.2.0"
   Ecobee 2                        Starting Ecobee

Aug 21, 2019 at 7:52:27 AM
   Ecobee 2 Debug                  logLevel = 5
   Ecobee 2 Debug                  updateFrequency = 900.0
   Ecobee 2 Debug                  setting temperature scale to F

Aug 21, 2019 at 7:53:01 AM
   Ecobee 2 Debug                  getDeviceFactoryUiValues: devIdList = UiElemIdList : (list)
   Ecobee 2 Debug                  get_account_list: accounts = []

Aug 21, 2019 at 7:54:13 AM
   Ecobee 2 Debug                  PIN Request OK, pin = 6imp. authorization_code = KwFo7fW8CWPAUKthoPmahgqBWBaookyp
   Ecobee 2 Debug                  get_account_list: accounts = []

Aug 21, 2019 at 7:54:32 AM
   Ecobee 2 Debug                  validateDeviceFactoryUi: valuesDict = UiValuesDict : (dict)
     account :  (string)
     address :  (string)
     authStatus : PIN Request OK (string)
     createRemotes : true (bool)
     deviceType : EcobeeAccount (string)
     getPin :  (string)
     getTokens :  (string)
     holdType : nextTransition (string)
     openEcobee :  (string)
     openEcobeeNote :  (string)
     pin : 6imp (string)
     separator1 :  (string)
     spacer1 :  (string)
     spacer2 :  (string)
     spacer3 :  (string), devIdList = IdList : (list)
   Ecobee 2 Warning                validateDeviceFactoryUi - Ecobee Account Not Authenticated

Aug 21, 2019 at 7:54:48 AM
   Ecobee 2 Debug                  Token Request OK, access_token = 92v595wLnM1BIsUJajzPbqyjko2EhD5f, refresh_token = 5FOYUpkmvABmL9yVpjsyc7sSS1qIU0PP, expires_in = 3599
   Ecobee 2 Debug                  get_account_list: accounts = []
   Ecobee 2 Debug                  validateDeviceFactoryUi: valuesDict = UiValuesDict : (dict)
     account :  (string)
     address :  (string)
     authStatus : Authenticated (string)
     createRemotes : true (bool)
     deviceType : EcobeeAccount (string)
     getPin :  (string)
     getTokens :  (string)
     holdType : nextTransition (string)
     openEcobee :  (string)
     openEcobeeNote :  (string)
     pin :  (string)
     separator1 :  (string)
     spacer1 :  (string)
     spacer2 :  (string)
     spacer3 :  (string), devIdList = IdList : (list)
   Error (client)                  _sendClosedConfigUi3() caught exception: LowLevelBadParameterError
   Ecobee 2 Debug                  closedDeviceFactoryUi: valuesDict =
UiValuesDict : (dict)
     account :  (string)
     address :  (string)
     authStatus : Authenticated (string)
     createRemotes : true (bool)
     deviceType : EcobeeAccount (string)
     getPin :  (string)
     getTokens :  (string)
     holdType : nextTransition (string)
     openEcobee :  (string)
     openEcobeeNote :  (string)
     pin :  (string)
     separator1 :  (string)
     spacer1 :  (string)
     spacer2 :  (string)
     spacer3 :  (string)
devIdList =
IdList : (list)
   Ecobee 2                        Created EcobeeAccount device 'Ecobee Account (780204832)'
   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 assignment

   Ecobee 2                        new device 2: Starting EcobeeAccount Device 780204832
   Ecobee 2 Debug                  new device 2: EcobeeAccount __init__, using refresh token = 5FOYUpkmvABmL9yVpjsyc7sSS1qIU0PP
   Ecobee 2 Debug                  Token Request with refresh_token = 5FOYUpkmvABmL9yVpjsyc7sSS1qIU0PP
   Ecobee 2 Debug                  Token Refresh OK, new access_token = a2eyfsV3eXtFFwWWgqzpESxDfQaSnUub, new refresh_token = cjC3oUUoIZjYOkgahP3uRxGroxTMor3R, expires_in = 3599
   Error (client)                  doPluginDeviceFactory requires at least one root device

Aug 21, 2019 at 7:55:21 AM
   Ecobee 2 Debug                  getDeviceFactoryUiValues: devIdList = UiElemIdList : (list)
   Ecobee 2 Debug                  get_device_list: active_stats = []
   Ecobee 2 Debug                  get_device_list: available_devices for EcobeeThermostat = []
   Ecobee 2 Debug                  get_account_list: accounts = [(780204832, u'Ecobee Account (780204832)')]
   Ecobee 2 Debug                  get_device_list: active_stats = []
   Ecobee 2 Debug                  get_device_list: available_devices for EcobeeThermostat = []
   Ecobee 2 Debug                  get_account_list: accounts = [(780204832, u'Ecobee Account (780204832)')]

Aug 21, 2019 at 7:55:52 AM
   Ecobee 2 Debug                  validateDeviceFactoryUi: valuesDict = UiValuesDict : (dict)
     account : 780204832 (integer)
     address :  (string)
     authStatus :  (string)
     createRemotes : true (bool)
     deviceType : EcobeeThermostat (string)
     getPin :  (string)
     getTokens :  (string)
     holdType : nextTransition (string)
     openEcobee :  (string)
     openEcobeeNote :  (string)
     pin :  (string)
     separator1 :  (string)
     spacer1 :  (string)
     spacer2 :  (string)
     spacer3 :  (string), devIdList = IdList : (list)
   Ecobee 2 Warning                validateDeviceFactoryUi - No Thermostat Specified
   Ecobee 2 Debug                  closedDeviceFactoryUi: user cancelled

Re: Ecobee thermometer not showing during device creation

PostPosted: Wed Aug 21, 2019 6:22 am
by FlyingDiver
bbruck wrote:
Same problem as others - TStat device not appearing in dropdown. Here's the log. No obvious errors during the authenication process - however earlier this morning when trying to create the account device, the authentication kept being lost. Anyway here's the log...


The previous poster's issue was caused (we think) by an outage at the Ecobee servers. That's doesn't appear to be your issue. You do have an error I've never seen before:

Code: Select all
   Error (client)                  _sendClosedConfigUi3() caught exception: LowLevelBadParameterError


Is this a new setup? Or was this previously working? If it was previously working, you shouldn't ever need to create a new account device.

First, turn off detailed debugging. That's really only for development use.

If this is a new setup, or you don't have action groups or triggers dependent on the devices, then I would start from scratch. Delete all the devices. Make sure you have the latest plugin. Restart the plugin. Then create the account device and get it authenticated. Then check the logs. If there are no errors, then create the thermostat device.

Re: Ecobee thermometer not showing during device creation

PostPosted: Wed Aug 21, 2019 11:02 am
by bbruck
Deleted devices; disabled and enabled plugin. Created Ecobee Account device.
Went to the Ecobee site and entered the PIN.
Add in said authentication was successful, but when I click Create I get error messages:

Code: Select all
  Enabling plugin "Ecobee 2 2.2.0"
   Starting plugin "Ecobee 2 2.2.0" (pid 59135)
   Started plugin "Ecobee 2 2.2.0"
   Ecobee 2                        Starting Ecobee
   Error (client)                  _sendClosedConfigUi3() caught exception: LowLevelBadParameterError

Aug 21, 2019 at 1:00:41 PM
   Ecobee 2                        Created EcobeeAccount device 'Ecobee Account (262868502)'
   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 assignment

   Ecobee 2                        new device 3: Starting EcobeeAccount Device 262868502

Re: Ecobee thermometer not showing during device creation

PostPosted: Wed Aug 21, 2019 11:13 am
by FlyingDiver
I still have no idea why you're getting this error:

Code: Select all
   Error (client)                  _sendClosedConfigUi3() caught exception: LowLevelBadParameterError


It's a client error, and I don't know how the plugin could cause that. Hopefully Matt or Jay can provide a clue.


I'm assuming the Account device was created OK.

Set the logging level to "Debugging Messages". Just not "Detailed Debugging". Then restart the plugin. Then try to create a Thermostat device. If you get the same error, delete the failed device, then try again but this time uncheck the box to create the remote sensors.

Then post the log.

Re: Ecobee thermometer not showing during device creation

PostPosted: Fri Aug 23, 2019 9:51 am
by lsawyer
I am having the same issue but this error:

Code: Select all
   Ecobee 2                        Created EcobeeAccount device 'Ecobee Account (334069774)'
   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 assignment

Re: Ecobee thermometer not showing during device creation

PostPosted: Fri Aug 23, 2019 9:53 am
by FlyingDiver
I really do need to see the complete log output, in debug logging mode, for the device creation process.

Re: Ecobee thermometer not showing during device creation

PostPosted: Fri Aug 23, 2019 11:53 am
by lsawyer
Thank you. Here is a full log. Started with no Ecobee devices, turned on the plugin, then tried to add the account.
Code: Select all
Aug 23, 2019 at 12:48:52 PM
   Enabling plugin "Ecobee 2 2.2.0"
   Starting plugin "Ecobee 2 2.2.0" (pid 1260)
   Ecobee 2 Debug                  logLevel = 5
   Started plugin "Ecobee 2 2.2.0"
   Ecobee 2                        Starting Ecobee
   Ecobee 2 Debug                  macOS 10.13.6, Indigo 7.3.1
   Ecobee 2 Debug                  updateFrequency = 900.0
   Ecobee 2 Debug                  setting temperature scale to F
   Ecobee 2 Debug                  runConcurrentThread starting
   Ecobee 2 Debug                  getDeviceFactoryUiValues: devIdList = UiElemIdList : (list)
   Ecobee 2 Threaddebug            get_device_list: typeId = IdList : (list), targetId = 987688461, filter = , valuesDict = UiValuesDict : (dict)
   Ecobee 2 Threaddebug            get_account_list: typeId = IdList : (list), targetId = 987688461, valuesDict = UiValuesDict : (dict)
   Ecobee 2 Debug                  get_account_list: accounts = []
   Ecobee 2 Debug                  PIN Request OK, pin = 2gu2. authorization_code = BSUtYMwlAHtmIseMdl3zvzOi3Q5a3slO
   Ecobee 2 Threaddebug            get_device_list: typeId = IdList : (list), targetId = 987688461, filter = , valuesDict = UiValuesDict : (dict)
     account :  (string)
     address :  (string)
     authStatus : PIN Request OK (string)
     createRemotes : true (bool)
     deviceType : EcobeeAccount (string)
     getPin :  (string)
     getTokens :  (string)
     holdType : nextTransition (string)
     openEcobee :  (string)
     openEcobeeNote :  (string)
     pin : 2gu2 (string)
     separator1 :  (string)
     spacer1 :  (string)
     spacer2 :  (string)
     spacer3 :  (string)
   Ecobee 2 Threaddebug            get_account_list: typeId = IdList : (list), targetId = 987688461, valuesDict = UiValuesDict : (dict)
     account :  (string)
     address :  (string)
     authStatus : PIN Request OK (string)
     createRemotes : true (bool)
     deviceType : EcobeeAccount (string)
     getPin :  (string)
     getTokens :  (string)
     holdType : nextTransition (string)
     openEcobee :  (string)
     openEcobeeNote :  (string)
     pin : 2gu2 (string)
     separator1 :  (string)
     spacer1 :  (string)
     spacer2 :  (string)
     spacer3 :  (string)
   Ecobee 2 Debug                  get_account_list: accounts = []

Aug 23, 2019 at 12:50:05 PM
   Ecobee 2 Debug                  Token Request OK, access_token = goWG6KBU968UygodU92TMr4KwlFJzdW9, refresh_token = KYlVBoB7SZIEJQAqfRk67hae8QCoYdoR, expires_in = 3599
   Ecobee 2 Threaddebug            get_device_list: typeId = IdList : (list), targetId = 987688461, filter = , valuesDict = UiValuesDict : (dict)
     account :  (string)
     address :  (string)
     authStatus : Authenticated (string)
     createRemotes : true (bool)
     deviceType : EcobeeAccount (string)
     getPin :  (string)
     getTokens :  (string)
     holdType : nextTransition (string)
     openEcobee :  (string)
     openEcobeeNote :  (string)
     pin :  (string)
     separator1 :  (string)
     spacer1 :  (string)
     spacer2 :  (string)
     spacer3 :  (string)
   Ecobee 2 Threaddebug            get_account_list: typeId = IdList : (list), targetId = 987688461, valuesDict = UiValuesDict : (dict)
     account :  (string)
     address :  (string)
     authStatus : Authenticated (string)
     createRemotes : true (bool)
     deviceType : EcobeeAccount (string)
     getPin :  (string)
     getTokens :  (string)
     holdType : nextTransition (string)
     openEcobee :  (string)
     openEcobeeNote :  (string)
     pin :  (string)
     separator1 :  (string)
     spacer1 :  (string)
     spacer2 :  (string)
     spacer3 :  (string)
   Ecobee 2 Debug                  get_account_list: accounts = []
   Error (client)                  _sendClosedConfigUi3() caught exception: LowLevelBadParameterError
   Ecobee 2 Debug                  validateDeviceFactoryUi: valuesDict = UiValuesDict : (dict)
     account :  (string)
     address :  (string)
     authStatus : Authenticated (string)
     createRemotes : true (bool)
     deviceType : EcobeeAccount (string)
     getPin :  (string)
     getTokens :  (string)
     holdType : nextTransition (string)
     openEcobee :  (string)
     openEcobeeNote :  (string)
     pin :  (string)
     separator1 :  (string)
     spacer1 :  (string)
     spacer2 :  (string)
     spacer3 :  (string), devIdList = IdList : (list)
   Ecobee 2 Debug                  closedDeviceFactoryUi: valuesDict =
UiValuesDict : (dict)
     account :  (string)
     address :  (string)
     authStatus : Authenticated (string)
     createRemotes : true (bool)
     deviceType : EcobeeAccount (string)
     getPin :  (string)
     getTokens :  (string)
     holdType : nextTransition (string)
     openEcobee :  (string)
     openEcobeeNote :  (string)
     pin :  (string)
     separator1 :  (string)
     spacer1 :  (string)
     spacer2 :  (string)
     spacer3 :  (string)
devIdList =
IdList : (list)
   SQL Logger                      creating table device_history_987688461 for "new device"
   Ecobee 2                        Created EcobeeAccount device 'Ecobee Account (987688461)'
   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 assignment

   Ecobee 2                        new device: Starting EcobeeAccount Device 987688461
   Ecobee 2 Debug                  new device: EcobeeAccount __init__, using refresh token = KYlVBoB7SZIEJQAqfRk67hae8QCoYdoR
   Ecobee 2 Debug                  Token Request with refresh_token = KYlVBoB7SZIEJQAqfRk67hae8QCoYdoR
   Ecobee 2 Debug                  Token Refresh OK, new access_token = xJKef3TUqVcizFLqNkTsZcdrPu1fFxro, new refresh_token = wzq1NK1fL16QoAedc2RQuXTog73oVdTH, expires_in = 3599

Re: Ecobee thermometer not showing during device creation

PostPosted: Fri Aug 23, 2019 12:06 pm
by lsawyer
Well for some reason it automatically updated and now the thermostat shows. It is working like it should. Not sure why.

Re: Ecobee thermometer not showing during device creation

PostPosted: Tue Oct 22, 2019 7:08 pm
by Peel
I am getting the same error as @bbruck with the LowLevelBadParameterError. This is a new setup. I wonder if the issue could be because I have the new thermostat that came out after the ecobee4 - ecobeeThermostat with voice control (doesn't have a number like previous versions did). I've tried uninstalling the plug-in and reinstalling, but still no joy. My log output is below.

Code: Select all
Oct 22, 2019 at 17:31:05
   Ecobee 2 Debug                  logLevel = 5
   Ecobee 2 Debug                  updateFrequency = 300.0
   Ecobee 2 Debug                  setting temperature scale to F
   Reloading plugin "Ecobee 2 2.2.0"
   Stopping plugin "Ecobee 2 2.2.0" (pid 1596)
   Ecobee 2 Debug                  runConcurrentThread ending
   Ecobee 2                        Stopping Ecobee
   Stopped plugin "Ecobee 2 2.2.0"
   Starting plugin "Ecobee 2 2.2.0" (pid 1598)
   Ecobee 2 Debug                  logLevel = 5
   Started plugin "Ecobee 2 2.2.0"
   Ecobee 2                        Starting Ecobee
   Ecobee 2 Debug                  macOS 10.14.5, Indigo 7.4.0
   Ecobee 2 Debug                  updateFrequency = 300.0
   Ecobee 2 Debug                  setting temperature scale to F
   Ecobee 2 Debug                  runConcurrentThread starting

Oct 22, 2019 at 17:31:32
   Ecobee 2 Debug                  closedPrefsConfigUi called
   Ecobee 2 Debug                  getDeviceFactoryUiValues: devIdList = UiElemIdList : (list)
   Ecobee 2 Threaddebug            get_device_list: typeId = IdList : (list), targetId = 1848551817, filter = , valuesDict = UiValuesDict : (dict)
   Ecobee 2 Threaddebug            get_account_list: typeId = IdList : (list), targetId = 1848551817, valuesDict = UiValuesDict : (dict)
   Ecobee 2 Debug                  get_account_list: accounts = []
   Ecobee 2 Threaddebug            get_device_list: typeId = IdList : (list), targetId = 1848551817, filter = , valuesDict = UiValuesDict : (dict)
     account :  (string)
     address :  (string)
     authStatus :  (string)
     createRemotes : true (bool)
     deviceType : EcobeeAccount (string)
     getPin :  (string)
     getTokens :  (string)
     holdType : nextTransition (string)
     openEcobee :  (string)
     openEcobeeNote :  (string)
     pin :  (string)
     separator1 :  (string)
     spacer1 :  (string)
     spacer2 :  (string)
     spacer3 :  (string)
   Ecobee 2 Threaddebug            get_account_list: typeId = IdList : (list), targetId = 1848551817, valuesDict = UiValuesDict : (dict)
     account :  (string)
     address :  (string)
     authStatus :  (string)
     createRemotes : true (bool)
     deviceType : EcobeeAccount (string)
     getPin :  (string)
     getTokens :  (string)
     holdType : nextTransition (string)
     openEcobee :  (string)
     openEcobeeNote :  (string)
     pin :  (string)
     separator1 :  (string)
     spacer1 :  (string)
     spacer2 :  (string)
     spacer3 :  (string)
   Ecobee 2 Debug                  get_account_list: accounts = []
   Ecobee 2 Debug                  PIN Request OK, pin = wrxu. authorization_code = PCupXD3qVT6K5IQM5dE6oi4DUIXXDfJt
   Ecobee 2 Threaddebug            get_device_list: typeId = IdList : (list), targetId = 1848551817, filter = , valuesDict = UiValuesDict : (dict)
     account :  (string)
     address :  (string)
     authStatus : PIN Request OK (string)
     createRemotes : true (bool)
     deviceType : EcobeeAccount (string)
     getPin :  (string)
     getTokens :  (string)
     holdType : nextTransition (string)
     openEcobee :  (string)
     openEcobeeNote :  (string)
     pin : wrxu (string)
     separator1 :  (string)
     spacer1 :  (string)
     spacer2 :  (string)
     spacer3 :  (string)
   Ecobee 2 Threaddebug            get_account_list: typeId = IdList : (list), targetId = 1848551817, valuesDict = UiValuesDict : (dict)
     account :  (string)
     address :  (string)
     authStatus : PIN Request OK (string)
     createRemotes : true (bool)
     deviceType : EcobeeAccount (string)
     getPin :  (string)
     getTokens :  (string)
     holdType : nextTransition (string)
     openEcobee :  (string)
     openEcobeeNote :  (string)
     pin : wrxu (string)
     separator1 :  (string)
     spacer1 :  (string)
     spacer2 :  (string)
     spacer3 :  (string)
   Ecobee 2 Debug                  get_account_list: accounts = []

Oct 22, 2019 at 17:32:21
   Ecobee 2 Debug                  Token Request OK, access_token = 5VRi20mQfCPXO9o9KzGOrVMozZ1poMrF, refresh_token = 4kZ78owVTdjRozxKw3fxMo38VxtOrpoS, expires_in = 3599
   Ecobee 2 Threaddebug            get_device_list: typeId = IdList : (list), targetId = 1848551817, filter = , valuesDict = UiValuesDict : (dict)
     account :  (string)
     address :  (string)
     authStatus : Authenticated (string)
     createRemotes : true (bool)
     deviceType : EcobeeAccount (string)
     getPin :  (string)
     getTokens :  (string)
     holdType : nextTransition (string)
     openEcobee :  (string)
     openEcobeeNote :  (string)
     pin :  (string)
     separator1 :  (string)
     spacer1 :  (string)
     spacer2 :  (string)
     spacer3 :  (string)
   Ecobee 2 Threaddebug            get_account_list: typeId = IdList : (list), targetId = 1848551817, valuesDict = UiValuesDict : (dict)
     account :  (string)
     address :  (string)
     authStatus : Authenticated (string)
     createRemotes : true (bool)
     deviceType : EcobeeAccount (string)
     getPin :  (string)
     getTokens :  (string)
     holdType : nextTransition (string)
     openEcobee :  (string)
     openEcobeeNote :  (string)
     pin :  (string)
     separator1 :  (string)
     spacer1 :  (string)
     spacer2 :  (string)
     spacer3 :  (string)
   Ecobee 2 Debug                  get_account_list: accounts = []
   Error (client)                  _sendClosedConfigUi3() caught exception: LowLevelBadParameterError

Oct 22, 2019 at 17:33:45
   Ecobee 2 Debug                  validateDeviceFactoryUi: valuesDict = UiValuesDict : (dict)
     account :  (string)
     address :  (string)
     authStatus : Authenticated (string)
     createRemotes : true (bool)
     deviceType : EcobeeAccount (string)
     getPin :  (string)
     getTokens :  (string)
     holdType : nextTransition (string)
     openEcobee :  (string)
     openEcobeeNote :  (string)
     pin :  (string)
     separator1 :  (string)
     spacer1 :  (string)
     spacer2 :  (string)
     spacer3 :  (string), devIdList = IdList : (list)
   Ecobee 2 Debug                  closedDeviceFactoryUi: valuesDict =
UiValuesDict : (dict)
     account :  (string)
     address :  (string)
     authStatus : Authenticated (string)
     createRemotes : true (bool)
     deviceType : EcobeeAccount (string)
     getPin :  (string)
     getTokens :  (string)
     holdType : nextTransition (string)
     openEcobee :  (string)
     openEcobeeNote :  (string)
     pin :  (string)
     separator1 :  (string)
     spacer1 :  (string)
     spacer2 :  (string)
     spacer3 :  (string)
devIdList =
IdList : (list)
   Ecobee 2                        Created EcobeeAccount device 'Ecobee Account (1848551817)'
   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 assignment

   Ecobee 2                        new device: Starting EcobeeAccount Device 1848551817
   Ecobee 2 Debug                  new device: EcobeeAccount __init__, using refresh token = 4kZ78owVTdJRozxKw3fxMo38VxtOrpoS
   Ecobee 2 Debug                  Token Request with refresh_token = 4kZ78owVTdJRozxKw3fxMo38VxtOrpoS
   Ecobee 2 Debug                  Token Refresh OK, new access_token = aEIbHom2z1bAsElX6GjETJX769yQofRX, new refresh_token = dDpiq6Vf1a3SxZ7f5fbFWgrDanbrhEOl, expires_in = 3599

Oct 22, 2019 at 17:34:28
   Indigo Cocoa client disconnected
   Ecobee 2 Debug                  getDeviceFactoryUiValues: devIdList = UiElemIdList : (list)
   Ecobee 2 Threaddebug            get_device_list: typeId = IdList : (list), targetId = 354586620, filter = , valuesDict = UiValuesDict : (dict)
     account : 1848551817 (integer)
     deviceType : EcobeeThermostat (string)
   Ecobee 2 Debug                  get_device_list: active_stats = []
   Ecobee 2 Debug                  get_device_list: available_devices for EcobeeThermostat = []
   Ecobee 2 Threaddebug            get_account_list: typeId = IdList : (list), targetId = 354586620, valuesDict = UiValuesDict : (dict)
     account : 1848551817 (integer)
     deviceType : EcobeeThermostat (string)
   Ecobee 2 Debug                  get_account_list: accounts = [(1848551817, u'Ecobee Account (1848551817)')]
   Ecobee 2 Threaddebug            get_device_list: typeId = IdList : (list), targetId = 354586620, filter = , valuesDict = UiValuesDict : (dict)
     account : 1848551817 (integer)
     address :  (string)
     authStatus :  (string)
     createRemotes : true (bool)
     deviceType : EcobeeThermostat (string)
     getPin :  (string)
     getTokens :  (string)
     holdType : nextTransition (string)
     openEcobee :  (string)
     openEcobeeNote :  (string)
     pin :  (string)
     separator1 :  (string)
     spacer1 :  (string)
     spacer2 :  (string)
     spacer3 :  (string)
   Ecobee 2 Debug                  get_device_list: active_stats = []
   Ecobee 2 Debug                  get_device_list: available_devices for EcobeeThermostat = []
   Ecobee 2 Threaddebug            get_account_list: typeId = IdList : (list), targetId = 354586620, valuesDict = UiValuesDict : (dict)
     account : 1848551817 (integer)
     address :  (string)
     authStatus :  (string)
     createRemotes : true (bool)
     deviceType : EcobeeThermostat (string)
     getPin :  (string)
     getTokens :  (string)
     holdType : nextTransition (string)
     openEcobee :  (string)
     openEcobeeNote :  (string)
     pin :  (string)
     separator1 :  (string)
     spacer1 :  (string)
     spacer2 :  (string)
     spacer3 :  (string)
   Ecobee 2 Debug                  get_account_list: accounts = [(1848551817, u'Ecobee Account (1848551817)')]
   Ecobee 2 Threaddebug            get_device_list: typeId = IdList : (list), targetId = 354586620, filter = , valuesDict = UiValuesDict : (dict)
     account : 1848551817 (integer)
     address :  (string)
     authStatus :  (string)
     createRemotes : true (bool)
     deviceType : EcobeeThermostat (string)
     getPin :  (string)
     getTokens :  (string)
     holdType : nextTransition (string)
     openEcobee :  (string)
     openEcobeeNote :  (string)
     pin :  (string)
     separator1 :  (string)
     spacer1 :  (string)
     spacer2 :  (string)
     spacer3 :  (string)
   Ecobee 2 Debug                  get_device_list: active_stats = []
   Ecobee 2 Debug                  get_device_list: available_devices for EcobeeThermostat = []
   Ecobee 2 Threaddebug            get_account_list: typeId = IdList : (list), targetId = 354586620, valuesDict = UiValuesDict : (dict)
     account : 1848551817 (integer)
     address :  (string)
     authStatus :  (string)
     createRemotes : true (bool)
     deviceType : EcobeeThermostat (string)
     getPin :  (string)
     getTokens :  (string)
     holdType : nextTransition (string)
     openEcobee :  (string)
     openEcobeeNote :  (string)
     pin :  (string)
     separator1 :  (string)
     spacer1 :  (string)
     spacer2 :  (string)
     spacer3 :  (string)
   Ecobee 2 Debug                  get_account_list: accounts = [(1848551817, u'Ecobee Account (1848551817)')]
   Ecobee 2 Debug                  validateDeviceFactoryUi: valuesDict = UiValuesDict : (dict)
     account : 1848551817 (integer)
     address :  (string)
     authStatus :  (string)
     createRemotes : true (bool)
     deviceType : EcobeeThermostat (string)
     getPin :  (string)
     getTokens :  (string)
     holdType : nextTransition (string)
     openEcobee :  (string)
     openEcobeeNote :  (string)
     pin :  (string)
     separator1 :  (string)
     spacer1 :  (string)
     spacer2 :  (string)
     spacer3 :  (string), devIdList = IdList : (list)
   Ecobee 2 Warning                validateDeviceFactoryUi - No Thermostat Specified
   Ecobee 2 Debug                  closedDeviceFactoryUi: user cancelled
   Ecobee 2 Debug                  getDeviceFactoryUiValues: devIdList = UiElemIdList : (list)
   Ecobee 2 Threaddebug            get_device_list: typeId = IdList : (list), targetId = 354586620, filter = , valuesDict = UiValuesDict : (dict)
     account : 1848551817 (integer)
     deviceType : EcobeeThermostat (string)
   Ecobee 2 Debug                  get_device_list: active_stats = []
   Ecobee 2 Debug                  get_device_list: available_devices for EcobeeThermostat = []
   Ecobee 2 Threaddebug            get_account_list: typeId = IdList : (list), targetId = 354586620, valuesDict = UiValuesDict : (dict)
     account : 1848551817 (integer)
     deviceType : EcobeeThermostat (string)
   Ecobee 2 Debug                  get_account_list: accounts = [(1848551817, u'Ecobee Account (1848551817)')]
   Ecobee 2 Debug                  closedDeviceFactoryUi: user cancelled

Oct 22, 2019 at 17:35:40
   Ecobee 2 Debug                  closedPrefsConfigUi called
   Ecobee 2 Debug                  menuDumpThermostat
   Ecobee 2                        {}
   Ecobee 2                        {}
   Ecobee 2 Debug                  validatePrefsConfigUi called
   Ecobee 2 Debug                  closedPrefsConfigUi called

Re: Ecobee thermometer not showing during device creation

PostPosted: Tue Oct 22, 2019 7:14 pm
by FlyingDiver
You can turn down the logging one level. Detailed is way too much at this point.

If you have a working account device, use the "Write Thermostat Data to Log" menu command, then post that info here.

Re: Ecobee thermometer not showing during device creation

PostPosted: Wed Oct 23, 2019 9:01 am
by FlyingDiver
Grab 2.2.1 and try creating your devices again: https://github.com/FlyingDiver/Indigo-E ... /tag/2.2.1

Re: Ecobee thermometer not showing during device creation

PostPosted: Thu Oct 24, 2019 10:16 am
by Hap
Why is the name now Lutron.RadioRA.2.indigoPlugin.zip?

Re: Ecobee thermometer not showing during device creation

PostPosted: Thu Oct 24, 2019 10:19 am
by FlyingDiver
Hap wrote:
Why is the name now Lutron.RadioRA.2.indigoPlugin.zip?


Because I accidentally uploaded the wrong zip file. :oops:

Fixed.

Re: Ecobee thermometer not showing during device creation

PostPosted: Sun Oct 27, 2019 1:35 pm
by Peel
FlyingDiver wrote:
Grab 2.2.1 and try creating your devices again: https://github.com/FlyingDiver/Indigo-E ... /tag/2.2.1


Well, this has got me one step closer. I now see my thermostat in the list, but am still getting the LowLevelBadParameterError plus an error obtaining ecobee account object.

Code: Select all
Enabling plugin "Ecobee 2 2.2.1"
   Starting plugin "Ecobee 2 2.2.1" (pid 776)
   Ecobee 2 Debug                  logLevel = 10
   Started plugin "Ecobee 2 2.2.1"
   Ecobee 2                        Starting Ecobee
   Ecobee 2 Debug                  macOS 10.15, Indigo 7.4.0
   Ecobee 2 Debug                  updateFrequency = 300.0
   Ecobee 2 Debug                  setting temperature scale to F
   Ecobee 2 Debug                  runConcurrentThread starting
   Ecobee 2 Debug                  getDeviceFactoryUiValues: devIdList = UiElemIdList : (list)
   Ecobee 2 Debug                  get_account_list: accounts = []
   Ecobee 2 Debug                  PIN Request OK, pin = x3ix. authorization_code = EIhUo1Z7Tsb8YcEVRGJxQSf5Wo4JzaMn
   Ecobee 2 Debug                  get_account_list: accounts = []

Oct 27, 2019 at 12:20:40 PM
   Ecobee 2 Debug                  Token Request OK, access_token = DOklCtnUIqYLyscE7RzjHYE2lrIKmTnD, refresh_token = gSooCLKNUbju1y0OojLjGvyEaot7LaZb, expires_in = 3599
   Ecobee 2 Debug                  get_account_list: accounts = []
   Ecobee 2                        Created EcobeeAccount device 'Ecobee Account (442593853)'
   Ecobee 2                        new device 3: Starting EcobeeAccount Device 442593853
   Ecobee 2 Debug                  new device 3: EcobeeAccount __init__, using refresh token = gSooCLKNUbju1y0OojLjGvyEaot7LaZb
   Ecobee 2 Debug                  Token Request with refresh_token = gSooCLKNUbju1y0OojLjGvyEaot7LaZb
   Ecobee 2 Debug                  Token Refresh OK, new access_token = 2YBQA49JVCnSHntpJITreKh12Vo5SIkj, new refresh_token = tmUBMCWOYoCMGb5k7JTg70wKaX0tG496, expires_in = 3599
   Ecobee 2 Debug                  new device 3: Ecobee Account Update OK, got info on 1 thermostats
   Ecobee 2 Debug                  new device 3: getting data for 'Home', 521762322376
   Ecobee 2 Debug                  new device 3: getting data for remote sensor 'Living Room', MTC9
   Ecobee 2 Debug                  getDeviceFactoryUiValues: devIdList = UiElemIdList : (list)
   Ecobee 2 Debug                  get_device_list: active_stats = []
   Ecobee 2 Debug                  get_device_list: available_devices for EcobeeThermostat = [(u'521762322376', u'Home')]
   Ecobee 2 Debug                  get_account_list: accounts = [(442593853, u'Ecobee Account (442593853)')]
   Ecobee 2 Debug                  get_device_list: active_stats = []
   Ecobee 2 Debug                  get_device_list: available_devices for EcobeeThermostat = [(u'521762322376', u'Home')]
   Ecobee 2 Debug                  get_account_list: accounts = [(442593853, u'Ecobee Account (442593853)')]
   Error (client)                  _sendClosedConfigUi3() caught exception: LowLevelBadParameterError
   Ecobee 2 Error                  Error in plugin execution UiClosed3:

Traceback (most recent call last):
  File "plugin.py", line 336, in closedDeviceFactoryUi
KeyError: (u'vulcanSmart',)

   Ecobee 2                        Ecobee Home: Starting EcobeeThermostat Device 978551555
   Ecobee 2 Debug                  Ecobee Home: no occupancy device
   Ecobee 2 Debug                  new device 3: Ecobee Account Update OK, got info on 1 thermostats
   Ecobee 2 Debug                  new device 3: getting data for 'Home', 521762322376
   Ecobee 2 Debug                  new device 3: getting data for remote sensor 'Living Room', MTC9
   Ecobee 2 Debug                  Ecobee Home: Updating device
   Ecobee 2 Error                  updatable: Error obtaining ecobee account object

Re: Ecobee thermometer not showing during device creation

PostPosted: Sun Oct 27, 2019 1:58 pm
by FlyingDiver
OK, now we're getting somewhere. The plugin has no idea what a 'vulcanSmart' device is. I'm adding it with the same features as the Ecobee4. I think that's correct.

Grab this version and try again: https://github.com/FlyingDiver/Indigo-E ... /tag/2.2.2

Your account device should be fine. Delete the thermostat device and recreate it.