# Nest Thermostat

**URL:** <https://community.smartthings.com/t/nest-thermostat/46>\
**Category:** Connected Things\
**Tags:** thermostat, communitydevices\
**Created:** [April 16, 2014, 8:19pm UTC](https://community.smartthings.com/t/nest-thermostat/46 "2014-04-16T20:19:49Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dianoga](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/dianoga/32/337_2.png) [@Dianoga](https://community.smartthings.com/u/Dianoga)\
**Post date:** [April 16, 2014, 8:19pm UTC](https://community.smartthings.com/t/nest-thermostat/46/1 "2014-04-16T20:19:49Z")

</div>

Nest Device Type

Github: [https://github.com/smartthings-users/device-type.nest](https://github.com/smartthings-users/device-type.nest)

Actual Device Type

> <https://github.com/smartthings-users/device-type.nest/blob/master/nest.devicetype.groovy>

---

<div class="post-metadata">

**Author:** ![Ben](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/ben/32/59111_2.png) [@Ben](https://community.smartthings.com/u/Ben)\
**Post date:** [April 16, 2014, 8:30pm UTC](https://community.smartthings.com/t/nest-thermostat/46/3 "2014-04-16T20:30:08Z")

</div>

There - pulled in the code.

---

<div class="post-metadata">

**Author:** ![Dianoga](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/dianoga/32/337_2.png) [@Dianoga](https://community.smartthings.com/u/Dianoga)\
**Post date:** [April 16, 2014, 8:34pm UTC](https://community.smartthings.com/t/nest-thermostat/46/4 "2014-04-16T20:34:44Z")

</div>

It won’t let me post. Says it’s more that 2 links and I’m a new user.

---

<div class="post-metadata">

**Author:** ![Abdalah\_Mrayati](https://avatars.discourse-cdn.com/v4/letter/a/e56c9b/32.png) [@Abdalah\_Mrayati](https://community.smartthings.com/u/Abdalah_Mrayati)\
**Post date:** [May 26, 2014, 12:02am UTC](https://community.smartthings.com/t/nest-thermostat/46/5 "2014-05-26T00:02:44Z")

</div>

is there a way to allow the smarttthings hub to communicate with the presence device and the nest thermostat to automatically change to away when you leave your home?

---

<div class="post-metadata">

**Author:** ![Dianoga](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/dianoga/32/337_2.png) [@Dianoga](https://community.smartthings.com/u/Dianoga)\
**Post date:** [May 26, 2014, 9:52pm UTC](https://community.smartthings.com/t/nest-thermostat/46/6 "2014-05-26T21:52:07Z")

</div>

Not sure if it can be done without a custom SmartApp. Which I built for that very reason.

> <https://github.com/smartthings-users/smartapp.hvac-auto-off/blob/master/hvac-auto-off.smartapp.groovy>

---

<div class="post-metadata">

**Author:** ![Abdalah\_Mrayati](https://avatars.discourse-cdn.com/v4/letter/a/e56c9b/32.png) [@Abdalah\_Mrayati](https://community.smartthings.com/u/Abdalah_Mrayati)\
**Post date:** [May 26, 2014, 11:16pm UTC](https://community.smartthings.com/t/nest-thermostat/46/7 "2014-05-26T23:16:57Z")

</div>

how can i add this smart app to my hub?

---

<div class="post-metadata">

**Author:** ![Dianoga](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/dianoga/32/337_2.png) [@Dianoga](https://community.smartthings.com/u/Dianoga)\
**Post date:** [May 27, 2014, 12:59pm UTC](https://community.smartthings.com/t/nest-thermostat/46/8 "2014-05-27T12:59:38Z")

</div>

Same way you added the custom device type, but as a new SmartApp instead.

---

<div class="post-metadata">

**Author:** ![Abdalah\_Mrayati](https://avatars.discourse-cdn.com/v4/letter/a/e56c9b/32.png) [@Abdalah\_Mrayati](https://community.smartthings.com/u/Abdalah_Mrayati)\
**Post date:** [May 27, 2014, 6:02pm UTC](https://community.smartthings.com/t/nest-thermostat/46/9 "2014-05-27T18:02:28Z")

</div>

do u add it under the smart apps tab or the my device types tab?

---

<div class="post-metadata">

**Author:** ![jthurston422](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jthurston422/32/6451_2.png) [@jthurston422](https://community.smartthings.com/u/jthurston422)\
**Post date:** [May 29, 2014, 3:32pm UTC](https://community.smartthings.com/t/nest-thermostat/46/10 "2014-05-29T15:32:55Z")

</div>

I was messing with my SmartThings the other day and wound up removing and re-adding the Nest Device Type, using the code above. And now on my Things screen, in the iOS app, I see a little exclamation point in a blue triangle. And anytime I touch on that to see what it does, it just crashed my app. Also, when I click on the Preferences button in the Nest device, it crashes the app.

Any idea why those things are happening? Is anyone else having issues?

---

<div class="post-metadata">

**Author:** ![csader](https://avatars.discourse-cdn.com/v4/letter/c/a698b9/32.png) [@csader](https://community.smartthings.com/u/csader)\
**Post date:** [May 29, 2014, 7:51pm UTC](https://community.smartthings.com/t/nest-thermostat/46/11 "2014-05-29T19:51:40Z")

</div>

@Dianoga, is there any way to get the main Nest tile to show the current thermostat setpoint, rather than the currently registered temp?

---

<div class="post-metadata">

**Author:** ![Dianoga](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/dianoga/32/337_2.png) [@Dianoga](https://community.smartthings.com/u/Dianoga)\
**Post date:** [May 29, 2014, 8:18pm UTC](https://community.smartthings.com/t/nest-thermostat/46/12 "2014-05-29T20:18:41Z")

</div>

Yes. You can change the device type (change tiles-\>main to the tile you want).

---

<div class="post-metadata">

**Author:** ![jthurston422](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jthurston422/32/6451_2.png) [@jthurston422](https://community.smartthings.com/u/jthurston422)\
**Post date:** [May 29, 2014, 8:36pm UTC](https://community.smartthings.com/t/nest-thermostat/46/13 "2014-05-29T20:36:39Z")

</div>

@Dianoga Any response to my post above? I meant to tag you in that. Thanks in advance!

---

<div class="post-metadata">

**Author:** ![csader](https://avatars.discourse-cdn.com/v4/letter/c/a698b9/32.png) [@csader](https://community.smartthings.com/u/csader)\
**Post date:** [May 29, 2014, 8:58pm UTC](https://community.smartthings.com/t/nest-thermostat/46/14 "2014-05-29T20:58:46Z")

</div>

Hmmm…setting “Main” to “coolingSetpoint” didn’t seem to work. Here’s what my Nests show now (the blank tiles):

 ![](https://global.discourse-cdn.com/smartthings/original/2X/5/5a9557a7fd379341837f1c0d65cf14c381a6a8d0.png)

---

<div class="post-metadata">

**Author:** ![Dianoga](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/dianoga/32/337_2.png) [@Dianoga](https://community.smartthings.com/u/Dianoga)\
**Post date:** [May 30, 2014, 12:16pm UTC](https://community.smartthings.com/t/nest-thermostat/46/15 "2014-05-30T12:16:32Z")

</div>

@jthurston422 Unfortunately I have no idea what’s causing that as I’ve never seen or heard of anything like it.

I’m hoping to be able to make a new and improved Nest integration available, but I don’t have any kind of timeline on that.

---

<div class="post-metadata">

**Author:** ![jthurston422](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jthurston422/32/6451_2.png) [@jthurston422](https://community.smartthings.com/u/jthurston422)\
**Post date:** [May 30, 2014, 12:38pm UTC](https://community.smartthings.com/t/nest-thermostat/46/16 "2014-05-30T12:38:25Z")

</div>

@Dianoga Very strange, I changed the main tile to display the presence, just as a test. Then I closed and reopened the app, clicked on the exclamation point, it asked for me to name the device, then it went away. I changed the main back to temperature and now its working perfectly. Thanks for that device type by the way, its awesome!

---

<div class="post-metadata">

**Author:** ![jpack](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jpack/32/82961_2.png) [@jpack](https://community.smartthings.com/u/jpack)\
**Post date:** [August 1, 2014, 12:06pm UTC](https://community.smartthings.com/t/nest-thermostat/46/17 "2014-08-01T12:06:36Z")

</div>

@Dianoga I’m having issues with mode changes since the last update to the code. The mode changes no longer seem to update the temperature setting on my Nest. I used to have it so that the temperature setting would change based on the presence of mine and my wife’s phone. Smartthings still changes modes and says it changes the temperature, but when I check the Nest, no changes were made and it stays at the same setting.

Is anyone else seeing this same issue?

---

<div class="post-metadata">

**Author:** ![Bradley\_Ward](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/bradley_ward/32/12247_2.png) [@Bradley\_Ward](https://community.smartthings.com/u/Bradley_Ward)\
**Post date:** [August 1, 2014, 1:02pm UTC](https://community.smartthings.com/t/nest-thermostat/46/18 "2014-08-01T13:02:53Z")

</div>

I’ve been trying to get this to work, but get stuck on step 3. I don’t see where I’m supposed to update the device preferences. Is it in the code? My iOS app? please clarify.

---

<div class="post-metadata">

**Author:** ![Dianoga](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/dianoga/32/337_2.png) [@Dianoga](https://community.smartthings.com/u/Dianoga)\
**Post date:** [August 8, 2014, 4:32pm UTC](https://community.smartthings.com/t/nest-thermostat/46/19 "2014-08-08T16:32:56Z")

</div>

> [@Bradley\_Ward](#):
>
> I’ve been trying to get this to work, but get stuck on step 3. I don’t see where I’m supposed to update the device preferences. Is it in the code? My iOS app? please clarify.

Device preferences are set in the ide ([https://ide.smartthings.com](https://ide.smartthings.com)) on the Device page.

@jpack Is there anything in the logs (in the IDE)? This version doesn’t have any error checking built in, so it will claim changes happened even when they fail.

I’m hoping a proper integration will be officially available in the near future.

---

<div class="post-metadata">

**Author:** ![jpack](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jpack/32/82961_2.png) [@jpack](https://community.smartthings.com/u/jpack)\
**Post date:** [August 8, 2014, 4:56pm UTC](https://community.smartthings.com/t/nest-thermostat/46/20 "2014-08-08T16:56:51Z")

</div>

@Dianoga I checked the log and it looks like for whatever reason it is ignoring the setpoint that I set in the mode change. It is always using 73°F (22.7777778 C) as the setpoint when it changes modes. I assumed it wasn’t sending the setpoint change because 73 is my normal setpoint. If I go in to the Nest app and set it to something else (say 74°F) when it changes modes it will change it to 73°F. Unfortunately, since it is ignoring the setpoint I enter in the mode for Home and Away modes… it means that whenever it changes modes, it just sends a setpoing of 73 and ignores those values.

I hope that makes sense.

---

<div class="post-metadata">

**Author:** ![jpack](https://yyz2.discourse-cdn.com/smartthings/user_avatar/community.smartthings.com/jpack/32/82961_2.png) [@jpack](https://community.smartthings.com/u/jpack)\
**Post date:** [August 8, 2014, 5:00pm UTC](https://community.smartthings.com/t/nest-thermostat/46/21 "2014-08-08T17:00:26Z")

</div>

Maybe I should clarify too since I think I am misusing the “mode change” term. These are setup as Actions in “Hello Home”. I have an action for “We’re Away”, “Someone’s Home”, etc. The action is set based on presence. When it notices both phones are gone, it performs the action “We’re Away” which should change the setpoint on my Nest.

[Next page](https://community.smartthings.com/t/nest-thermostat/46.md?page=2)
