[RELEASE] My Next Manager for your Nest® Tstats, Protects and Sensors: all Nest attributes available (home/away, motion detection, setTargetHumidity, setHotWaterBoost) for automation-and no throttling!


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 Hubitat-optimized code, go to

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.

  • The code unlocks all Nest's APIs features (similar to the Nest App) without any throttling for your automation scenarios.
  • The code is derived from the SmartThings platform and has been running for more than 2 years now. The code has been modified/optimized for the Hubitat platform.
  • The code has been designed to work with my ecosystem of Zoned Heating/Cooling smartapps.
  • 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 (see below)..
    • MyNextAlarm: exposes your Nest Protect's attributes (including Motion detection and Presence for the wired Protects) for Home Automation and integration with Smart Alarm Monitor
    • MyNextSensor: exposes the temperatureMeasurement capability and a new Switch to make the sensor active or inactive in the Nest app/portal.
  • Since V3 of MyNextDevices, the UI presentation adds the following commands for controlling your HVAC:

    • setTargetHumidity: to control your humidity inside your home via your dehumidifier/humidifier connected to Nest
    • setHotWaterBoost: to set a boiler's hotWaterBoost timer in minutes (Europe)
    • Nest Home or Away: to set your Nest structure to Home or Away.
  • You can also call the following custom commands for more control over your Nest Tstat. MyNextTstat (v3.4) introduces new dual fuel commands for dualFuel/alt/emergency heating.

    • setThermostatFanSchedule: to create fan schedules at your tstat
    • setThermostatFanTimer: to set the fan timer in minutes
    • setDualFuelBreakpointTemp: if you have dualFuel/alt/emergency heating, you can set the breakpoint temperature for switching to dualFuel/alt/emergency heating
    • setDualFuelBreakpointMode: You can set the following mode for alt/emergency/dual heating: "DUALFUEL_BREAKPOINT_ALWAYS_ALT" or "DUALFUEL_BREAKPOINT_ALWAYS_PRIMARY". This command allows finer control of your dualFuel/alt/emergency heating.
  • MyNextAlarm (for the Nest Protect) now with motion capability support- depending on your Nest Protect's firmware version and model

Latest Release

MyNextManagerV3.7 Better polling performances for large Nest installation base

MyNextManagerV3.6 Better cache handling for all objects!

MyNextTstat V3.5.3,MyNextSensorV3, MyNextManagerV3.5.1 Correction to MyNextTstat to avoid error 401 in the logs

MyNextTstat V3.5,MyNextSensorV3, MyNextManagerV3.4.1 Faster processing and better caching checks and added Switch capability to MyNextSensorV3

MyNextTstatV3.4 Added the dualFuel commands for better alt/emergency/dualFuel heating control

For the full list of attributes, capabilities & commands supported, refer to the ST community wiki:




MyNextAlarmV3 For Protects

MyNextSensor with new capabilities (switch on/off to make it active/inactive)

I've developed more than 10k lines of code for integrating the Nest devices into Hubitat.

MyNextManager (service manager for My Next devices) uses the Nest Web APis. The Web APIs don't have the strict rate limiting as the old APIs and they are as reponsive as the native Nest application.

  • The code has been designed to work with an ecosystem of smartapps acting as "micro services".

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 Hubitat's location modes (Day, Away, Night)

See the NestChangeMode smartapp.

2) Controlling your smart vents based on your indoor temp/motion sensors in conjunction with your thermostat’s programs & setpoints

See the advanced zoning smartapps (contribution required ) :ScheduleTstatZones and ScheduleRoomTempControl zoning smartapps*

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.

To download the Hubitat code, go to

My NextTstat is also able to give you “energy savings and comfort tips” based on actual indoor/outdoor conditions at your home.**

Refer to

The following indoor/outdoor metrics will be processed by My NextTstat's heuristics 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

- As a reminder, I have also built many smartapps to control any room thermostats (ex. eTRVs, minisplits, window units) and hub 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 connected sensors (similar to the ecobee's follow me feature)
_ alternative cooling also activated by schedule
_ control of your vents based on any connected 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 connected 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,

ScheduleTstatZones - Things That Are Smart Wiki

_This last smartapp has less features but can control the vents based on rooms' temp thresholds.

ScheduleRoomTempControl - Things That Are Smart Wiki

To download the Hubitat-optimized code, go to



Great app, controls nest/ecobee and keen vents with scheduled zones. Well worth the money.

1 Like

Thnx @Szagr, you've been a great customer for the last 3 years..

Outstanding! I've just completed the google SDM setup, but I've missed this from my previous SmartThings setup. I'll be contributing and installing right away. This is an EXCELLENT integration.

1 Like

I wasn't aware that the latest Google SDM API exposed the Nest Protects. By sensors do you mean the temperature sensors or the open/close/motion sensors from Nest Secure? Does your app allow us access to those?

@karnik.abhijeet, I'm using the Nest Web APIs which allow access to the Nest Protects and Nest Sensors (the Google official APIs don't allow any access) on top of a much larger set of attributes for the Nest Tstats.

Hi @yracine66,

I must be doing something stupid here, but when adding MyNextManager, I hit done, and it does nothing, nothing in the logs to check further either. I'm using the google method, as I migrated by Nest if that helps. Both fields are populated too. Any tips?

HI, you can enable detailed logging in the last page of MyNextManager with a log level =5.

Did you follow all the steps at the README (as indicated at my store) for the installation?


Yes, thats what I followed,

When installing

Hitting Done, just takes me back to the previous page.

I'm still logged into Nest etc.

Hi, it doesn't look like your cookie is good. There should be something in the logs. Hit "past logs" under logs and send me the logs to services@maisonsecomatiq.com.

Don't post logs in the community forum as they contain confidential info about your location.

Very exciting, thanks for bringing this over from ST here to Hubitat.

1 Like

The new version (v3.2.1) enables logging by default for the 1st smartapp's execution.
You can download it using the same selffy download link, copy and paste over the existing smartapp's code and redo the cookie & url extraction.


1 Like

Since this is a paid service, I wanted to ask before doing so.
How quick do the attributes update? Is it dependent on polling frequently? Specially the motion attribute of the protects, what can one expect of them?

Hi @MrPancake, it's been polled according to a configurable polling interval (1,5,10,15,30) minutes.
Of course, for the Nest Protects, you can choose every minute.

Now, as you are in the UK, some contributors have reported that sometimes the motion detection doesn't work well over there.

It all depends on your model and firmware version. I know that motion detection works well for the wired topaz model v2.7 and firmware version 3.1.4.rc3 (and up) in North America. The battery ones cannot report motion.

I haven't tested every model and firmware version out there, you may need to upgrade to the latest firmware version.


Have to say, a big thank you to @yracine66 for sticking with my issue until it was resolved. Very much appreciated!!

1 Like

Hi, With my zoning smartapps, you can enable targeted heating/cooling and leveraging all your temp/motion /contact/presence sensors in your home based on the concepts of rooms/zones/schedules.


This app/driver allows you to "see" protects, unlike the Google SDM API. I use both, as the SDM API solution provides connections to cameras. I did have some issues with connecting via my Google tokens and the developer (@yracine66) was very responsive to tracking down the bug.

[Disclosure: The TOS provides benefits to the end-user if positive comments are posted. While this post is intended to take advantage of that clause, I would not be posting if the software didn't work for my purposes.]


Actually, you can also ''like" my thread...

Are Nest cameras supported as well?

No sorry.

Download the Hubitat app