NestChangeMode

The Unofficial SmartThings Blog
Jump to: navigation, search


Nest (T3007ES) Learning Thermostat, Easy Temperature Control for Every Room in Your House, Stainless Steel (Third Generation), Works with Alexa

Nest (T3007ES) Learning Thermostat, Easy Temperature Control for Every Room in Your House, Stainless Steel (Third Generation), Works with 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 MyNext devices and related smartapps, please support the developer by clicking on the paypal link below:

https://paypal.me/ecomatiqhomes



Summary

NestChangeMode, the smartapp that sets your Nest thermostat(s) to 'Away', 'Home' based on your ST location (hello) mode.

Supported Features

  • Nest Home and Away mode can be set according to the ST hello mode. The smartapp will then set the right setpoints at the thermostat
  • All ST hello modes (or routines) are supported, even your custom ones!
  • Notifications can be sent to the ST user account (optional)


Code location: https://github.com/yracine/device-type-myNext/blob/master/smartapps


Instructions for MyNextTstat installation (readme): https://github.com/yracine/device-type-myNext/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 Nest 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 MyNextTstat Device, see troubleshooting section under:

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


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

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 Nest mode is not changing

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

The NestChangeMode smartapp changes your Nest Mode (Away, Home) 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 Nest Mode change, so there is no match for changing the Mode.