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:
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.
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!
[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.
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.
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:
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?
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)
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.
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.
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.
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.
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.
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.
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.
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.
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.