• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.5k 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.
  • S Offline
    sdetweil @antoinemosse
    last edited by Jul 31, 2021, 12:51 PM

    @antoinemosse it’s
    disabled:true

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    A 1 Reply Last reply Jul 31, 2021, 2:05 PM Reply Quote 0
    • A Offline
      antoinemosse @sdetweil
      last edited by Jul 31, 2021, 2:05 PM

      @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 Jul 31, 2021, 2:26 PM Reply Quote 0
      • A Offline
        antoinemosse @antoinemosse
        last edited by Jul 31, 2021, 2:26 PM

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

        1 Reply Last reply Reply Quote 0
        • F Offline
          Fozi Project Sponsor @antoinemosse
          last edited by Jul 31, 2021, 6:26 PM

          @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 Jul 31, 2021, 7:13 PM Reply Quote 0
          • S Offline
            sdetweil @Fozi
            last edited by Jul 31, 2021, 7:13 PM

            @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

            F 1 Reply Last reply Aug 1, 2021, 7:53 AM Reply Quote 0
            • F Offline
              Fozi Project Sponsor @sdetweil
              last edited by Aug 1, 2021, 7:53 AM

              @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 Aug 1, 2021, 12:12 PM Reply Quote 0
              • S Offline
                sdetweil @Fozi
                last edited by Aug 1, 2021, 12:12 PM

                @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
                1 / 1
                • First post
                  6/8
                  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