• 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.6k 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.
  • S Offline
    sdetweil @sdetweil
    last edited by sdetweil Oct 15, 2020, 3:34 PM Oct 15, 2020, 3:30 PM

    @BigDanT I tried moving MMM-ImagesPhotos to the fullscreen_above position, and it hides all the content behind, but… on each image transition it exposes the stuff behind… so it will be a bit more involved to make a module out front that does what u want.

    sorry, there was an intentional delay between pics… removing that keeps the stuff hidden behind, so it might work

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • R Offline
      RIKKO14
      last edited by Oct 15, 2020, 3:41 PM

      @teitlebot
      I am not a coder but if you comment you config.js like this the module doen’t work :

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

      but
      but this may not be the answer you want…

      S 1 Reply Last reply Oct 15, 2020, 3:43 PM Reply Quote 0
      • S Offline
        sdetweil @RIKKO14
        last edited by Oct 15, 2020, 3:43 PM

        @RIKKO14 said in Is there a way to temporarily disable a module?:

        disabled: true,

        you don’t need any comments if you have

        disabled: true, 
        

        you can’t disable a module WHILE it is running… you could ‘hide’ it

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • R Offline
          RIKKO14
          last edited by Oct 15, 2020, 3:44 PM

          ok, sorry…

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @sdetweil
            last edited by Oct 15, 2020, 4:09 PM

            @BigDanT

            by changing ImagesPhotos and my SleepWake, it does want u described… so it is possible

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • W Offline
              wishmaster270 Module Developer
              last edited by wishmaster270 Oct 15, 2020, 7:27 PM Oct 15, 2020, 7:19 PM

              Hi,

              I use profiles to implement pages on my mirror. I also modified my screensaver module MMM-Screen-Powersave-Notification to change to a specific profile instead of hiding the modules or shut off the screen. So it should be possible to just configure the behavior you like instead of coding stuff.

              Edit: Just saw that the code had been in the development branch and not in the master. Drafted a new release a few minutes ago.

              The module also supports changing the timeout during runtime or disable screensave

              1 Reply Last reply Reply Quote 0
              • B Offline
                BigDanT
                last edited by Oct 18, 2020, 4:55 PM

                Hi @sdetweil,

                That’s not really what I mean, but thanks for the explanation/ investigation.

                What I mean is this.

                The MMM-Plexslideshow fills the back ground with an image rather than blank/black background.

                This means the two way Perspex is not a mirror (as there’s an image rather than black background)

                What I want to do is if the pir detects motion to deactivate the “mmm-plexslideshow” whilst the magic mirror is running. Or to select a black/blank background (which ever works)

                That way when someone approaches the mirror the slideshow will stop and The mirror shown (due to the black background)

                When the pir doesn’t detect someone then the slideshow starts up again.

                I hope this makes more sense ??

                Cheers

                D

                S 1 Reply Last reply Oct 18, 2020, 7:47 PM Reply Quote 0
                • S Offline
                  sdetweil @BigDanT
                  last edited by Oct 18, 2020, 7:47 PM

                  @BigDanT yes, and I said, (not using your modules) I did that exact thing with my camera based motion sensor module and a full screen image show module… to prove it would work…

                  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 Oct 18, 2020, 7:56 PM

                    Hi @sdetweil,

                    That’s great! Any chance you could point me in the direction of some instructions?

                    Cheers

                    D.

                    S 1 Reply Last reply Oct 18, 2020, 7:57 PM Reply Quote 0
                    • S Offline
                      sdetweil @BigDanT
                      last edited by sdetweil Oct 18, 2020, 7:59 PM Oct 18, 2020, 7:57 PM

                      @BigDanT I had to change code in both modules…

                      someone else @wishmaster270 says if you use THIS module, then you can configure what you want, no coding changes…
                      https://forum.magicmirror.builders/topic/9986/is-there-a-way-to-temporarily-disable-a-module/18?page=2
                      I don’t know anything about that module

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        17/27
                        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