Ecobee 2 - Public release

Posted on
Fri Nov 16, 2018 8:54 am
NewfD90 offline
Posts: 61
Joined: Mar 17, 2017

Re: Ecobee 2 - Public release

I recently updated to the latest (2.1.4), and while it appears as if the authentication issue is fixed, the plugin seems to lock up after a few hours. As you can see in the attached graph, I installed the latest at about 0700 yesterday. It ran for a while and then stopped updating. I then restarted the plugin and it continued to update OK. However, overnight it stopped updating again. The plugin appears to be locked up as Indigo complains that it has to force it to quit on a restart.
Attachments
Screen Shot 2018-11-16 at 7.53.40 AM.png
Screen Shot 2018-11-16 at 7.53.40 AM.png (31.72 KiB) Viewed 3846 times

Posted on
Fri Nov 16, 2018 2:34 pm
FlyingDiver offline
User avatar
Posts: 7213
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Ecobee 2 - Public release

The graph is pretty, but it doesn't tell me anything. ;)

Turn on debug logging, then the next time it does it post the log segment around the time it locked up.

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

Posted on
Sat Nov 17, 2018 4:33 pm
aldonc offline
Posts: 45
Joined: Jan 10, 2015

Re: Ecobee 2 - Public release

Hi,
Thanks for the update to this plugin!

I have a Smart SI and are getting these errors on each refresh:
Error device "Kentfield Main Floor" state key device_type not defined (ignoring update request)
Error device "Kentfield Main Floor" state key device_type not defined (ignoring update request)
Error device "Kentfield Main Floor" state key climate not defined (ignoring update request)
Error device "Kentfield Main Floor" state key fanMinOnTime not defined (ignoring update request)
Error device "Kentfield Main Floor" state key equipmentStatus not defined (ignoring update request)

I am currently running V2.1.2 of the plugin as I can't seem to download V2.1.4 from the store or GitHub

thanks,
Aldon

Posted on
Sat Nov 17, 2018 4:35 pm
FlyingDiver offline
User avatar
Posts: 7213
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Ecobee 2 - Public release

This GitHub link works for me: https://github.com/FlyingDiver/Indigo-E ... Plugin.zip

The last few versions had fixes for Smart models, so you really need to get on the latest. Then delete your thermostats and re-create them.

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

Posted on
Sat Nov 17, 2018 4:58 pm
aldonc offline
Posts: 45
Joined: Jan 10, 2015

Re: Ecobee 2 - Public release

Managed to download 2.1.4 (your link still didn't work for some reason) and I still get the same 5 error lines.

Posted on
Sat Nov 17, 2018 4:59 pm
FlyingDiver offline
User avatar
Posts: 7213
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Ecobee 2 - Public release

aldonc wrote:
Managed to download 2.1.4 (your link still didn't work for some reason) and I still get the same 5 error lines.


Did you recreate that thermostat?

Once you do, what is the value of the "device_type" state for the thermostat?

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

Posted on
Sat Nov 17, 2018 6:14 pm
aldonc offline
Posts: 45
Joined: Jan 10, 2015

Re: Ecobee 2 - Public release

I recreated the thermostat.

Have to ask the dumb question - where do I see device_type. Not in the debug listing.

The State in the UI is updating with a mode icon (flame for heating) and the temperature updates.

Posted on
Sat Nov 17, 2018 7:07 pm
FlyingDiver offline
User avatar
Posts: 7213
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Ecobee 2 - Public release

In the custom states for the device. Drag the little dimple up.
Attachments
Screen Shot 2018-11-17 at 8.07.52 PM.png
Screen Shot 2018-11-17 at 8.07.52 PM.png (108.66 KiB) Viewed 3775 times

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

Posted on
Sat Nov 17, 2018 7:13 pm
FlyingDiver offline
User avatar
Posts: 7213
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Ecobee 2 - Public release

Also, if this is a thermostat model I haven't had a tester for yet, I'm going to need some more data. I had a "Smart" tester, but I don't think I had a "Smart Si".

You need to turn on "detailed debugging" for one update cycle so I can see the actual data returned from the Ecobee servers. Then zip up the log file and send it to me. I don't think you can post a zip file on the forums, so maybe send it in a PM? Or create an issue on GitHub and post it there.

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

Posted on
Sat Nov 17, 2018 7:19 pm
aldonc offline
Posts: 45
Joined: Jan 10, 2015

Re: Ecobee 2 - Public release

That's where I looked originally - there isn't a window with Custom States below the Thermostat controls. There's one for the Ecobee Account but not the Thermostat.

Deleted the thermostat and re-created it to be sure but same results.

Just saw your other note so will try to PM it to you since it is a Smart SI.

Posted on
Sat Nov 17, 2018 7:47 pm
FlyingDiver offline
User avatar
Posts: 7213
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Ecobee 2 - Public release


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

Posted on
Sun Nov 18, 2018 7:45 am
aldonc offline
Posts: 45
Joined: Jan 10, 2015

Re: Ecobee 2 - Public release

Looks good - errors gone and States display is there.

thanks for the quick update!

Posted on
Tue Nov 20, 2018 2:13 pm
jucevic offline
Posts: 9
Joined: Mar 15, 2012

Re: Ecobee 2 - Public release

I like the new plugin, but I am getting the following error. I just upgraded today after noticing the previous stopped working for me. This is running on High Sierra.

update: Problem Solved. Turns out I had a remote sensor with a dead battery. Replacing the battery got rid of the errors below.


===============================================================
My thermostat is an Ecobee 3

Ecobee 2 Debug Ecobee Upstairs (310162878910): Ecobee device assigned, 1974912631
Ecobee 2 Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 141, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Ecobee 2.indigoPlugin/Contents/Server Plugin/ecobee.py", line 630, in update
File "/Library/Application Support/Perceptive Automation/Indigo 7.2/Plugins/Ecobee 2.indigoPlugin/Contents/Server Plugin/temperature_scale.py", line 18, in convert
ValueError: could not convert string to float: unknown

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

Posted on
Tue Nov 20, 2018 2:49 pm
FlyingDiver offline
User avatar
Posts: 7213
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Ecobee 2 - Public release

Thanks for the error report. I need to handle that condition in the code.

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

Posted on
Fri Nov 23, 2018 12:29 pm
FlyingDiver offline
User avatar
Posts: 7213
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Ecobee 2 - Public release

Posted pre-release of 2.1.6 that handles the case when the server returns "unknown" for a remote sensor temperature.

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

Who is online

Users browsing this forum: No registered users and 3 guests