Read the statement by Michael Teeuw here.
Need to disable updatenotification from MagicMirror
-
Hi,
i want to disable the updates of the modules. i have modified the value in updatenotification.js ( suspended: true, )from /home/pi/MagicMirror/modules/default/updatenotification folder but still get the update messages . did i miss something ? :)
Thank youn advance
-
@antoinemosse i finally found it :) , it was the module ‘’ Alert’’ in config.js
-
@antoinemosse it’s
disabled:true -
@sdetweil Thx, but it does not work. i’ve added this entry in updatenotification.js n but continue to receive the notifications :(
/* Magic Mirror
-
Module: UpdateNotification
-
By Michael Teeuw https://michaelteeuw.nl
-
MIT Licensed.
*/
Module.register(“updatenotification”, {
defaults: {
updateInterval: 10 * 60 * 1000, // every 10 minutes
refreshInterval: 24 * 60 * 60 * 1000, // one day
ignoreModules: [“MMM-GoogleAssistant”,“MMM-Assistant2Display”]
},disable: true, suspended: true, moduleList: {}, start: function () { var self = this; Log.log("Start updatenotification"); setInterval(() => { self.moduleList = {}; self.updateDom(2); }, self.config.refreshInterval); },
-
-
@antoinemosse i finally found it :) , it was the module ‘’ Alert’’ in config.js
-
@antoinemosse You can disable any module with
disabled: true;
in config.js. If you want to enable it again, then set it to
disabled: false;
No need to poke around in the module’s own scripts.
Personally, I always add this line for every module, as it elegantly allows to disabale or enable a module, when necessary.
-
@fozi if you use MMM-Config it’s a check box
-
@sdetweil True, that is far easier. Unfortunately I didn’t succeed in getting MMM-Config to work properly. Maybe I‘ll give it a 3rd try during my vacation.
-
@fozi send me trouble reports. I can’t fix it if no one tells me it’s broken
mention right up front that some modules produce tricky tesults