Updated Nest Device Type
I am a new convert to SmartThings, and I needed a simple project to get familiar with writing custom smartapps and device types. I found a few things that I wanted to change for Nest support, so it seemed like a good way to learn. I forked @Dianoga Nest device type (https://github.com/smartthings-users/device-type.nest) and started tinkering. Well, I got a little carried away, but I now have an updated Nest device type that has quite a long list of new features. For anyone that’s interested, my fork is available at https://github.com/notoriousbdg/device-type.nest.
- Renamed range to auto so the Nest Device Type works with existing SmartApps for thermostats.
- Added heating set point slider as needed by auto mode (aka range mode).
- Changed many icons to make them easier to read.
- I made the away mode function as a presence sensor. Any device that supports presence can be used to see home/away mode. This can be useful to trigger smartapps when the Nest goes into or out of auto away mode.
- Added support for thermostatOperatingState property. I only have cooling, heating, fan only, and idle setup due to the limited options available for the thermostatOperatingState property.
- Added new tile to show the thermostatOperatingState property.
- Switching between Fahrenheit and Celsius is now exposed via a tile. Switching from Fahrenheit to Celsius and back is performed by pressing on the new temperature units tile.
- I made the temperature tile change colors for both Celsius and Fahrenheit. Due to the way I implemented it, the colors won’t work correctly below 40 degrees in Fahrenheit mode, but that seems unlikely to occur inside a home.
- There is a option to manually switch from using sliders to buttons. All that is required is to comment out the slider only section, uncomment the button only section, and re-publish.
- Added ability to change the the main tile between temperature, operating state, and humidity.
The first screenshot shows my Nest as Fahrenheit, away, and idle. The second screenshot shows my Nest as Celsius, present, and cooling. The last screenshot is the activity feed showing off some of the new features.
P.S. Let’s hope official Nest supports comes soon…