Read the statement by Michael Teeuw here.
MMM-Nest-Status - New module for your Nest thermostats and protect smoke detectors!
-
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.
-
@costascontis It shouldn’t matter - I don’t use the
Away read
setting in this module. The settings that matter are the ones directly tied to the thermostat and smoke detectors. -
@michael5r my Thermostat read is greyed out too …is that matter?
-
@costascontis No, that’s fine - directly below you’ve enabled
read/write
, so that supersedes the standaloneread
setting. -
found some time to debug why module stops updating.I think it has something to do with my on/off monitor function.I use Motion to turn on my mm tv when movement detected by sending a “/opt/vc/bin/tvservice -p ; sudo chvt 6 ; sudo chvt 7” command.After 5 min with no motion detected it power off my tv sending a “on_event_end /opt/vc/bin/tvservice -p”.I think that after some time of power off monitor the module’s update function breaks.All other modules i use they work and updating fine all the time.
EDIT: ignore all of the above,even when my screen is on the module stops updating after a few hours…I dont know what else to try…maybe some other module causing this?Is it possible?
EDIT 2: I opened the console at the developers tools inside mm and i notished that from the moment MMM-NEST-STATUS module starts spams with notifications clock and calendar modules like that
clock received a module notification: MMM_NEST_STATUS_UPDATE from sender: mmm-nest-status calendar received a module notification: MMM_NEST_STATUS_UPDATE from sender: mmm-nest-status
until it stops and stop updating the nest status also.Is that normal?