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

Hello,

I've just gotten MyNextManager installed in Hubitat and can't seem to get it to work fully. I believe I've followed all of the steps in the installation doc. Once completing the cookie and url variables and installing the app, it appears that all the settings are pulled in from the thermostat and its current state is displayed correctly on a dashboard tile. However when making a temperature change via a dashboard tile, I receive the following log entry "java.lang.ClassCastException: null (setCoolingSetpoint)". When making an a temperature adjustment on the physical thermostat, it is not reflected in hubitat.

The above is the only error listed in 'MyTstat'.

The following error appears in 'MyNextManager':
org.codehaus.groovy.runtime.metaclass.MissingMethodExceptionNoStack: No signature of method: user_app_yracine_MyNextManager_337.delete() is applicable for argument types: () values: []
Possible solutions: sleep(long), sleep(long, groovy.lang.Closure), every(), getAt(java.lang.String), every(groovy.lang.Closure), split(groovy.lang.Closure) (delete)
purgeChildDevice>no more devices to poll, unscheduling and terminating the app

Hi, it doesn't look like the installation was completed properly. Please restart the installation from scratch and make sure to not log off from the active Nest session after copying the google cookie/url. You can close the browser, but not log off from the session. Also, if you change your password or 2FA settings, you'll lose your auth tokens (as indicated in the readme).

In order to get the detailed logging, you'd need to follow the steps under the troubleshooting section:

https://thingsthataresmart.wiki/index.php?title=My_NextServiceMgr#Issue_.2310:_I_want_detailed_Logging.2FNotifications_or_I_want_to_enable_Ask_Alexa_Notifications

I can only help you with detailed logging. Don't post any logs in the forum, filter the logs for myNextManager only and send the logs to services@maisonsecomatiq.com.

Regards.

I just want to say, THANK YOU for this! I finally have full control over my entire HVAC system. I no longer have to deal with NEST's stupid schedule for sensors.

Only issue I had during install that I missed during the quick instructions was to enable OAUTH, and I had the issue where my TSTAT wasn't showing up in the list even with the google account authentication working... I did the reset WWN from the physical NEST tstat and then re added it to the app.

Once I did this I needed to do the authentication / setup again. I had to remove the previous MyNextManager (using the settings icon wheel while adding the user app) because I think it was still using the old authentication. Once I did that, readded with the new authentication information I was able to create all the devices!

Thanks again!

  • Shane
1 Like

[EDIT] Ignore this question I figured it out.. I needed to make sure sensor scheduling was turned on.. seems to be a requirement.. my bad.

Doesn't look like I can set my active sensor now.. Looked at the the tstat device in hubitat and noticed this.

setRCSActiveSensors>error while trying to call setThermostatSettings, exception doRequest>exception groovyx.net.http.HttpResponseException: status code: 401, reason phrase: Unauthorized,error response=401 for [uri:https://czfe08-front01-iad01.transport.home.nest.com/v5/put

I went through the next manager again to check to make sure everything is still connected and it populated all my sensors and tstat w/o having to do anything different.. So it seems to be connecting correctly.

I can also set the temp on the TSTAT device and it works.

Any suggestions?

Shane

OK... So I'm still having the problem. It looks like mynext gets logged out or disabled after awhile. The only way I can get it to work again is to go into the app/MyNextManager and just tap the next button to reconnect/relogin.

Is there a trick to keeping it logged in all the time and not expiring.

Thanks!

  • Shane

Hi,

After copying the google cookie/url, don't log off from the Nest active session. You can close the browser, but not log off from the session. Also, if you change your password or 2FA settings, you'll lose your auth tokens (as indicated in the readme).

Refer to the troubleshooting section (with screenshots) to get new auth tokens:

https://thingsthataresmart.wiki/index.php?title=My_NextServiceMgr#14b.29_LOGIN_INFO_REQUIRED_FOR_GOOGLE_ACCOUNT_USERS_.28MIGRATED_NEST_USERS.29

Regards.

But I haven't lost the auth tokens.. I haven't had to copy / re-enter the cookie info, I just have to open the app (hubitat/mynextmanager) and keep tapping the next button then it works.

I haven't logged out or changed anything since setting it up.

Connection worked for a few hours until the evening and then it stopped working again..

Next through and save in the app reconnects again. Nothing has changed, no tokens changed, etc. Is there anyway to keep this thing refreshed and connected?

Hi,

Every time you have a 401 unauthorized, it means that you've lost your auth tokens. Pressing Next won't help you. So, the error means that something has changed on the Google side. Please refer to my last post.

MyNextManager will renew the auth tokens automatically unless they are no longer valid due to a change or a Nest session termination.

Then why does it not work then start working without entering any new auth info when I use mynextmanager? (the 401 error goes away after using the manager and all devices work)

Hi,

You may have temporarily read access, but not write access hence the 401 unauthorized.

To have write access, you'd need to get a new google cookie/url as indicated in my previous posts.

If I don't have write access then how does it allow me to change the active nest sensor once I go through the nextmanager? Like I said.. EVERYTHING WORKS (read / write, fan on/off, cool on/off, set temps, etc) after going through the nextmanager again without having to change any AUTH codes.

Great! If everything works, don't worry about it. The auth tokens will be renewed automatically when needed.

  • EDIT* Just FYI, I made a small change in MyNextManager v3.5.1 that may help in fixing your issue.

That's what I've been trying to say, it works for awhile then stops. The auth tokens are not renewing unless I go back (next/done) through mynextmanager.

I'll try the 3.5.1, thanks!

  • Shane

Hi, as indicated before, the code renews the auth tokens automatically. You may have encountered a specific issue.

1 Like

Hi,

Just want to inform my contributors and all Nest users that new versions of MyNextManager (v3.5.1), MyNextTstat(v3.5.3), MyNextSensor(V3,0) can be downloaded at my e-commerce solution provider (sellfy) using the original download link.

You can download the Next devices at my store:

https://www.maisonsecomatiq.com/hubitatstore

  • The new version of MyNextTstat (v3.5.3) avoid displaying the 401 error in the logs.

  • All you need to do is to copy &paste the new code over the existing one for the device drivers and MyNextManager

  • Prior to the code upload, you'd just need to save the tokens info and restore it after the copy & paste.

  • 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.
    • 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.

MyNextTstat (p1)

MyNextTstat (p2)

MyNextAlarm For Protects

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

On top of it, there are many complimentary smartapps designed for My NextTstat DTH and are located at my github.

You can also refer to the 1st post of this thread for all the use cases supported.

MyNextManagerV3.5.1, MyNextTstatV3.5.3, MyNextAlarmV3 (For Protects), MyNextSensor V3 are available at my store:

https://www.maisonsecomatiq.com/hubitatstore

P.S. As a reminder, MyNext devices are fully compatible with dashboards (ex. SharpTools) and rule engines (RM, WebCore, Sharptools).
Regards

2 Likes

Hi,

Just want to inform my contributors and all Nest users that new version of MyNextManager (v3.6) can be downloaded at my e-commerce solution provider (sellfy) using the original download link.

You can download the Next devices at my store:

https://www.maisonsecomatiq.com/hubitatstore

  • The new version of MyNextManager (v3.6) brings better cache handling for all structures & objects

  • All you need to do is to copy &paste the new code over the existing smartapp under the IDE

  • Prior to the code upload, you'd just need to save the tokens info and restore it after the copy & paste.

  • 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.
    • 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.

MyNextTstat (p1)

MyNextTstat (p2)

MyNextAlarm For Protects

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

On top of it, there are many complimentary smartapps designed for My NextTstat DTH and are located at my github.

You can also refer to the 1st post of this thread for all the use cases supported.

MyNextManagerV3.6, MyNextTstatV3.5.3, MyNextAlarmV3 (For Protects), MyNextSensor V3 are available at my store:

https://www.maisonsecomatiq.com/hubitatstore

P.S. As a reminder, MyNext devices are fully compatible with dashboards (ex. SharpTools) and rule engines (RM, WebCore, Sharptools).
Regards

1 Like

Hi,

Just want to inform my contributors and all Nest users that new version of MyNextManager (v3.7) can be downloaded at my e-commerce solution provider (sellfy) using the original download link.

You can download the Next devices at my store:

https://www.maisonsecomatiq.com/hubitatstore

  • The new version of MyNextManager (v3.7) brings better polling performances for large Nest installation base.

  • All you need to do is to copy &paste the new code over the existing smartapp under the IDE

  • Prior to the code upload, you'd just need to save the tokens info and restore it after the copy & paste.

  • 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.
    • 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.

MyNextTstat (p1)

MyNextTstat (p2)

MyNextAlarm For Protects

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

On top of it, there are many complimentary smartapps designed for My NextTstat DTH and are located at my github.

You can also refer to the 1st post of this thread for all the use cases supported.

MyNextManagerV3.7, MyNextTstatV3.5.4, MyNextAlarmV3 (For Protects), MyNextSensor V3 are available at my store:

https://www.maisonsecomatiq.com/hubitatstore

P.S. As a reminder, MyNext devices are fully compatible with dashboards (ex. SharpTools) and rule engines (RM, WebCore, Sharptools).
Regards

2 Likes

Hi,

Trying to set up the thermostat app. I was able to get it connected to my google account and it picks up my Nest temperature sensors but does not pick up my thermostat. Logs say it successfully connected to Google. Any ideas? Thermostat is 3rd Gen Nest Learning Thermostat.

Thanks!

Hi,

Please refer to my previous post. You'd need to reset your tstat with the WWN option at the unit: