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

Temporary disable modules

Scheduled Pinned Locked Moved Feature Requests
12 Posts 8 Posters 11.1k Views 6 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.
  • K Offline
    KirAsh4 Moderator @paviro
    last edited by Oct 4, 2016, 6:55 PM

    > opens nearby dictionary, flips to ‘politics’, grabs red pen and writes /* ... */ around definition <

    YEP! Still works! :)

    I wasn’t referring to the actual module files. I’m talking simply editing the config.js file and comment the specific module’s config section out.

    A Life? Cool! Where can I download one of those from?

    1 Reply Last reply Reply Quote 1
    • M Offline
      MichMich Admin
      last edited by Oct 4, 2016, 7:03 PM

      Its just a js file. So you can use /* */. That’s what I do! :)

      1 Reply Last reply Reply Quote 1
      • R Offline
        roramirez Core Contributors
        last edited by Nov 4, 2016, 2:50 PM

        Seem a good idea add the disabled option. In case is your write the config from other app or external system can be more cleaner add the config option instaed of commented block

        Anyway, I pushed a PR for this :) https://github.com/MichMich/MagicMirror/pull/498

        Easy module development with MagicMirror Module Template

        1 Reply Last reply Reply Quote 0
        • M Offline
          Mitchfarino Module Developer
          last edited by Nov 4, 2016, 3:03 PM

          Couldn’t you just hide it with the RemoteControl?

          [card:Jopyth/MMM-Remote-Control]

          J 1 Reply Last reply Nov 4, 2016, 3:58 PM Reply Quote 1
          • J Offline
            Jopyth Moderator @Mitchfarino
            last edited by Jopyth Nov 4, 2016, 4:01 PM Nov 4, 2016, 3:58 PM

            @Mitchfarino This could be an option, however it only visually looks the same.

            If for example a module temporarily does not work for some reason (blocks the start of the mirror), hiding it with the Remote-Control would not help.

            What you probably wanted to say is: This should also be added to the Remote Control module. ;) And I would like to include this option in the GUI for the config there. And there is a big advantage in a config option to disable a module (versus commenting out), since this leaves the values readable from other JS code, i.e. the Remote Control module.

            Helpful sticky: How to troubleshoot

            M 1 Reply Last reply Nov 4, 2016, 4:05 PM Reply Quote 2
            • M Offline
              Mitchfarino Module Developer @Jopyth
              last edited by Nov 4, 2016, 4:05 PM

              @Jopyth Yeah, that’s exactly what I meant 😉

              You just worded it a bit better!

              1 Reply Last reply Reply Quote 0
              • T Offline
                Tyrelex78 @paviro
                last edited by Tyrelex78 Oct 16, 2020, 9:14 PM Oct 16, 2020, 9:13 PM

                @paviro, thank you very much, this works.
                disabled: true,

                1 Reply Last reply Reply Quote 0
                • 1
                • 2
                • 1 / 2
                • 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