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

Hide a module while still having it work

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 3 Posters 4.2k 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.
  • D Offline
    DevilRev
    last edited by Nov 16, 2016, 8:11 PM

    Hi,

    I want to hide my voice control module completely from the screen but still have it reacting and sending notifications to other modules, can anyone tell me how can I achieve this?

    Thanks in advance!
    DevilRev

    J 1 Reply Last reply Nov 18, 2016, 4:02 PM Reply Quote 0
    • P Offline
      plumcraft
      last edited by Nov 16, 2016, 11:36 PM

      Interested about it too.

      @DevilRev : How are you going to know which mode is active ?

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jopyth Moderator @DevilRev
        last edited by Jopyth Nov 18, 2016, 4:03 PM Nov 18, 2016, 4:02 PM

        @DevilRev Remove the position: bottom_left (or whatever position you have) from the config? This works with some modules, which do not try to interact with their own DOM (since it does not exist).

        Helpful sticky: How to troubleshoot

        D 1 Reply Last reply Nov 18, 2016, 5:39 PM Reply Quote 0
        • D Offline
          DevilRev @Jopyth
          last edited by Nov 18, 2016, 5:39 PM

          @Jopyth I did this to one module but every other module after that one in the config does not load at all. I need this for 2 modules and in combination with my other question that you answered.

          I can’t do this manually in the config either, it has to be somewhat controllable so I guess my plan can not work out.

          J 1 Reply Last reply Nov 18, 2016, 5:41 PM Reply Quote 0
          • J Offline
            Jopyth Moderator @DevilRev
            last edited by Jopyth Nov 18, 2016, 5:42 PM Nov 18, 2016, 5:41 PM

            @DevilRev Well if that does not work you could use my Remote Control, hide the module in question, and save the hidden status. The module will then be hidden directly after each startup.

            Also it allows you to easily display the module again when needed, so it is quite controllable. ;)

            Helpful sticky: How to troubleshoot

            D 1 Reply Last reply Nov 19, 2016, 11:49 PM Reply Quote 0
            • D Offline
              DevilRev @Jopyth
              last edited by Nov 19, 2016, 11:49 PM

              @Jopyth Yep I already used your module and do really like it but I thought I might be able to just build the status ‘hidden’ into the module instead doing it with another one.

              I’ll probably do it the way you suggested but I can’t even use it without the possibility of deactivating and activating a module completely from another one.

              J 1 Reply Last reply Nov 20, 2016, 3:54 PM Reply Quote 0
              • J Offline
                Jopyth Moderator @DevilRev
                last edited by Nov 20, 2016, 3:54 PM

                @DevilRev You can also do that, just add the line

                this.hide(0);
                

                to the module start up section. However you will need to stash (or commit) these changes later on when you want to update the module.

                Helpful sticky: How to troubleshoot

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