MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Need to disable updatenotification from MagicMirror

    Scheduled Pinned Locked Moved Solved Troubleshooting
    8 Posts 3 Posters 1.7k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      antoinemosse @sdetweil
      last edited by

      @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);
         },
        
      A 1 Reply Last reply Reply Quote 0
      • A Offline
        antoinemosse @antoinemosse
        last edited by

        @antoinemosse i finally found it :) , it was the module ‘’ Alert’’ in config.js

        1 Reply Last reply Reply Quote 0
        • FoziF Offline
          Fozi Project Sponsor @antoinemosse
          last edited by

          @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.

          HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @Fozi
            last edited by

            @fozi if you use MMM-Config it’s a check box

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            FoziF 1 Reply Last reply Reply Quote 0
            • FoziF Offline
              Fozi Project Sponsor @sdetweil
              last edited by

              @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.

              HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @Fozi
                last edited by

                @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

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy