Ecobee Version 2.0.3 Pre-release

Posted on
Sun Oct 28, 2018 9:19 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Ecobee Version 2.0.3 Pre-release

New thread for this release since there are major changes.

  • Except for the Ecobee Account devices, all device definitions have changed and you need to delete the old devices.
  • You only need to create a device for the Ecobee Thermostat itself. All remotes will be auto-created.
  • Type of Ecobee thermostat is auto-detected and an appropriate device will be created for you.
  • Thermostats with built-in occupancy sensor will get an additional device created for that sensor.
  • Reminder - High Sierra or Mojave required. There will be a message in the Indigo log if you're not running a supported OS.

Download: https://github.com/FlyingDiver/Indigo-E ... /tag/2.0.3

Please post here with a summary of your Ecobee hardware. I especially need testers with something other than Ecobee 3 units (I have four of those). Also, configurations with no remote sensors, as all of mine have at least one.

Feedback on the device naming scheme appreciated. It's kind verbose now, but that's mostly to ensure I don't get name collisions.

Enhancement requests always welcome, but if it's something significant expect me to request you create a GitHub issue for it.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Oct 29, 2018 6:21 am
eme jota ce offline
Posts: 618
Joined: Jul 09, 2009
Location: SW Florida

Re: Ecobee Version 2.0.3 Pre-release

Seeing the following errors after update to latest version for Ecobee 2, from Ecobee 2 beta.

Indigo 7.2 on Mojave 10.14.

Ecobee 2 Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 140, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Ecobee 2.indigoPlugin/Contents/Server Plugin/ecobee.py", line 459, in update
KeyError: u'511880787182'

Ecobee 2 Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Ecobee 2 Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 140, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Ecobee 2.indigoPlugin/Contents/Server Plugin/ecobee.py", line 459, in update
KeyError: u'511880787182'

Ecobee 2 Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

Posted on
Mon Oct 29, 2018 6:23 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Ecobee Version 2.0.3 Pre-release

eme jota ce wrote:
Seeing the following errors after update to latest version for Ecobee 2, from Ecobee 2 beta.

Indigo 7.2 on Mojave 10.14.


Did you delete all your devices (except the EcobeeAccount) and recreate them as directed above?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Oct 29, 2018 7:05 am
eme jota ce offline
Posts: 618
Joined: Jul 09, 2009
Location: SW Florida

Re: Ecobee Version 2.0.3 Pre-release

FlyingDiver wrote:
eme jota ce wrote:
Seeing the following errors after update to latest version for Ecobee 2, from Ecobee 2 beta.

Indigo 7.2 on Mojave 10.14.


Did you delete all your devices (except the EcobeeAccount) and recreate them as directed above?


I did, only after posting above. Sorry. After deleting old devices, and reauthorizing with new PIN at the Ecobee site, I added the device. Now seeing the following errors.
Ecobee 2 Debug MBR HVAC ecobee: action.thermostatAction: IncreaseCoolSetpoint
Ecobee 2 MBR HVAC ecobee: set cool to: 77.0 and leave heat at: 70.0
Ecobee 2 Debug API 'set hold temp' request completed, result = <Response [200]>
Ecobee 2 Debug Thermostat Update OK, got info on 1 devices
Ecobee 2 Debug Thermostat Update, thermostats =
{u'511880787182': {'hvacMode': u'cool', 'brand': u'ecobee', 'desiredFanMode': u'auto', 'desiredHeat': 700, 'equipmentStatus': u'', 'remotes': {u'HNPY': {u'name': u'guest room bee', u'occupancy': u'false', u'temperature': u'741'}}, 'internal': {u'temperature': u'738', u'occupancy': u'false', u'humidity': u'54'}, 'currentClimate': u'home', 'latestEventType': u'hold', 'name': u'Thermostat', 'desiredCool': 770, 'modelNumber': u'apolloSmart', 'actualTemperature': 739, 'fanMinOnTime': 0, 'actualHumidity': 54}}
Error device "Ecobee Thermostat (511880787182)" state key device_type not defined (ignoring update request)
Error device "Ecobee Thermostat (511880787182)" state key device_type not defined (ignoring update request)
Error device "Ecobee Thermostat (511880787182)" state key climate not defined (ignoring update request)
Error device "Ecobee Thermostat (511880787182)" state key fanMinOnTime not defined (ignoring update request)
Error device "Ecobee Thermostat (511880787182)" state key equipmentStatus not defined (ignoring update request)
Error device "Ecobee Thermostat (511880787182)" state key autoHome not defined (ignoring update request)
Error device "Ecobee Thermostat (511880787182)" state key autoAway not defined (ignoring update request)
Error device "MBR HVAC ecobee" state key device_type not defined (ignoring update request)
Error device "MBR HVAC ecobee" state key device_type not defined (ignoring update request)
Error device "MBR HVAC ecobee" state key climate not defined (ignoring update request)
Error device "MBR HVAC ecobee" state key fanMinOnTime not defined (ignoring update request)
Error device "MBR HVAC ecobee" state key equipmentStatus not defined (ignoring update request)
Error device "MBR HVAC ecobee" state key autoHome not defined (ignoring update request)
Error device "MBR HVAC ecobee" state key autoAway not defined (ignoring update request)

Posted on
Mon Oct 29, 2018 7:24 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Ecobee Version 2.0.3 Pre-release

Ah. You have an Ecobee 4. You're the first tester with that model. I think that's all fixed in 2.0.4 which I will be releasing later today.

Other than those error messages and some of the device states not being updated, does it seem to be working properly?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Oct 29, 2018 9:55 am
eme jota ce offline
Posts: 618
Joined: Jul 09, 2009
Location: SW Florida

Re: Ecobee Version 2.0.3 Pre-release

FlyingDiver wrote:
Ah. You have an Ecobee 4. You're the first tester with that model. I think that's all fixed in 2.0.4 which I will be releasing later today.

Other than those error messages and some of the device states not being updated, does it seem to be working properly?


I didn't realize that it's a 4, but it's:
Thermostat Model
ecobee4
Firmware Version
4.2.0.395

Yes. Inidgo is reporting and able to control the set points. Occupancy sensors might not per updating. They seem to indicated occupied, but I'm not sure how long they wait to update to unoccupied. A guest room with remote ecobee sensor was probably unoccupied for an hour or more but still showed an occupied status indicator in Indigo,.

Thanks for all your work on this plugin!
mjc

Posted on
Mon Oct 29, 2018 1:18 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Ecobee Version 2.0.3 Pre-release

Version 2.0.4 now available: https://github.com/FlyingDiver/Indigo-E ... /tag/2.0.4

Fixed issues with apolloSmart models (Ecobee 4)
Fixed issue with creating actions.


If you have an Ecobee 4, delete your existing thermostat device and recreate it after you install this version.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Oct 29, 2018 1:25 pm
rapamatic offline
Posts: 276
Joined: Aug 03, 2015
Location: Glencoe, IL

Re: Ecobee Version 2.0.3 Pre-release

It didn't work creating devices for my smart thermostat. Here's the log from device creation, and it is showing null values for temp, state, etc in the device list:

Code: Select all
Oct 29, 2018 at 2:21:59 PM
   Ecobee 2 Debug                  getDeviceStateList, typeID = EcobeeThermostat, model = , device_type = None
   SQL Logger                      creating table device_history_725189923 for "new device"
   Ecobee 2                        new device: Starting EcobeeThermostat Device 725189923
   Ecobee 2 Debug                  getDeviceStateList, typeID = EcobeeThermostat, model = , device_type = None
   Ecobee 2 Debug                  new device: EcobeeThermostat __init__
   Ecobee 2                        new device: Stopping EcobeeThermostat Device 725189923
   Ecobee 2                        new device: Starting EcobeeThermostat Device 725189923
   Ecobee 2 Debug                  getDeviceStateList, typeID = EcobeeThermostat, model = , device_type = None
   Ecobee 2 Debug                  new device: EcobeeThermostat __init__
   Ecobee 2 Debug                  new device: doing initial config in __init__
   Ecobee 2 Debug                  getDeviceStateList, typeID = EcobeeThermostat, model = ecobee Smart, device_type = None
   Ecobee 2                        Configured Ecobee Master (150992022817)
   SQL Logger                      adding column "humidityinput1" to table device_history_725189923 ("Ecobee Master (150992022817)")
   Ecobee 2                        Ecobee Master (150992022817): Stopping EcobeeThermostat Device 725189923
   Ecobee 2                        Ecobee Master (150992022817): Starting EcobeeThermostat Device 725189923
   Ecobee 2 Debug                  getDeviceStateList, typeID = EcobeeThermostat, model = ecobee Smart, device_type = idtSmart
   Ecobee 2 Debug                  Ecobee Master (150992022817): EcobeeThermostat __init__
   Ecobee 2 Debug                  Ecobee Master (150992022817): adding occupancy device None
   Ecobee 2 Debug                  Ecobee Master (150992022817): adding remote list None
   Ecobee 2 Error                  Error in plugin execution ServerReplacedElem:

Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 7.2/IndigoPluginHost.app/Contents/Resources/PlugIns/plugin_base.py", line 1179, in deviceUpdated
  File "plugin.py", line 368, in deviceStartComm
  File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Ecobee 2.indigoPlugin/Contents/Server Plugin/ecobee.py", line 277, in __init__
TypeError: object of type 'NoneType' has no len()

   Ecobee 2 Debug                  getDeviceStateList, typeID = EcobeeThermostat, model = , device_type = None
   SQL Logger                      adding column "humidityinputsall" to table device_history_725189923 ("Ecobee Master (150992022817)")
   SQL Logger                      adding column "hvaccoolerison" to table device_history_725189923 ("Ecobee Master (150992022817)")
   SQL Logger                      adding column "hvacdehumidifierison" to table device_history_725189923 ("Ecobee Master (150992022817)")
   SQL Logger                      adding column "hvacfanison" to table device_history_725189923 ("Ecobee Master (150992022817)")
   SQL Logger                      adding column "hvacheaterison" to table device_history_725189923 ("Ecobee Master (150992022817)")
   SQL Logger                      adding column "hvachumidifierison" to table device_history_725189923 ("Ecobee Master (150992022817)")
   SQL Logger                      adding column "climate" to table device_history_725189923 ("Ecobee Master (150992022817)")
   SQL Logger                      adding column "device_type" to table device_history_725189923 ("Ecobee Master (150992022817)")
   SQL Logger                      adding column "equipmentstatus" to table device_history_725189923 ("Ecobee Master (150992022817)")
   Ecobee 2 Debug                  Thermostat Update OK, got info on 3 devices
   Ecobee 2 Debug                  Thermostat Update, thermostats =
{u'173448830954': {'hvacMode': u'heat', 'brand': u'ecobee', 'desiredFanMode': u'auto', 'desiredHeat': 720, 'equipmentStatus': u'', 'remotes': {}, 'currentClimate': u'home', 'latestEventType': u'template', 'name': u'Downstairs', 'desiredCool': 750, 'modelNumber': u'idtSmart', 'actualTemperature': 717, 'fanMinOnTime': 15, 'actualHumidity': 46}, u'314784831377': {'hvacMode': u'heat', 'brand': u'ecobee', 'desiredFanMode': u'auto', 'desiredHeat': 690, 'equipmentStatus': u'', 'remotes': {u'G5PH': {u'name': u'Desk', u'occupancy': u'false', u'temperature': u'721'}}, 'internal': {u'temperature': u'674', u'occupancy': u'false', u'humidity': u'55'}, 'currentClimate': u'home', 'latestEventType': u'template', 'name': u'Office', 'desiredCool': 750, 'modelNumber': u'athenaSmart', 'actualTemperature': 697, 'fanMinOnTime': 10, 'actualHumidity': 55}, u'150992022817': {'hvacMode': u'heat', 'brand': u'ecobee', 'desiredFanMode': u'auto', 'desiredHeat': 680, 'equipmentStatus': u'', 'remotes': {}, 'currentClimate': u'home', 'latestEventType': None, 'name': u'Master', 'desiredCool': 740, 'modelNumber': u'idtSmart', 'actualTemperature': 710, 'fanMinOnTime': 15, 'actualHumidity': 50}}

Posted on
Mon Oct 29, 2018 1:37 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Ecobee Version 2.0.3 Pre-release

Yeah, that's a bug. I can't test for thermostats with no remotes (or without an occupancy sensor) without breaking the Ecobee setup at home. :(

I don't want to push out releases hourly, but if you want to try the fix, grab 2.0.4 and change line 293 of ecobee.py to:

Code: Select all
            if remote_list and len(remote_list) > 0:

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Oct 29, 2018 1:46 pm
rapamatic offline
Posts: 276
Joined: Aug 03, 2015
Location: Glencoe, IL

Re: Ecobee Version 2.0.3 Pre-release

I changed line 293, but now I get this error:

Code: Select all
  Error                           device "Ecobee Master (150992022817)" state key fanMinOnTime not defined (ignoring update request)
   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 561, in update
AttributeError: EcobeeThermostat instance has no attribute 'remotes'

   Ecobee 2 Error                  plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

Posted on
Mon Oct 29, 2018 1:56 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Ecobee Version 2.0.3 Pre-release

Ack. Add the two lines at the end here to make that block of code look like:

Code: Select all
            remote_list = dev.pluginProps.get('remotes', None)
            self.logger.debug(u"{}: adding remote list {}".format(dev.name, remote_list))
            if remote_list and len(remote_list) > 0:
                self.remotes = {}
                for code, rem_id in remote_list.items():
                    self.remotes[code] = indigo.devices[int(rem_id)]
            else:
                self.remotes = None

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Oct 29, 2018 2:00 pm
rapamatic offline
Posts: 276
Joined: Aug 03, 2015
Location: Glencoe, IL

Ecobee Version 2.0.3 Pre-release

Ok, that is working now, although I note that I am seeing error messages about fanminontime - the smart definitely have that capability...

Code: Select all
 Ecobee 2 Debug                  Thermostat Update OK, got info on 3 devices

Error                           device "Ecobee Master (150992022817)" state key fanMinOnTime not defined (ignoring update request)    

Error                           device "Ecobee Downstairs (173448830954)" state key fanMinOnTime not defined (ignoring update request)



Sent from my iPad using Tapatalk

Posted on
Mon Oct 29, 2018 2:10 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Ecobee Version 2.0.3 Pre-release

rapamatic wrote:
Ok, that is working now, although I note that I am seeing error messages about fanminontime - the smart definitely have that capability...

Code: Select all
 Ecobee 2 Debug                  Thermostat Update OK, got info on 3 devices
 

Error                           device "Ecobee Master (150992022817)" state key fanMinOnTime not defined (ignoring update request)
   

Error                           device "Ecobee Downstairs (173448830954)" state key fanMinOnTime not defined (ignoring update request)



Sent from my iPad using Tapatalk


OK, I missed that one. Fix is to add the following after line 360 of plugin.py:

Code: Select all
            stateList.append({  "Disabled"     : False,
                                "Key"          : "fanMinOnTime",
                                "StateLabel"   : "Minimum fan time",   
                                "TriggerLabel" : "Minimum fan time",   
                                "Type"         : 100 })

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Oct 29, 2018 2:24 pm
rapamatic offline
Posts: 276
Joined: Aug 03, 2015
Location: Glencoe, IL

Re: Ecobee Version 2.0.3 Pre-release

Alright, all seems to be working now - thanks!


Sent from my iPad using Tapatalk

Posted on
Tue Oct 30, 2018 1:07 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Ecobee Version 2.0.3 Pre-release

Pre-release 2.0.5 now available: https://github.com/FlyingDiver/Indigo-E ... /tag/2.0.5

Fixes for Ecobee Smart devices, or any thermostat with no Remote Sensors.

I think we're getting very close to an actual release. More testing needed!

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Who is online

Users browsing this forum: No registered users and 2 guests