Read the statement by Michael Teeuw here.
MMM-Nest-Status - New module for your Nest thermostats and protect smoke detectors!
-
@costascontis said in MMM-Nest-Status - New module for your Nest thermostats and protect smoke detectors!:
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?
Yes, that’s totally normal. The
mmm-nest-status
module is broadcasting a notification to all modules saying that data is available - it’s how the socket notification system works. -
@costascontis said in MMM-Nest-Status - New module for your Nest thermostats and protect smoke detectors!:
@michael5r after hours of tests i found out that if i use default clock and calendar module then after a few minutes nest module stop updating.If i dont use clock/calendar and comment them at config.js then nest module is working fine for days.I am not a developer but i suspect that has something to do with notifications between these modules…
I’ll see if I can recreate this with those modules - thanks for the doing the debugging!
-
@michael5r just asking…why nest-status need to send notifications to other modules ?
-
@costascontis said in MMM-Nest-Status - New module for your Nest thermostats and protect smoke detectors!:
@michael5r just asking…why nest-status need to send notifications to other modules ?
mmm-nest-status
isn’t sending a notification directly to other modules, it’s sending a global notification.But seeing that all modules listen for these notifications, the notification will also reach modules that don’t need or use it (which is where the console log you showed comes from - it’s basically all modules saying “I received a socket notification”, but it doesn’t mean they actually do anything with it).
That’s just how the magic mirror socket system works - every module that broadcasts data or status does this.
-
With the sell of Nest to Google, is this module still working at all?
-
@numb3rs It works just fine if you have an existing Nest developer account, but as I also posted in the repo for the module, there’s currently no way for new users to use the module.
Still waiting on Google to open their Individual Device Access program:
https://developers.google.com/nest/device-access -
@michael5r
i have not migrated to a google account yet and still have a existing developers account. how do i get the token? -
spectacular!!!
-
@kash said in MMM-Nest-Status - New module for your Nest thermostats and protect smoke detectors!:
@michael5r
i have not migrated to a google account yet and still have a existing developers account. how do i get the token?Download the previous version of the module:
https://github.com/michael5r/mmm-nest-status/tree/fcbf291a26374e32901e993f9e109465819f59bfIt has the shell script that allows you to get a token.
-
I dont have a developers account but could do with one. It’s so frustrating now i want to add modules to my mirror.