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

Is there a way to temporarily disable a module?

Scheduled Pinned Locked Moved General Discussion
27 Posts 6 Posters 8.8k 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.
  • T Offline
    teitlebot
    last edited by Mar 8, 2019, 12:40 AM

    I installed MMM PIR Sensor and I installed MMM-ModuleScheduler thinking I can disable the PIR function at certain times. I see now that while you can control show and hide of modules you dont have the option to turn them off. Was wondering if there was a way to disable a module somehow?

    J 1 Reply Last reply Mar 8, 2019, 5:26 AM Reply Quote 0
    • J Offline
      justjim1220 Module Developer @teitlebot
      last edited by justjim1220 Mar 8, 2019, 5:27 AM Mar 8, 2019, 5:26 AM

      @teitlebot add disabled: true, to the modules in your config.js file

      for example:

      {
      	disabled: true,
      	module: "MMM-KitchenTimer",       
      	position: "top_center",
      	config: {
      		volume: 1
      	}
      },
      

      change it to false to re-enable the module…

      "Life's Too Short To Dance With Ugly People"
      Jim Hallock - 1995

      S 1 Reply Last reply Mar 8, 2019, 1:19 PM Reply Quote 1
      • S Away
        sdetweil @justjim1220
        last edited by Mar 8, 2019, 1:19 PM

        @justjim1220 he meant on the fly, while MM is running

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        T 1 Reply Last reply Mar 14, 2019, 12:52 AM Reply Quote 1
        • T Offline
          teitlebot @sdetweil
          last edited by Mar 14, 2019, 12:52 AM

          @sdetweil that’s right.
          I’m going to guess there is no way to do it.

          S 1 Reply Last reply Mar 14, 2019, 2:33 AM Reply Quote 0
          • S Away
            sdetweil @teitlebot
            last edited by Mar 14, 2019, 2:33 AM

            @teitlebot why is hide not enough?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            T 1 Reply Last reply Mar 14, 2019, 4:09 PM Reply Quote 0
            • T Offline
              teitlebot @sdetweil
              last edited by Mar 14, 2019, 4:09 PM

              @sdetweil Because im trying to have the PIR sensor not turn off the screen during certain times. Hiding the module doesnt stop it from working.

              S 1 Reply Last reply Mar 14, 2019, 4:42 PM Reply Quote 0
              • S Away
                sdetweil @teitlebot
                last edited by Mar 14, 2019, 4:42 PM

                @teitlebot sorry, do not understand…

                those are two different things…

                i hide modules to make my screen sleep… (can’t power off tv)…

                you could extend the PIR module to ignore the sensor during the time u want it to stay on

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                T 1 Reply Last reply Mar 14, 2019, 9:28 PM Reply Quote 0
                • T Offline
                  teitlebot @sdetweil
                  last edited by Mar 14, 2019, 9:28 PM

                  @sdetweil how would I extend the module? I’m not really a coder but I can follow a guide.

                  S 1 Reply Last reply Mar 14, 2019, 9:31 PM Reply Quote 0
                  • S Away
                    sdetweil @teitlebot
                    last edited by Mar 14, 2019, 9:31 PM

                    @teitlebot you would have to add some code the check the current time against a stat/stop time you would add to the configuration.

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      BigDanT
                      last edited by BigDanT Oct 15, 2020, 2:32 PM Oct 15, 2020, 2:31 PM

                      Hi,

                      Did anyone find a solution to this ?

                      I’m looking to use a PIR so that if it detects motion it “Deactivates” the “MMM-PlexSlideshow” module.

                      Then when it doesnt detect motion it will reactivate the “MMM-PlexSlideshow” module to create a digital picture frame when someone doesnt step in front of the mirror.

                      Cheers

                      D

                      S 1 Reply Last reply Oct 15, 2020, 3:02 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      • 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