Nest - connecting to ST

just had a new boiler fitted with a Nest thermostat…

so how does this work with ST? doesn’t detect it via ‘connect new device’

also, why bother. are there clever things I can do with the devices once they are integrated?

thanks in advance!
1 Like

Nest integration with ST adds a lot of value.

  1. The humidity, temp, and presence sensors in the Nest can be used as triggers for other actions within ST.
  2. Modes and other sensors in your ST network can be used to turn on heating/cooling.
  3. With the addition of IFTTT, your options are further expanded.
  4. Many Nests are improperly calibrated for temp display, and despite customer requests, no fix or workaround has been provided. Using the custom device handler that is available, you can program in a +/- offset.
  5. Probably other things I’ve forgotten about…
1 Like

thanks mr-lucky

so, if I understand correctly from the previous post, I need to create a new device handler such as this

is this ok for the UK? apparently this is against Nest T&C’s, presumably nothing to be concerned about

I’m not in the UK, but it should be fine - it has setting for Fahrenheit/Celsius. I use a modified version of that device handler myself. Here’s what it looks like:

Since I posted that, I reversed the position of the presence and thermostatMode buttons, and fixed rendering of the thermostatOperatingState in iOS so that it looks more like the Android picture.

I’ve got as far as this

Update device preferences

Click on the new device to see the details.
Click the edit button next to Preferences
Fill in your information.
To find your serial number, login to Click on the thermostat you want to control. Under settings, go to Technical Info. Your serial number is the second item.

there is no ‘edit button next to preferences’

if I select the Nest device and select the edit button next to ‘delete’ there is nowhere to add my details and serial number

I never tried getting my S/N from the website,though I understand it’s possible. However, the instructions for going to SETTINGS > TECHNICAL INFO are referring to the actual thermostat. In other words, rotate the Nest housing until you get to SETTINGS, push to select it, and so on. Once you have that info, enter it by selecting the Nest device in the SmartThings mobile app (under ‘Things’) and and tapping the 3-dot menu in the upper-right for Edit Device. That’s how it’s done on Android anyway. It should be the same or similar for iOS.

ahh OK.

the nest appears in my things list as a question mark. if i select this and tap the three dots I am able to select edit device but this only lets me change the device name

ps. I’m android

Hmm, that doesn’t sound right. I wonder if the code you pasted in when creating the device handler was truncated or somehow corrupted? But if that were the case, it seems like the compiler would complain and not let you save/publish.

Anyway, if you haven’t already done so, try copying the Github device code using the Raw button. If you copy from the scrolling window it can do strange things. Here’s what it should look like:

I didn’t paste any code. the method was to create a device type using a form

The instructions are a little ambiguous. You don’t need to do the form create - just create the device using the ‘from code’ tab, paste the code in and the appropriate parameters are all created for you. To avoid any confusion with duplicates I would delete anything you have already created.


Hi Kevin

I’d spotted the ‘from code’ tab, but where do i get the code from?

It’s a copy paste from the GitHub repository - click on the nest.devicetype.groovy filename entry copy and paste all that code. Save and then make sure you publish ‘for me’.

1 Like

I just went back and re-read those instructions. They’re not wrong, but I can see how one might go astray. Try this… since you already have a device type (AKA, device handler), click it so you can see the code window. Now in another window, goto the link you just provided and do the following:

  • Click the nest.devicetype.groovy text link (above the instructions).
  • Click the Raw button. Now copy (Ctrl-A > Ctrl-C if using Windows) the contents of the page.
  • Go back to your first window (the one with your existing device type). Just to be on the safe side, delete everything that’s currently there (Ctrl-A > Delete), then paste in the content that you copied from the other window (Ctrl-V).
  • Go back to the other window (the one with the Raw code), and back out two screens.
  • Follow step 3 of the instructions if it applies.
  • Click Save (wait till the button changes color), then Publish (For Me).

Depending on how far you got on your earlier attempt, you’re either done or can resume at step 4 of the instructions. HTH!

1 Like

thanks to Kevin and Bob

it was very easy in the end. I deleted everything and started again

pasted the code in, published (for me) then recreated the device

now I can play with triggers, calibrate the stupid temp offset etc