Ecobee Integration Woes

I'm using the built-in app for Ecobee Integration. I have 2 thermostats each with an additional room sensor. I was noticing recently the room sensors were NOT changing their temps. Ecobee support wasn't great for me, but I eventually worked my way to the device page of the ecobee sensorl within HE and saw it was offline. I reconnected/re-authorized and all was well. Since then it has happened a couple more times....same steps to resolve.

I caught this in the log today. Anybody else having this issue?

 [:542](http://172.32.31.53/logs#app542)2020-08-10 09:32:29.982 am [info](http://172.32.31.53/installedapp/configure/542)You now have 2 thermostats, 2 sensors and 0 switches

[app:542](http://172.32.31.53/logs#app542)2020-08-10 09:31:54.495 am [trace](http://172.32.31.53/installedapp/configure/542)enableOauth response data: null

[app:542](http://172.32.31.53/logs#app542)2020-08-09 08:05:01.698 pm [error](http://172.32.31.53/installedapp/configure/542)Ecobee poll failed despite refreshing authToken

[app:542](http://172.32.31.53/logs#app542)2020-08-09 08:05:01.667 pm [warn](http://172.32.31.53/installedapp/configure/542)Error refreshing auth_token:400, refreshAttempt:0, response data:{ "error": "invalid_grant", "error_description": "The authorization grant, token or credentials are invalid, expired, revoked, do not match the redirection URI used in the authorization request, or was issued to another client.", "error_uri": "https://tools.ietf.org/html/rfc6749#section-5.2" }

[app:542](http://172.32.31.53/logs#app542)2020-08-09 07:00:08.653 pm [info](http://172.32.31.53/installedapp/configure/542)Exception sending command: groovyx.net.http.HttpResponseException: Internal Server Error, status:500, [status:[code:14, message:Authentication token has expired. Refresh your tokens. ]]

[app:542](http://172.32.31.53/logs#app542)2020-08-09 12:40:05.518 pm [info](http://172.32.31.53/installedapp/configure/542)Exception sending command: groovyx.net.http.HttpResponseException: Internal Server Error, status:500, [status:[code:14, message:Authentication token has expired. Refresh your tokens. ]]

[app:542](http://172.32.31.53/logs#app542)2020-08-09 08:30:05.101 am [info](http://172.32.31.53/installedapp/configure/542)Exception sending command: groovyx.net.http.HttpResponseException: Internal Server Error, status:500, [status:[code:14, message:Authentication token has expired. Refresh your tokens. ]]

[app:542](http://172.32.31.53/logs#app542)2020-08-09 04:15:05.637 am [info](http://172.32.31.53/installedapp/configure/542)Exception sending command: groovyx.net.http.HttpResponseException: Internal Server Error, status:500, [status:[code:14, message:Authentication token has expired. Refresh your tokens. ]]

[app:542](http://172.32.31.53/logs#app542)2020-08-08 07:40:08.505 pm [info](http://172.32.31.53/installedapp/configure/542)Exception sending command: groovyx.net.http.HttpResponseException: Internal Server Error, status:500, [status:[code:14, message:Authentication token has expired. Refresh your tokens. ]]

[app:542](http://172.32.31.53/logs#app542)2020-08-08 07:40:06.704 pm [info](http://172.32.31.53/installedapp/configure/542)Exception sending command: groovyx.net.http.HttpResponseException: Internal Server Error, status:500, [status:[code:14, message:Authentication token has expired. Refresh your tokens. ]]

[app:542](http://172.32.31.53/logs#app542)2020-08-08 06:40:05.062 pm [info](http://172.32.31.53/installedapp/configure/542)Exception sending command: groovyx.net.http.HttpResponseException: Internal Server Error, status:500, [status:[code:14, message:Authentication token has expired. Refresh your tokens. ]]

[app:542](http://172.32.31.53/logs#app542)2020-08-08 04:35:08.369 pm [info](http://172.32.31.53/installedapp/configure/542)Exception sending command: groovyx.net.http.HttpResponseException: Internal Server Error, status:500, [status:[code:14, message:Authentication token has expired. Refresh your tokens. ]]

[app:542](http://172.32.31.53/logs#app542)2020-08-08 04:35:06.330 pm [info](http://172.32.31.53/installedapp/configure/542)Exception sending command: groovyx.net.http.HttpResponseException: Internal Server Error, status:500, [status:[code:14, message:Authentication token has expired. Refresh your tokens. ]]

[app:542](http://172.32.31.53/logs#app542)2020-08-08 03:35:05.413 pm [info](http://172.32.31.53/installedapp/configure/542)Exception sending command: groovyx.net.http.HttpResponseException: Internal Server Error, status:500, [status:[code:14, message:Authentication token has expired. Refresh your tokens. ]]

[app:542](http://172.32.31.53/logs#app542)2020-08-08 05:55:05.456 am [info](http://172.32.31.53/installedapp/configure/542)Exception sending command: groovyx.net.http.HttpResponseException: Internal Server Error, status:500, [status:[code:14, message:Authentication token has expired. Refresh your tokens. ]]

[app:542](http://172.32.31.53/logs#app542)2020-08-07 10:25:04.813 pm [info](http://172.32.31.53/installedapp/configure/542)Exception sending command: groovyx.net.http.HttpResponseException: Internal Server Error, status:500, [status:[code:14, message:Authentication token has expired. Refresh your tokens. ]]

[app:542](http://172.32.31.53/logs#app542)2020-08-07 07:15:08.361 pm [info](http://172.32.31.53/installedapp/configure/542)Exception sending command: groovyx.net.http.HttpResponseException: Internal Server Error, status:500, [status:[code:14, message:Authentication token has expired. Refresh your tokens. ]]

[app:542](http://172.32.31.53/logs#app542)2020-08-07 07:15:06.337 pm [info](http://172.32.31.53/installedapp/configure/542)Exception sending command: groovyx.net.http.HttpResponseException: Internal Server Error, status:500, [status:[code:14, message:Authentication token has expired. Refresh your tokens. ]]

[app:542](http://172.32.31.53/logs#app542)2020-08-07 06:15:04.674 pm [info](http://172.32.31.53/installedapp/configure/542)Exception sending command: groovyx.net.http.HttpResponseException: Internal Server Error, status:500, [status:[code:14, message:Authentication token has expired. Refresh your tokens. ]]

I brought my Ecobee over from ST and am now on HE using this Ecobee Suite. It worked well for me in ST and it works well in HE. I only have one remote sensor but it reports temp back to HE almost constantly. It can be loaded through the Hubitat package manager. So it's easy to install and update.

[RELEASE] Universal Ecobee Suite, Version 1.8.01.

1 Like

Similar ecobee issue here. When I went to the Ecobee Integration App it forced me to reenter my userid and password. Hopefully that will fix it.

It fixed it for me, but i had to do it again today. Something isn't right here just not sure what.

Is this something user-built and you're saying you're not using the built-in Ecobee integration?

Yes and yes.

1 Like

The original SmartThings Ecobee integration has this bug too: every so often the ecobee servers would do something weird and invalidate the token, causing the integration to disconnect. You have to notice and manually re-authenticate. The only way around this is to add code to the integration to work around the bug in ecobee's servers. SmartThings never did that and I'm guessing Hubitat hasn't done that, either.

The solution is (as @terminal3 mentioned) to instead use the Universal Ecobee Suite. it was originally developed on SmartThings specifically to workaround this re-authentication bug, but then lots of other features were added to it. I've been using it for 4+ years on SmartThings and just started to on Hubitat.

Simply install it from the Hubitat Package Manager (search keyboard "ecobee").

1 Like

ok i guess i am confused. I went to that Github but dont see the instructions on what to actually install. I see those 2 .json files. Usually I see a driver file and an app file to add to user defined apps. Sorry for being an idiot but I'm missing this apparently. Thanks for any assistance.

Does this help? https://github.com/SANdood/Ecobee-Suite#install-hubitat

1 Like

It has lots of parts - you will really appreciate installing it from the Hubitat Package Manager

1 Like

So it's a built-in app not a user app? What's it called, I only see the Ecobee integration I already have running.

Yes!!! Thanks so much!!

It's a user added app. Hubitat Package Manager is another user added app that makes it easy to install (and update) other user added apps.

I agree, Hubitat Package Manager does simplify the install tremendously. Plus it keeps your app updated automatically.

1 Like

ok i finally got all this setup, wow that was a lot. My ecobee devices i had in the dashboard are all jacked up now which is expected since they are no longer there. But nothing I'm trying to load in the dashboard is working everything comes up unknown. What am I missing?

I am using the basic template in my dashboard for my Ecobee and it seems to work. Not much to setup just select the device and then I use the thermostat template.

Did you go back to the apps section and make sure your thermostat is being used by the dashboard?

1 Like

That's what it was!! Thanks I just turned that feature on and forgot about that!! Thanks