_ For all Nest users regardless if you have a Nest or Google account, my code can expose all your Nest Tstats, Protects, and Sensors under your Nest primary account (except the ones from a partner program such as with an utility).
_ If you have lost your auth tokens from Nest and/or migrated to a Google Account, and your ST-Nest integration is not working, then the new versions of MyNextManager (V2) MyNextTstatV2, MyNextAlarmV2 and MyNextSensorV2 may be for you.
_ MyNextManagerV2 leverages the standard ST UI (for faster rendering on both Android & iOS) & all ST standard capabilities plus new features from the Nest APIs for better synergy between the 2 ecosystems (ex. comfort & energy saving tips with the NestGetTips smartapp and voice commands).
The Next devices need to be created using the SmartThings classic mobile app, but you can switch back to the new Samsung Connect app after as both ST Classic and STSC can run in parallel without issues.
_MyNextManagerV2 (service manager for My Next devices) now uses the Nest Web APis (not the “official” APIs as they have ended since August 31, 2019). The Web APIs don’t have the strict rate limiting as the old APIs and they are as reponsive as the native Nest application.
_ MyNextTstatV2 now natively supports the following commands:
setHotWaterBoost: in the device UI and as a command for WebCore users. This is useful for Nest users in Europe.
setTargetHumidity: to set a target humidity level.
For the full list of attributes, capabilities & commands supported,refer to the ST community wiki:
_And, MyNextAlarmV2 (for the Nest Protect) now with motion capability!
_MyNextManagerV2 (service manager for My Next devices) also fully supports the Nest sensor (as a temperature sensor) in ST.
The code has been designed to work with an ecosystem of smartapps acting as “micro services”. The design is NOT a big monolytic application which limits its evolutivity and maintenance.
A contribution fee is required due to the amount of work for the design, development, and testing of the devices (equivalent of a few cups of coffee).
To download the SmartThings code, go to www.ecomatiqhomes.com/store
With your contribution, some complimentary smartapps are also available at my github for the most common use cases:
Here are some common use cases covered by the complimentary smartapps:
1) Setting your thermostat to Eco or Home based on ST hello modes
See the NestChangeMode smartapp.
2) Controlling your smart vents based on your indoor temp/motion sensors in conjunction with your thermostat’s programs & setpoints
Or See the more advanced (paid ) ScheduleTstatZones and ScheduleRoomTempControl smartapp
3) Turning off or setting your thermostat(s) to Away/eco when Window or Door contacts are open and restoring your thermostat mode when they are closed
See the WindowOrDoorOpen! smartapp.
4) Trigger to turn on/off or flash some switch(es) and/or execute hello phrases (routines) based on the thermostatOperatingState
See the TstatStateTriggerHA smartapp.
5) Sending your Tstat’s state changes to groveStreams for data analytics
See the groveStreams smartapp
6) Monitoring and setting your indoor humidity level using your humidifer/dehumidifer (when connected to Nest) and some humidifier/dehumidifier switch(es)
See the MonitorAndSetNestHumidity smartapp.
MyNextManager v2.6.2, MyNextTstat v2.3.8, MyNextAlarm v2.4.2, MyNextSensorV2.1.6
Service manager optimization to avoid state variable’s size limitation, new ocfDeviceType for better display in new Samsung connect app
The code has been optimized to allow you to poll your Nest devices with high refresh rates (every minute if needed) for your HA scenarios in order to avoid missing any important event!
List of events (with a refresh rate of 1 minute):
My Next devices (MyNextTstat, MyNextAlarm) allow you to expose your Nest Learning Thermostat™ , Nest Protect™, and Nest Sensor™ to ST with the following features:
- High performance throughput which enables the Next devices to be polled with different intervals down to the minute (also depending on your use cases and the number of devices).
I’ve tested the code at several user locations with up to 7 devices in order to achieve the best performances using advanced caching mechanism and distributed computing techniques.
- Their unique design is based on a minimum number of state & atomicState variables for more resilience. See the effect of state variables here:
- Just like for MyEcobee device, the code can “replay” failed commands up to 10 times over a period of an hour in case of SmartThings/Nest (temporary) outages.
To download the SmartThings code, go to www.ecomatiqhomes.com/store
I’ve developed more than 10k lines of code for integrating the Nest devices into ST.
The code exposes all the relevant Nest API capabilities (including your home structure in order to set your devices to home or away ):
- MyNextTstat: based on the work I’ve done with MyEcobee device, I’ve created this new device for the Nest thermostat. You’ll find the same level of resilience with some comfort & energy saving tips for the Nest…
- MyNextAlarm: exposes your Nest Protect’s attributes for Home Automation and integration with SHM
- MyNextSensor: exposes the temperatureMeasurement capability.
All screenshots here:
_Service Manager (with Ask Alexa Integration for verbal notifications of Daily/Weekly Summary Reports)
- All My Next Devices’ capabilities & attributes are exposed for easier integration with Rule Engines (SmartRules, Core or others)
- The code unlocks all Nest’s APIs features.
- The code has been designed to work with my ecosystem of Zoned Heating/Cooling smartapps.
- My NextTstat is also able to give you “energy savings and comfort tips” based on actual indoor/outdoor conditions at your home.
You can also use the AskAlexa Integration as indicated here for verbal “play/repeat tips” commands:
The following indoor/outdoor metrics will be processed by My NextTstat’s heuristic rule engine to provide “comfort and energy saving tips”:
- current Indoor Humidity
- current Indoor Temperature
- current OutdoorTemperature
- Ideal target Indoor Humidity calculated based on outdoor temp
- average of Indoor Temperature over a given period of time (ex.weekly)
- average outdoor temperature in the period
- standard deviation of Indoor Temperature in the period
- standard deviation of Outdoor Temperature in the period
- count of Hold commands sent to thermostat
- If you have the Ask Alexa smartapp (developed by MichaelS), installed under SmartThings, I’ve also integrated some voice reports in the Service Manager (last page) that give you a summary of all events related to MyNext devices for the past day/week (optional)
For example, for MyNextTstat device, you’ll get the following summary voice report:
At your home, your Nest thermostat is in cool mode.In the past day,in the room Hallway where the thermostat MyTstat Hallway (My Nest) is located, there were 2 hold(s) observed, and 1 schedule change(s),your Nest thermostat’s setpoint was 22.0 degrees in average.The Nest’s minimum setpoint was 18.3 degrees on 2018-01-11 07:40,and the Nest’s maximum setpoint was 24.5 degrees on 2018-01-11 07:42
For MyNextAlarm, here is another summary voice report:
At your home,in the past 7 days,in the room Downstairs where the Nest Protect MyAlarm Downstairs (6EC0) is located,there were 1 event(s) triggered by the Nest Protect, which include the following,1 battery event(s).The current battery state is ok
- As a reminder, I have also built many smartapps to control any room thermostats (ex. eTRVs, minisplits, window units) and ST connected smart vents (Flair, Keen Home, EcoNet, etc.) with many smart features such as:
_ creation of virtual zone devices with delta temp (+/-) adjustment per zoned rooms activated by schedule _ avg/median/min/max temp calculations for your thermostat's setpoints adjustment based on all your ST connected sensors (similar to the ecobee's follow me feature) _ alternative cooling also activated by schedule _ control of your vents based on any ST temp/motion/contact/presence sensors _ built-in safeguards amongst others, the HVAC static pressure check based on some pressure differential _ ability to set your thermostat to Away or Present based on all your ST motion sensors (similar to ecobee's smart away feature)
Here are the names of the relevant zoned heating/cooling smartapps: (smart vents are optional)
For the Nest thermostat and slave z-wave or zigbee thermostats,
_This last smartapp has less features but can control the vents based on rooms’ temp thresholds.
For more details, refer to
** Special thanks to William R. and Rich C. for their support during the beta testing.