EcobeeChangeMode

The Unofficial SmartThings Blog
Jump to: navigation, search
This smartapp is Ecobee approved badge YVESR.png
ecobee3 Thermostat with Sensor, Wi-Fi, 2nd Generation, Works with Amazon Alexa

ecobee3 Thermostat with Sensor, Wi-Fi, 2nd Generation, Works with Amazon Alexa

Category: My Apps

Author:Yves Racine

ST Community handle: http://community.smartthings.com/users/yvesracine/activity

Company Link: http://www.ecomatiqhomes.com#!home/mainPage



If you like My Ecobee Device and related smartapps, please support the developer by clicking on the paypal link below:

https://paypal.me/ecomatiqhomes



Summary

ecobeeChangeMode, the smartapp that sets your thermostat(s) to a given ecobee program/climate (ex. 'Away', 'Home', 'Sleep', any custom ones) based on your ST hello mode (routines).

Supported Features

  • Any ecobee program/climate can be set (ex. 'Away', 'Home', 'Night', any custom ones), the same ones that you define at the ecobee portal. The smartapp will then set the right setpoints by applying a 'hold' at the thermostat (that you can cancel later by calling the 'ecobeeResumeProg' smartapp).
  • All ST hello modes (or routines) are supported, even your custom ones!
  • Notifications can be sent to the ST user account (optional)


Code location: http://github.com/yracine/device-type.myecobee/tree/master/smartapps


Instructions for My Ecobee Device installation (readme): http://github.com/yracine/device-type.myecobee/blob/master/README.md

Configuration

1. Typical use case: I want to set my thermostat to 'Away' and 'Home' based on the ST hello modes (routines)

  • You have to define two instances of the same smartapp: one for the 'home' ST Hello mode that will set your ecobee thermostat to 'Home' when you're back from work for example, and another one for 'Away' for the 'Away' ST hello mode when you leave your home.
  • You'd need to rename the smartapp on the last page for each of your supported modes
  • You can also use the same smartapp for your custom ST hello modes (routines) & custom ecobee climates if any.

Troubleshooting

If your questions are more related to MyEcobee Device, see troubleshooting section under:

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


.................................................................................................................................

Issue #1: I don't know how to create a custom smartapp

.................................................................................................................................

See the explanations of a fellow community member here:

http://community.smartthings.com/t/faq-an-overview-of-using-custom-code-in-smartthings/16772

.................................................................................................................................

You can also use the github integration and update your repo:


GitHub Settings:

Owner: yracine

Name: SmartThingsPublic

Branch: master

You then need to save & publish each "edited" smartapp.

Issue #2: I created the smartapp in the IDE, but I don't know where to execute it

.................................................................................................................................

For the initial setup, under the ST app, click on the Marketspace item in the bottom menu, and then, on the smartapps link and finally, MyApps (last item in the list).

If you still do not see your smartapp, please make sure that you have published it in the IDE!

For any subsequent execution, under the ST mobile app, click on automations>smartapps in the bottom menu. The list of installed smartapps will then appear.

.................................................................................................................................

Issue #3: The smartapp has run but the ecobee program is not changing

.................................................................................................................................

The ecobeeChangeMode smartapp changes your ecobee program when some conditions specified in your smartapp are met.

You would need to define the right condition for your use case.

As an example, iF you have the following message in the IDE (https://graph.api.smartthings.com/ide/logs):

changeMode>location.mode= Home, newMode=Away,foundMode=false, not changing program

The message above indicates that your current ST hello mode is not the right condition for the ecobee program change, so there is no match for changing the program.