Read the statement by Michael Teeuw here.
MMM-Nest-Status - New module for your Nest thermostats and protect smoke detectors!
-
This is my first module I am attempting to install, and keep getting a Nest API Error:null. Total noob here, but I have registered as a developer, obtained Nest token/pincode, and believe I input code correctly into config.js file per below.
module: "mmm-nest-status", position: "top_right", config: { token: "my8characterpinfromnest", displayType: "grid", displayMode: "all", thermostatsToShow: "all",
Any ideas how to resolve the API issue?
-
@eawalker1 If your token is 8 characters long, it’s not the correct Nest token. It should be a long-ass string that usually begins with
c.
I think you’re confusing the token with the PIN you get from Nest.Did you run the
getToken.sh
bash script in the module? It has multiple steps - you start by entering theclient id
andclient secret
which then generates a URL you need to open in a browser to get a PIN.You then enter the PIN in the bash script and on the next screen, it should display your actual token.
-
@michael5r Nope, that did the trick. Thanks.
-
@eawalker1 said in MMM-Nest-Status - New module for your Nest thermostats and protect smoke detectors!:
@michael5r Nope, that did the trick. Thanks.
Great :thumbs_up:
-
thnx for your hard work ,i really like this module,but its not updating right.When i restart MM works fine for few hours and then stops updating.My token is working fine ,i use it also to my Openhab setup .Also my other modules are all updating fine.My config is :
{ module: "mmm-nest-status", position: "top_center", // pick whichever position you want config: { token: "c.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", displayType: "grid", displayMode: "all", thermostatsToShow: "all", updateInterval: "60000", showNames: true, thermostatSize: "medium", // ... and whatever else configuration options you want to use }
-
@costascontis You configuration looks fine - the
updateInterval
is set to 60000, so it’s only pulling data every 10 minutes.What exactly do you mean that it “stops updating”?
-
isnt updateinterval in ms?cause if it is then 60000 ms = 1min…
-
@costascontis said in MMM-Nest-Status - New module for your Nest thermostats and protect smoke detectors!:
isnt updateinterval in ms?cause if it is then 60000 ms = 1min…
My bad - you’re right, it’s 1 minute :)
-
@costascontis Make sure the away read permission is active on your nest development OAuth client
-
@nhl in my Other Permissions Away read is greyed out.