How do I add Nest Thermostat into ST?

Glad you got it working. I also greatly appreciate the hard work Dianoga and others have done. The apps they have created are what have kept me using SmartThings. They should get a royalty from the company!

I’m not offended by things people do. I will merge any pull requests I receive. I’m not actually using this version anymore, so any work other people do to keep it working is much appreciated.

Great, glad I didn’t offend. Is there an updated version?

I’m using what will someday be the official integration. Unfortunately, it isn’t generally available yet. I’m hoping it will be in the near future.

Just wondering if there’s any update? Hearing there may be an official integration is great!

Getting Error Message:

Cannot get property ā€˜uri’ on null object @ line 525. Any ideas?

Hello,

I still can’t get this work, I followed Luisv’s instructions, input my username/password and serial and my nest icon under things has no info showing up eg: temp etc

Any ideas as to what i need to check?

Thanks

No matter which source code I use, I only get the one preference - name. I can’t get the serial or anything else to appear. Please help!

In hopes that this helps someone… i got it working… by doing nothing. I went to bed that night with the nest not working, when i woke up the next morning, i was able to control my nest. I cant explain it… i shut down and closed the ST app many times before calling it a night.

My advice is to wait… maybe smartthings could sometimes take awhile to refresh in the back end???

My only question is with regards to the slider vs the buttons… what does comment/uncomment mean? I have the slider now but like to use the buttons instead.

Thanks

Hello,
I am new to the ST community. I am attempting to make the provided code work. I think I have followed all the instructions; however, when I open preferences, there are no options to add any other info than the name. What could I be doing wrong?

thanks for your help.

Thanks for the detailed instructions. Took me awhile to figure it out since I’m not tech savy either. Although I do like the Nest app, it is nice to have everything in the Smartthings app.

When I try and add the code I get an eorror ā€œJava.lang.IllegalArgumentException: Metadata definition not foundā€ at the top of the page when I click on ā€œcreateā€

Same thing here. I have tried everything imaginable. :confused:

Same here. Very frustrating. All I get is the option to name the thermostat. Can someone assist us?

OK, I figured this thing out for those of you who can’t get the option to input your Nest account login info. The instructions found are different in a few places, and often incomplete. But if you follow the instructions inside the code on this page it should work --> https://github.com/smartthings-users/device-type.nest/blob/master/nest.devicetype.groovy

For the first time (I’ve done this over abut 5 times) I actually had to choose capabilities and create custom attributes and commands (lines 12-30). I had not done that previously in other instructions.

But most importantly: MAKE SURE you follow line 37 ( * Type: Nest (should be the last option) very carefully. DO NOT choose ā€œNest Thermostatā€ that is mid way through the list and in the N’s alphabetically. You have to scroll to the bottom to find ā€œNestā€ that you created. I am fairly sure this is where everyone who can’t get the login option is going wrong.

1 Like

Thanks, this helped. I can see and control my Nest as a thing, but the information never refreshes unless I manually tell it to do so. Is there a way to automatically refresh (temp, humidity, heating/cooling status, etc.)?

Are you using iOS? Do you have Background App Refresh turned on?

There are two places I’ve found that have background update settings. (I’m using iOS 8.2)

  1. Settings - don’t click on anything else but scroll way down to SmartThings. Location / Background App Refresh / Use Cellular Data should all probably be on.

  2. Settings / General / Background App Refresh - toggle on SmartThings

Thank you for the pointers, but I am using Android.

Thank you so much! This is what I couldn’t figure out also. Once I made this exact change, everything showed up like it should.

I got through the instructions no problems but I seem to have quite a few issues. If I adjust the temperature on the thermostat itself or through the nest app it never gets updated on smarthings unless I go to the thermostat and click the refresh button. Even when I do that however it doesn’t fire the operating state event when the operating state changes nor does it fire the coolingsetpointchanged event no matter where I change the temperature.