Please Note: Getting the Nest Thermostat to work with Samsung SmartThings is against Nest ToS the statement from Samsung
“SmartThings doesn’t officially support Nest at this time, though we are continuing to work on integration. This integration violates Nest’s Terms of Service, so proceed at your own risk. SmartThings doesn’t officially endorse or maintain this or any other Community-created integration. We know that many SmartThings users are eager for Nest support, and we are too. So please stay tuned.”
The popular device handler code for the Nest thermostat has extra US features that the UK Nest doesn’t have after a few weeks of using said code and trying to modify it myself and failing, today I finally found code that someone has take the US stuff out completely.
The reasons why so many people break the Nest ToS is you have more options on how to control the Nest
- Set the Nest Home & Away modes the same time as SmartThings this means Nests own Auto-Way feature becomes useless (And might as-well be disabled) but your be saving more money as the Nest will be set to the right mode quicker.
- Use extra temperature sensors to help Nest get to the right temperature in the right rooms different times of the day for example use the Nest temperature sensor during the day but at night use the sensor in the bedroom. In the future I would love to add Z-Wave TRV valves on all the radiators in the house so SmartThings and Nest will be able to work together to get every room the right temperature. These TRV valves ranges from £30 to 70 pounds each but you don’t need to drain your system to install as long as your current TRV uses the right valves you pop off your current TRV and install the Z-Wave one. Currently there doesn’t appear to be any device handler code for the TRV’s available in the UK so its I either wait till someone does or I buy one and try myself.
- Can be accessed and changed in SmartTiles.click (More about SmartTiles Soon).
- Use SmartApps Example door or window left open for X minutes turn of heating till closed.
Right lets start – Adding UK Nest handler code to SmartThings
- Go to the Device Handlers Pages on IDE Click Here
- Click Create New Device Handler > From Code > Paste This Code
- Publish > For Me
- Go to the My Devices Page on IDE Click Here
- Click New Device
- Name: Your Choice
- Device Network Id: Your Choice
- Type: Nest (should be the last option)
- Location: Choose the correct location
- Hub/Group: Leave blank
- 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 http://home.nest.com. Click on the thermostat you want to control. Under settings, go to Technical Info. Your serial number is the second item.
Right the problem with SmartThings is it doesn’t Poll/Refresh regularly can be hours between updates. To solve this we use a app called Pollster
- Install Pollster SmartApp by creating a new SmartApp in the SmartThings IDE and pasting the source code in the “From Code” tab. After Press Publish > For Me
- Open SmartThings mobile app and locate “Pollster” SmartApp in the “My Apps” section of the Marketplace.
- Select the Nest Thermostat, Set the Polling interval to 5 (It is not recommended by the developer of Pollster to set it below 5 minutes)
- Done, Now every 5 minutes SmartThings will have the latest Nest information
Optional – Mode Changer (SmartThings & Nest Mode Sync)
- Install Change Nest Mode SmartApp by creating a new SmartApp in the SmartThings IDE and pasting the source code in the “From Code” tab. After Press Publish > For Me
- Open SmartThings mobile app and locate “Change Nest Mode” SmartApp in the “My Apps” section of the Marketplace.
- Need to create two instances of the App, Follow the two screenshots and everything will work great