[RELEASE] Initial Setup for Ecobee3 & 4, Smart-SI, EMS, Smart-02 thermostats - My Ecobee Device

Similar scenario for me. Worked most of yesterday and cut out in the evening. It wouldn’t even let me log back in so I have hidden the notifications for now.

Seems like this may be an existing/known issue based on the thread but wanted to see if my issue are in-line with others.

Within the last few weeks I have started to get quite a few error notifications "MyEcobeeInit> too many exceptions/erros or unauthorized exception, doRequest>…

For a while I was able to re-login/authenticate and the issue was temporarily resolved. It would work okay after re-login/authenticate for varying amounts of time, sometimes a few days other times just over 24hrs.

Within last week the problem has gotten worse and I am receiving continuous error notifications, sometimes in excess of a dozen and hour. Even now when I re-login/authenticate the issue comes back within hours or even minuets. I have always left polling at default (which is 10min) and lately been using 30min polling (not sure why people need polling for Thermostats in seconds or anything <5min to be honest).

Would love to continue using the device type/ smatapp but I cannot if I continue to receive so many notifications. Case and point… here are all the errors I just received writing this!

@yvesracine Any help as to why I am getting all of these errors and how to resolve?

I am having the same issue. Today has been especially bad. So far this morning I’ve received not less than 50 of those messages.

I’ve been going through yvesracine codes and updating to see if it will help.

I’ll be watching this thread.

1 Like

Here are some earlier logs incase that helps. I will admit upfront I am not very tech savvy, so not entirely sure what the logs are saying, but always willing to roll my sleeves up and try something. Again would appreciate any help

4597a3a7-d698-481f-8e37-f4946d93d4fa ‎9‎:‎18‎:‎06‎ ‎AM: error groovyx.net.http.HttpResponseException: Internal Server Error @ line 1277

4597a3a7-d698-481f-8e37-f4946d93d4fa ‎9‎:‎18‎:‎06‎ ‎AM: debug doRequest>exception groovyx.net.http.HttpResponseException: Internal Server Error for %7B%22functions%22%3A%5B%7B%22type%22%3A%22setHold%22%2C%22params%22%3A%7B%22coolHoldTemp%22%3A810%2C%22heatHoldTemp%22%3A510%7D%7D%5D%2C%22selection%22%3A%7B%22selectionType%22%3A%22thermostats%22%2C%22selectionMatch%22%3A%22265227224905%22%7D%7D

970086f0-4e35-4217-a469-c929b3df373d ‎9‎:‎18‎:‎06‎ ‎AM: error groovyx.net.http.HttpResponseException: Internal Server Error @ line 1277

970086f0-4e35-4217-a469-c929b3df373d ‎9‎:‎18‎:‎06‎ ‎AM: debug doRequest>exception groovyx.net.http.HttpResponseException: Internal Server Error for %7B%22functions%22%3A%5B%7B%22type%22%3A%22setHold%22%2C%22params%22%3A%7B%22coolHoldTemp%22%3A810%2C%22heatHoldTemp%22%3A510%7D%7D%5D%2C%22selection%22%3A%7B%22selectionType%22%3A%22thermostats%22%2C%22selectionMatch%22%3A%22210250995779%22%7D%7D

970086f0-4e35-4217-a469-c929b3df373d ‎9‎:‎18‎:‎05‎ ‎AM: error groovyx.net.http.HttpResponseException: Internal Server Error @ line 1277

970086f0-4e35-4217-a469-c929b3df373d ‎9‎:‎18‎:‎05‎ ‎AM: debug doRequest>exception groovyx.net.http.HttpResponseException: Internal Server Error for %7B%22functions%22%3A%5B%7B%22type%22%3A%22setHold%22%2C%22params%22%3A%7B%22coolHoldTemp%22%3A810%2C%22heatHoldTemp%22%3A510%7D%7D%5D%2C%22selection%22%3A%7B%22selectionType%22%3A%22thermostats%22%2C%22selectionMatch%22%3A%22210250995779%22%7D%7D

Install his beta device type and smart app that he listed a few posts up. It hasn’t gotten rid of the issue but it’s helped. Otherwise, this is an issue for ST and Ecobee to fix it seems. Seems like there should be some direct communication between the two seeing as how they both advertise each other’s compatibility.

1 Like

Thanks @jarettp will give the beta device type a try now.

Hi @slagle, @jotto, @jarettp, @dvanzuiden,@stvdano,@benmctee

FYI, after some testing on my end, I have observed the following facts:

(1) Before the peak of connection issues that we’re all experiencing with my custom Ecobee Device now, I had been able to correct any connection issues by re-authenticating with ecobee, and this action would “reset” the connection and any connection issues would disappear after.

(2) Now, even if I try to “reset” the connection by re-authenticating with ecobee, the connection issues stick. The only way is to uninstall the Service Manager and delete the device to create another one.

Also, since yesterday, somebody has pointed out to me that the ecobee’s access token expiration time is now expressed in seconds (not in minutes like before)…

This is a recent change that was implemented just yesterday:


The change does not explain all the connection issues in the last week, but it explains the fact that I can no longer ‘reset’ the connection with ecobee since yesterday.

There may be also more rate limiting done either on the ST or the ecobee side that I’m not aware of.

I implemented more defensive coding into My Ecobee Device, MyEcobeeInit and ecobee3RemoteSensorInit to avoid connection issues in the future.

MyEcobee device at home has been now stable for a while, and hopefully it will work also for anybody
who uses it.

Please let me know of any issues, especially with ecobee3RemoteSensorInit as I cannot test
it at home (I do not have any ecobee3’s remote sensors).

So, in order to correct their current connection issues, ST users need to

(1) Remove My Ecobee device and any ecobee3’s remote sensors from all smartapps

(2) Uninstall MyEcobeeInit, ecobee3RemoteSensorInit

(3) Get the latest MyEcobeeDevice, MyEcobeeInit and ecobee3RemoteSensorInit code at my main branch:

(4) Re-execute MyEcobeeInit and ecobee3RemoteSensorInit


Thanks Yves. Trying now.

I was just about to uninstall it all for now and buy Ecobee 3s to replace my Si’s and remove it from ST all together. Lets see how this one goes.

Probably 250 error messages today. Wife wasn’t happy; I’m sure many of you can relate

@stvdano, in all my smartapps, you can disable notifications by saying ‘no’ to the following question at the last page:

	section("Notifications") {
		input "sendPushMessage", "enum", title: "Send a push notification?", metadata: [values: ["Yes", "No"]], required:


Yeah, I know… It’s not that i don’t want to know, its that I want it to work :slight_smile:

1 Like

Thanks for the update. Mine has been working with the beta I installed since yesterday. For now I’ll leave everything alone until that changes. Unless you’re saying that eventually this “seconds instead of minutes” thing is going to cause some issues.

Yep, copy that!
She was not happy at all… lol

Yes, the access token will cause an issue at one point for sure (as it did for me today)…

Thanks for you the updates! We’ll see how it goes today.

So at some point after deleting everything last night and setting it up again, authentication again failed.
While trying to reauthenticate, I am getting this… So is this on the SmartThings server or the Ecobee server?

Thanks for the detailed update @yvesracine

Beta seems to be working well to resolve the issue. It has been 24hrs with no recurrence of the issue (which its long to not see the issue reoccur… keeping my fingers crossed). Thanks again.

Hi @CheezWiz,

Please follow my instructions and retry again, as this looks to me as one of those momentarily ST platform issues…

Other ST users (including myself) have been able to restart their ecobee device.

@jotto, please see my previous post…

You need to resync with my main github branch as ecobee made some API changes yesterday that may cause some issues later.


1 Like

I am on a catch 22 here… I can’t uninstall my Ecobee because it is being user by ecobee3RemoteSensorInit. If I try to remove ecobee3RemoteSensorInit or the thermostat from ecobee3RemoteSensorInit I get errors. Is there any way to force the ecobee3RemoteSensorInit app removal.

@CarlosS I was having the same issue with my setup. Go into your Ecobee Remote device under Things on your phone, then go to the SmartApps tab within the sensor. From there, you can see what is using the Remote, and then remove it before uninstalling the remote. Once the devices are removed, then you can remove the ecobee3RemoteSensorInit. If it is only your main Ecobee3 device within the SmartApps tab, and that won’t let you uninstall, then you can try to remove it under the SmartThings website (https://graph.api.smartthings.com/device/list).