[RELEASE] Resilient - My Ecobee Device & ecosystem v5 - The smartest thermostat under ST with new "comfort tips" features and Unique Integration with Echo/Ask Alexa

askalexa
ecobee
thermostat
climatecontrol
dth_hvac

(Yves Racine) #1

Hi,

To whom it may concern,
This thread is about My Ecobee device, and it’s dedicated to the several hundred of ecobee users (more than 1500 contributors and counting) who have been using it for their day to day HA interaction through SmartThings for more than 3 years now. I ask for a contribution as it took me a lot of hard work to create this reliable DTH (no disconnects)

To download the code, go to www.ecomatiqhomes.com/store

New Releases

New version (v5.9.9s) with new replay logic to play “failed” commands due to ecobee or ST outages over a hour

New version (v5.9.9t) with improved replay logic to play “failed” commands due to ecobee or ST outages

New version (v5.9.9y) with Summary Voice Reports

The code has been designed to work with an ecosystem of smartapps acting as “micro services”. The design is NOT a big monolytic application which limits its evolutivity and maintenance.

The code unlocks all ecobee’s rich APIs features, and more (see below with the new tips features). It’s the best of both worlds: ecobee and SmartThings working together for more comfort and energy savings at your home!

Related “complimentary” smartapps at my github (see all use cases supported below):



All screenshots here:
http://thingsthataresmart.wiki/index.php?title=My_Ecobee_Device#Look_.26_Feel

I’ve developed more than 15k lines of code for the ecobee thermostats under ST. It’s the most comprehensive ecobee implementation. There is no other thermostat device that offers this kind of capabilities under SmartThings (compared to Nest, Honeywell Lyric or any other smart thermostats).

See all the use cases in the text below.

Benefits of My Ecobee device vs. ST ecobee stock device or other thermostats:

  • My ecobee Device is far better than any dumb z-wave or zigbee (and even a Nest or Honewell Lyric) thermostat when connected to ST as it does not need to be scheduled by ST. Contrary to other thermostats connected to ST, My Ecobee device and my smartapps can work in conjunction with SmartThings and ecobee as the code exposes the ecobee’s own scheduling for HA (something the ST stock device doesn’t do). For any other thermostats, ST needs to take over their scheduling when connected to the home automation platform and this is sometimes unreliable. You don’t want to wake up cold or too hot in the middle of the night because of some ST scheduling issues!

    For more details about the benefits of ecobee vs. other connected thermostats, refer to

http://thingsthataresmart.wiki/index.php?title=My_Ecobee_Device#Why_ecobee_vs._other_connected_thermostats.3F

  • No more SmartThings-ecobee disconnect issues: With my code & my support packages, you’ll no longer experience any ecobee disconnect issues (unless the ecobee or smartthings servers are down). The disconnect issues have been solved for quite a while now. Some of my contributors run the code with more than 5 ecobee thermostats and 8 remote sensors at one location without any issues fore more than a year.

  • Its unique design is based on a minimum number of state & atomicState variables. My Ecobee device and its Service Manager use less than 10 state & atomicState variables for more resilience versus some ST platform issues. For more details about loss of state variables and its impact, refer to the following thread:

  • The code works with all ecobee models: the new Ecobee4, Ecobee Lite, Ecobee3, Smart-SI, Smart-02, and even EMS thermostats.**

  • It now uses the latest async http requests to avoid timeouts as much as possible.

  • The code has been stable for more than a year now with minor updates from time to time.

  • All ST thermostat capabilities are exposed for easier integration with Rule Engines (SmartRules, Core or others)

  • My Ecobee device takes full advantage of the ecobee features, and does not create temporary holds for no reason. You can leverage my ecosystem of smartapps which was mostly built upon the following principle: ecobee is responsible for the scheduling (as it’s more reliable than ST) and SmartThings manages any exceptions to your regular schedules (ex. you’re away when you are usually at home, or back home when you’re usually away).


- New “features”:

The new upgrade (V5) brings the following features:

A- Simplified UI to allow better Android support.

There is a high number of UI issues with the ST UI for Android, especially since Android 2.1. There are some significant UI gaps between the 2 OS: Android and iOS.

B- The smartest Thermostat under SmartThings with “tips” feature.

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

With the v5.0, My ecobee device will be able to give you “energy savings and comfort tips” based on actual indoor/outdoor conditions at your home.


The following indoor/outdoor metrics will be processed by My Ecobee’s heuristic rule engine to provide “comfort and energy saving tips”:

  • current Indoor Humidity
  • current Indoor Temperature
  • current OutdoorTemperature
  • Ideal target Indoor Humidity calculated based on outdoor temp
  • average of Indoor Temperature over a given period of time (ex.weekly)
  • average outdoor temperature in the period
  • standard deviation of Indoor Temperature in the period
  • standard deviation of Outdoor Temperature in the period
  • count of Away commands sent to thermostat
  • count of Sleep commands sent to thermostat
  • count of Hold commands sent to thermostat
  • minimum temp at remote sensors temp collected over a period
  • maximum temp at remote sensors collected over a period
  • average temp at remote sensors collected over a period
  • daily Cooling Runtime globally and for each stage of your HVAC
    (if you have a multi-stage cooling system)
  • daily Heating Runtime globally and for each stage of your HVAC
    (if you have a multi-stage heating system)
  • yesterday’s Cooling Runtime globally and for each stage of your HVAC
  • yesterday’s Heating Runtime globally and for each stage of your HVAC
  • average Weekly Cooling Runtime globally and for each stage of your HVAC
  • average Weekly Heating Runtime globally and for each stage of your HVAC
  • average Monthly Cooling Runtime globally and for each stage of your HVAC
  • average Monthly Heating Runtime globally and for each stage of your HVAC
  • fan Runtime
  • hasDehumidifier (ecobee connected to a dehumidifier or not)
  • hasHumidifier
  • hasHrv or hasErv
  • specific ecobee parameters related to 2-3 stage cooling/heating systems.
    etc.

C- Unique integration with Ask Alexa (developed by Michael Struck), tstat commands can be sent and tips can be given by interacting with Alexa/Amazon echo.

See this thread for more details about Ask Alexa:

See the Ask Alexa documentation about the verbal commands available:

http://thingsthataresmart.wiki/index.php?title=Ask_Alexa#MyEcobee_.26_MyNext_Devices.27_comfort_.26_energy_saving_tips

Please contact me at services@maisonsecomatiq.com for any questions related to MyEcobee device and its integration with smart vents and any ST connected temp & motion sensors to create heating/cooling zoned solutions…


As a reminder, with my Ecobee device (which is feature complete) and smartapps, you can do the following:

1) Setting your thermostat to Away or Home based on ST hello modes

See the ecobeeChangeMode smartapp.

2) Resuming your program/climate when you’re back home

See the ecobeeResumeProg smartapp.

3) Setting your thermostat to vacation mode

See the ecobeeManageVacation smartapp.

4) Creating/updating your ecobee climates/schedules

See the ecobeeManageClimate smartapp.

5) Setting your ecobee climate/program at a given time

See the ecobeeSetClimate smartapp.

6) Monitoring and setting your indoor humidity level using your humidifer/dehumidifer/HRV/ERV (when connected to ecobee)

It also allows you to use the ecobee’s free cooling feature…

See the MonitorAndSetEcobeeHumidity smartapp and this thread for more details:

7) Monitoring and setting your setpoints based on any ST connected indoor temp/motion sensors (similar to ecobee3’s follow me feature) & outdoor temperature

See the MonitorAndSetEcobeeTemp smartapp., and this thread for more details:

8) Exposing your ecobee’s remote sensors to SmartThings for HA scenarios

See the ecobeeRemoteSensorInit smartapp.

9) Controlling your smart vents based on your indoor temp/motion sensors in conjunction with your thermostat’s programs & setpoints

See the ecobeeSetZoneWithSchedule smartapp

10) Controlling your minimum fan time per hour during a climate/schedule run

See the ecobeeSetFanMinOnTime smartapp

11) Generating some ecobee HVAC stats on a daily basis and sending them to groveStreams for data analytics

See the following smartapps: ecobeeGenerateStats & groveStreams smartapps

12) Turning off your thermostat(s) when Window or Door contacts are open and restoring your thermostat mode when they are closed

See the WindowOrDoorOpen! smartapp.

13) Trigger to turn on/off or flash some switch(es) and/or execute hello phrases (routines) based on MyEcobee’s thermostatOperatingState

See the ecobeeStateTriggerHA smartapp.

P.S. If you want to execute the switch or routine trigger in (quasi) real-time, you’d need to poll
MyEcobee device every minute or so using pollster or a smart rule engine like CoRE/WebCoRE.

14) And many more features, you may want to consult the wiki for more details

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

http://thingsthataresmart.wiki/index.php?title=Category:Unpublished_SmartApps

**- MyEcobee device’s code is fully functional and available now at my store. **

- All my smartapps (which only work with MyEcobee device and represent several hundred of hours of development work and testing) are either available for free (for your own usage only) at my github:

You can also find the smartapps under the SmartThingsPublic github repo. If you have the github integration, you just need to select the ecobee apps that you need when you “Update from Repo” (yracine is at the end of the “New - only from github” list).

GitHub Settings:

Owner: yracine
Name: SmartThingsPublic
Branch: master

or

for a modest contribution at my store.

www.ecomatiqhomes.com/#!store/tc3yr

  • Thnx to Jonathan H. and Brad S. during beta
  • Thnx to M.Struck for his Ask Alexa support and documentation during this process.

Regards.


Ecobee 3 Remote Sensors into ST
[RELEASE] My Ecobee Device V4 with thermostat multi-tile UI (pictures below)
Can I use SmartThings Motion Sensors w an Ecobee3?
Thermostats with good SmartThings integration
Which of the 3 thermostats - for free!
[RELEASE] Would you like to use any ST connected temp & motion sensors with Ecobee?
New Ecobee lite Thermostat - much cheaper-
Ecobee4 is avalable Now - The best Thermostat on the market according to CNET!
Ecobee3 Smartthings or echo
Ecobee3 Smartthings or echo
Change ecobee comfort setting with webcore?
Ecobee4 is avalable Now - The best Thermostat on the market according to CNET!
The new ecobee smart light switch with built-in Alexa voice control
Ecobee 4 on sale @ Amazon today (11-6-17)
Latest Tom's guide review: Ecobee4 vs. Nest Gen 3: which smart thermostat wins?
[RELEASE] Smart Vent Manager - smartapp commissioned by Keen Home
Ecobee4 is avalable Now - The best Thermostat on the market according to CNET!
Using Ecobee with SmartThings
Using Ecobee with SmartThings
Calendar event controlled thermostat
GroveStreams SmartThings QuickStart
[RELEASE] FLAIR DEVICES with new capabilities for building physical zones in your home and controlling your mini/window splits, portable heaters/coolers
Would you like to do targeted heating/cooling in your home using your own Virtual Zone devices?
Different Shards Confusing Need Help
New Ecobee lite Thermostat - much cheaper-
Ecobee3 integration with GE Z-Wave ceiling fan control
New Ecobee lite Thermostat - much cheaper-
Thermostats with good SmartThings integration
Frequent SSL Exceptions --> api.ecobee.com
My new Ecobee Device (disconnection issues are resolved)
Ecobee/SmartThings Integration issue
[RELEASE] Ask Alexa
Using Ecobee with SmartThings
Ecobee disconnecting from Smartthings
Frustrated w/ ST Ecobee integration
New to automation and ST: controlling Ecobee?
Ecobee3: Control Temp based on Humidity
Ecobee with Core refreshing Operating state
Ecobee3 again
Ecobee3 again
Best Smart Thermostat - smarter than Nest at 20% off
Is a thermostat really required? Is there an alternative?
Automations for thermostat not working
Google Home and Ecobee error
Using iRule to control SmartThings
Demo of EcobeeSwitch+, Ask Alexa, My ecobee, My Flair, My Automatic integrations
[DEPRECATED] Free Ecobee Suite, Version 1.2.*
[RELEASE] My Ecobee Device V4 with thermostat multi-tile UI (pictures below)
Should I just get a PEQ Thermostat?
Ecobee3 and Amazon Echo Question
Ecobee3 remote sensors or different setup for babies room?
Ecobee3 & Wemo Switch Automation?
[Depricated]Ask Alexa 2.1.3
Official Ecobee 3 Integration
Scheduled jobs failing (again) (again 😥) (Ongoing Known Issue)
Ecobee 3 Integration/SmartApp Questions
Help with ecobee sensor error message in logs auth token expired
Ecobee3 Sensor Question
Can I use Ecobee3 to control multiple disconnected zones
[RELEASE] Would you like to use any ST connected temp & motion sensors with Ecobee?
Ecobee 3 lite smart app help needed
Need Help To Accomplish (Schlage/Ecobee/Presence)
Any way to get ST to follow ecobee hold rules?
Ecobee and fan switch
[RELEASE] Initial Setup for Ecobee3 & 4, Smart-SI, EMS, Smart-02 thermostats - My Ecobee Device
Is anyone putting multisensors in every room, and gathering/using mean data from it all?
(Yves Racine) #2

Hi,

Today, I sent the new code (My ecobee device v5.0) to all my contributors.

  • The new ecobeeGetTips smartapp is now also available at my github.

  • Also, the stats smartapps that allow the daily/weekly/monthly stats generation required for trend analysis are available at the github.

        ecobeeGenerateStats
        ecobeeGenerateWeeklyStats
        ecobeeGenerateMonthlyStats
    
  • You can also find the smartapps under the SmartThingsPublic github repo. If you have the github integration, you just need to select the ecobee apps that you need when you “Update from Repo” (yracine is at the end of the “New - only from github” list).

GitHub Settings:

Owner: yracine
Name: SmartThingsPublic
Branch: master

  • For more details about the new ecobeeGetTips smartapp, please refer to the ST community wiki:

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

  • You can download the new My Ecobee device (v5.0) at my store:

Regards.


The new ecobee smart light switch with built-in Alexa voice control
(Don) #3

I’ve removed the old and input the new. Installed all the tips and Stats smart Apps.

I am missing something? not functionally just in wrapping my head around it. What are the stats used for and where / when are they presented to me? I’m sure it’s in there somewhere and possibly cause it’s late I am missing it.
Are they used with the Ask Alexa Smart App? or is that also something totally different and not connected to the stats only the tips?


(Yves Racine) #4

Hi,

Please refer to the ST community wiki about how to get tips from My Ecobee device

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

To answer your specific questions:

  • The daily/weekly/monthly stats are used to get more pertinent tips for your location
  • When applicable, the stats will be used to generate some tips based on some trend analysis, example: the outdoor temperature has been constant, but yet your daily runtime stats( A/C, Furnance, 1-2 staging components) have increased compared to the day before’s runtime stats or your weekly runtime stats or your monthly runtime stats.
  • If the outdoor temperature has not been constant in the period (based on some standard derivation formula), of course, the stats will not be relevant for generating tips at your location.
  • The tips can be generated through the ecobeeGetTips smartapp or by interacting with Ask Alexa with the “give tip” or “play tip” verbal commands.

N.B. You’d need to update your list of operators, params, and utterances to be able to use the new verbal “tips” commands in Ask Alexa. Please refer to the link below for more details on how to update Ask Alexa (v2.1.3a and higher is required):

There is also a specific section about My Ecobee “tips” commands available under the ST community wiki.

http://thingsthataresmart.wiki/index.php?title=Ask_Alexa#My_Ecobee_Tips

P.S. The main idea is to get relevant tips for your location at a given time based on indoor/outdoor metrics and observations. If you do not have tips at a specific moment, try again later when indoor/outdoor conditions have changed.

Regards.


(Micheal ) #5

I updated the docs for Ask Alexa as well to point to the wiki for the tips…


(Yves Racine) #6

Hi,

FYI, the runtime stats can be sent to groveStream for even more data analytics so that you can plot them against other factors at your home.

As an example:

https://grovestreams.com/singleDash.html?org=bb912646-8c3f-3f9c-9b47-0a1cdd03594f&itemUid=7b9238f5-56e4-3da0-9005-0f93e00904cc&api_key=f7aec117-da78-3a53-9843-4fbed81f0b3c&title=Home&titleColor=000000

The smartapps to be used are:

  • ecobeeGenerateStats
  • groveStreams

which are available at my github.

You can also find the smartapps under the SmartThingsPublic github repo. If you have the github integration, you just need to select the ecobee apps that you need when you “Update from Repo” (yracine is at the end of the “New - only from github” list).

GitHub Settings:

Owner: yracine
Name: SmartThingsPublic
Branch: master

P.S. All my smartapps work only with My Ecobee device, the most comprehensive ecobee implementation under SmartThings and available for a modest contribution at my store:

Regards.


(Yves Racine) #7

Hi,

Today, I made some changes to the following stats smartapps for My Ecobee device:

  • ecobeeGenerateStats (daily)
  • ecobeeGenerateWeeklyStats
  • ecobeeGenerateMonthlyStats

So, that ST users can choose if they want to be notified via Ask Alexa messages about their HVAC components’ runtime stats (A/C, Furnace, Fan, Dehumidifier/Humidifier/HRV/ERV/Ventilator if connected to ecobee).

  • To enable verbal notifications, ST users need to set the askAlexaFlag to true in the smartapps.

The new versions of the smartapps are located under:

You can also find the smartapps under the SmartThingsPublic github repo. If you have the github integration, you just need to select the ecobee apps that you need when you “Update from Repo” (yracine is at the end of the “New - only from github” list).

GitHub Settings:

Owner: yracine
Name: SmartThingsPublic
Branch: master

Regards


(Andy Rusch) #8

Yves is on top of it and maintains the software. It works very well and my ecobee’s auto adjust when I home/not home, and are fully adjustable via Smartthings! I have been using this for over a year now and have been very happy.


(Yves Racine) #9

Thnx @asrusch for the positive feedback…It’s very much appreciated.


(James) #10

Yves updates very often and his device has proven to be much more useful and robust than the default ecobee device. No comparison. Highly recommend.


(Yves Racine) #11

@jrhaze, thnx James for your feedback…


(Jacob E) #12

Yves constantly updates his smart app to make sure it functions at the highest level. Thanks for all your hard work. For Ecobee users this is a must have!


(Yves Racine) #13

@Live2drive15, thnx for the feedback, it’s appreciated!


(Roy Talledo) #14

I’ve been using this app for about 6 months. I had a few questions initially and Yves was so quick to respond and address my questions/concerns. GREAT support and I like the app.


(Yves Racine) #15

Thnx @RoyT!!


(Eric Johnson) #16

Kudos to Yves for developing a great application, easy to use interface and for his dedication to continue the enhancements and improvements to his application. The 5.0 release included a great UI and icon enhancements, improving the look and feel of the interface.
As stated by others in this thread, this is the must have app for your SmartThings / Ecobee integration.


(Yves Racine) #17

Thnx EricJ for your kind words…


(Shackrock) #18

Hi all. I have some quick questions for clarification:

GITHUB Integration
As I understand it, the steps to enable github integration are as follows?

  1. Go to My Smartapps in the API/IDE: https://graph.api.smartthings.com/ide/apps
  2. In “settings” at the top right, add yracine, SmartThingsPublic, master.
  3. Go to each SmartApp I have already downloaded, edit settings for it.
  4. Go to “Source Options”
  5. Select SmartThingsPublic and “Update.”

And at that point, all I have to do is go back to the MySmart Apps page and click “update from repo” ?

Generate Stats
I’m a little confused on how the generateXXXXstats apps work. I have them automating now. Where do these stats go when they are generated - I was kind of expecting them to land in the Ecobee Device “right now” tiles automatically, or to have a view there somewhere, but I don’t see them anywhere.

I also don’t see them show up in the “generate stats” smartApps that are running/automating currently, it just lets me edit settings there, but nowhere that I can see are the actual results available?

Thanks for the advice here, great apps as always, and much more stable than last year’s versions thanks to the SmartThings improvements since then.


(Yves Racine) #19

Hi,

  1. Yes, if you need more help on the github integration, just refer to
  1. Refer to my previous post about the stats generation smartapps:

To get tips, you need to use Ask Alexa or the ecobeeGetTips smartapp:

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

Regards.

EDIT: You can see the stats produced under

https://graph.api.smartthings.com/device/list

And, by clicking on My Ecobee device, the stats attributes are (for example):

auxHeat1RuntimeDaily: 0.0 - Furnace stage 1
compCool1RuntimeDaily: 321.5 - A/C stage 1
fanRuntimeDaily: 767.0
auxHeat1RuntimeYesterday: 0.0
compCool1RuntimeYesterday: 281.75
auxHeat1RuntimeAvgWeekly: 0.0
compCool1RuntimeAvgWeekly: 152.86
auxHeat1RuntimeAvgMonthly: 0.0
compCool1RuntimeAvgMonthly: 295.78

If you have a 2-3 stage furnace, then there will be additonnal auxHeat stats generated.
The runtime stats are in minutes.


(Shackrock) #20

ok, thanks… so I need to run the getTips app to use the stats in order to generate tips - that works on my end, thanks.

In regards to github, after I add your REPO as you specify, and set the github according to my process above, I see no color changes, so my guess is that it failed. Looking at the link FAQ there it doesn’t shed much more light on it.

Thanks again.