Native ST ecobee 3 intergration?


(Yustos) #1

Hello,

I am aware of the ecobee 3 app created by Yves Racine, but when is ST going to offer natice integration for this very popular and best seller thermostat? It is one of the best thermostats on the market, ST has it’s picture on its website and vice versa, ST already supports the older ecobee thermostats, I would think that if Yves Racine was able to whip up an app so quickly, why aren’t the ST folks holding back on this? Thanks!


(sidjohn1) #2

This has already been covered


(Kurt Sanders) #3

I sent @yvesracine a PayPal donation for his outstanding Ecobee APP, support and new features incorporation.

I am not looking forward to a native APP from ST in this area, since the integration that @yvesracine created is working so well. I’d rather see ST dedicate their limited resources to areas that are missing or buggy, like the mobile APP.

Just my 2 cents!


(Yves Racine) #4

@Yustos, just to let you know, I’ve worked for more than a year on the ecobee integration (including the required testing and improvements over several months)…
.
Just to put this work in perspective, there is about 10 000 lines of code (just the device handler is close to 3200 lines of code). According to my calculations, there is about 1500 hours of development/testing work on My Ecobee Device and related smartapps…

That’s why I’m really happy when people contribute the best they can afford with donations…I’ve given a lot of support over the past months (as you can see in my threads), and I cannot do it w/o contributions from you all. And, BTW, my WAF is pretty low right now!

Please support the community developers :grinning:

And thanks to all of you who already donated!


(Yustos) #5

Thanks @yvesracine for making this app available to all! I haven’t tried it yet, because I just ordered the ecobee 3 from Amazon last night, and I will receive it tomorrow! I will give your app a shot and contribute to paypal :slight_smile:


(Yves Racine) #6

@Yustos, according to my github’s traffic chart, there are hundreds of ST/ecobee users who use My Ecobee Device every day, so you are definitvely not alone!

BTW, the current stock ecobee device has some limitations that make it difficult to use when people have many thermostats at home, see thread below:

Regards.


(Yustos) #7

Hello @yvesracine I just downloaded your ecobee 3 app. I now see it under my smart apps “MyEcobeelnit” when I click on it, I see “About”, “Paypal donation” , “more information” I click next and I log in…etc. But I don’t see where I can actually use the app to control the thermostat settings? I must be missing something?


(Yves Racine) #8

Hi @Yustos, please follow the readme file in order to set up My Ecobee device:

There is even a video (with the old UI, but the navigation flow is basically the same) that explains
the whole process (see step 4).

Under the ST app new UI, you should see My Ecobee Device under Things. You need to press the second icon at the bottom (home), and then the Things link (mid screen).

Bye for now.


(Yustos) #9

Thanks @yvesracine , I think I am technically challenged :slight_smile:
I reached a point where I can find “ecobee3RemoteSensorInit” under “Market Place” then "My Apps"
but I don’t see where I can log in and when prompted, I cant see my ecobee thermostat.

I must be missing something


(Yustos) #10

Actually, I just got it! Now I can click on “Ecobee Thermostat” and I see the temperature, and an arrow up to increase the temperature and an arrow down to decrease it. and below a “resume program” and a “refresh” button. Is there anything else that should be there? am I supposed to be able to see the temerature in the room where the sensor is? I dont see it


(Yves Racine) #11

@Yustos,

As specified in the readme file (step 8a), for the ecobee3’s remote sensors, you’d need to execute the ecobee3RemoteSensorInit smartapp in order to expose them to ST.

My ecobee Device is a generic ecobee thermostat handler for all ecobee thermostat models (Smart-02, Smart-Si, EMS, ecobee3); the previous versions of the ecobee thermostats don’t have any remote sensors.

For the ecobee3’s remote sensors, please refer to the following instructions:

https://github.com/yracine/device-type.myecobee/blob/master/smartapps/readme.ecobee3RemoteSensor

Regards.


(Yustos) #12

Thanks @yvesracine, I appreciate your clarification:)


(Matt B) #13

I posted in another forum topic, but thought I would post here as well, as this seems to have been updated more recently:

First off, thank you so much for taking the time to create the coding for both the Ecobee3 Thermostat and remote sensors. I have a quick question, the remote sensors are still showing “motion” in the app, even though there has been no motion for almost an hour. Is there a way to modify this, so they display a more accurate motion reading (my other motion sensors revert to “no motion” after a couple minutes & I’m hoping that the same can be done with my three remote Ecobee sensors)?

Thanks,
-Matt


(Yves Racine) #14

Hello @dignifiedb,

You may want to look into this thread first:

As specified earlier in the above thread: ecobee motion sensors don’t allow real-time events.

Also, on the ST side,there are some rate limiting and max execution time constraints to take into account which is why the polling interval cannot be lower than 10 minutes.

You can refer to ecobee API documentation:

https://www.ecobee.com/home/developer/api/documentation/v1/objects/RemoteSensor.shtml

Which states (about motion occupancy):

The remote sensor data will only show computed occupancy, as does the thermostat. Definition - For a given sensor, computed occupancy means a sensor is occupied if any motion was detected in the past 30 minutes.

So, I’m sorry but there are limitations in the way the remote sensors were designed, and they will never be like any ST motion sensors (unless ecobee makes some serious changes on their side).

But, you may want to contact ecobee support if your remote sensors are still reporting occupancy after an hour…Please check at your physical thermostat first.

Regards.


(adam) #15

Is anyone having problems with losing Authentication all the time? I have installed the Ecobee init & remote sensor init in the hopes that I can use my new Keen smart vents to create zones BUT my Ecobee3 & the sensors will not stay connected to Smartthings! I will GLADLY send a donation to @yvesracine for any assistance but I wondered if anyone else is having these problems? The Ecobee3 thermostat will stay connected cloud-to-cloud for a few hours sometimes but always looses authentication. The remote sensors only connect once, right after authentication and that’s the last time they report. Thanks guys!


(Yves Racine) #16

Hello @corvetteii,

As specified under the known issues at the ST community wiki, you’d need to contact ST support if
you have any recurring connection issues…

My code reports them, but does not have any control over them.

http://thingsthataresmart.wiki/index.php?title=My_Ecobee_Device

And, My ecobee device is not alone in this situation, refer to

Stock Ecobee device

TCP Hub

EDIT: Make also sure to have the latest version at the github for MyEcobeeDevice, ecobee3RemoteSensorInit and MyEcobeeInit.

Regards.


(adam) #17

Ok, I’ll contact ST. Thanks.


#18

I just setup yvesracine’s MyEcobeeDevice, ecobee3RemoteSensorInit and MyEcobeeInit a few days ago and I’m having the exact same problem now. I’ve received 92 disconnect notifications in the last 4 hours. Yvesracine, I know you say this is a Smarthings/Ecobee problem, but is there anything else you can do? This seems extreme and I can’t imagine ST/Ecobee moving fast enough to prevent us all from uninstalling (this can’t just be me receiving this many notifications, can it?). Please let me know if you have any other suggestions, and thank you so much for all of your app development thus far.

Thanks,
Jake


(Yves Racine) #19

@jacisme,

The best way to deal with those connection issues is to report them to ST, and hopefully, they will address them
when they realize that there are a lot of ST users out there who are experiencing them.

I did report some connection issues myself quite a long time ago (linked to the security certificate amongs others), and here what ST support responded at that time:

Chris Porter (SmartThings)
Jun 30, 6:02 PM

Hi Yves,

Thanks for letting us know what you are seeing. My developers have been aware of this happening for a little while now also, and have worked on it. I will let them know your thoughts about it being the security timestamp being outdated.

I don’t have an ETA around implementing a revision to the code, but developers do currently know it is not working consistently for users, and are addressing it.

Thanks for the heads up, and the suggestions.

-Chris P.
SmartThings Support

In the meantime, I’ve observed that these issues come and go. In a specific week, they will be a peak of connection issues, and then few days after, the connection issues will disappear, and they will be no issues for more than a month.

I suspect the ST platform (and sometimes also the ecobee servers) to be the root cause of those connection issues. This could be some connection pool management issues at ST or others.

In brief, as I said in the community wiki and many times in other threads, I don’t have any control on those connection issues in my code.

However, I’ve implemented some defensive coding to notify the ST users of any connection issues. That’s the best I can do on my end.

And, if you read carefully other threads (like the one I posted in my previous post), ST has connection issues with other devices as well (ex. TCP hub).

P.S. What make ecobee more susceptible to losing its connection is the fact the ecobee is the only cloud provider (that I know) that asks to refresh its authorization token every hour. My code has the required algorithm to do it, but if there are connection issues at the same time, you’ll then need to manually reauthorize ST to reestablish the connection with ecobee.

Bye for now.


#20

Thanks yvesracine. Your thinking that it goes in waves and might go away entirely by itself is very helpful. I had already read through the other threads mentioned (I know I’m not the first one to bring this up!) and didn’t really see a clear path other than message ST. I did message ST already, and their automated response said they’re dealing with a “sizeable backlog of requests.” I guess I’ll wait a little bit longer and just stop using the ST platform altogether in a bit if it doesn’t resolve. I’m only getting started in the home automation game so I can easily switch to something else if I have to.

Thanks!
Jake