Read the statement by Michael Teeuw here.
MagicMirror isn't publishing 'user_presence' on start up?
-
@sdetweil Darned, that’s really sad, it seems logical to make a notification that says done setting up, and running. Oh well, always room for improvement in the code :-)
-
@fribse yes, inside… but u are outside (Oh I see, change the module)
from the doc
https://docs.magicmirror.builders/development/core-module-file.html#subclassable-module-methodsALL_MODULES_STARTED
-
@sdetweil Ahaaaa, way cooler :-)
So I guess I should add this to the notiDictionary.js
I’m unsure of the payloadValue?{ notiId: "ALL_MODULES_STARTED", notiPayload: [ { payloadValue: '1', notiMqttCmd: ["SCREENON"] } ] }
-
@fribse sorry, now no idea, don’t know the module internals
-
@sdetweil Ok, gotcha. I’m trying to figure out the notification, currently the MMM-MQTTbridge doesn’t pick it up.
I’ve set up MMM-ViewNotifications, but I’m drowning in noti’s.
I made this config{ module: "MMM-ViewNotifications", position: "top_left", header: "Notifications", config: { excludeModules: ["clock","newsfeed","currentweather","calendar","MMM-News-QR"] } },
What did I do wrong since it still displays noti’s from these?
-
@fribse u can filter messages by placing part of the modulename in the filter field
-
@sdetweil Hey Sam, sorry you lost me, “filter field”?
@bugsounet If you are still around, do you have any idea about the notification format in notiDictionary.js?
-
@fribse sorry, I was using the dev window, console tab
-
@sdetweil Ahh, yes, and there I do see the
sendNotification("ALL_MODULES_STARTED");
Going out, hmm, it seems that it’s main sending it out, I wonder if that is supposed to be payload Value, and notiId is supposed to be something like main? Hmm, I hope sergge1 or @bugsounet knows that.
-
@fribse notifications don’t have to have a payload
I think the source could be null too