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.

    Swap 2 modules on loading 1 module

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    5 Posts 3 Posters 175 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.
    • htilburgsH Offline
      htilburgs
      last edited by

      Currently my mirror is full with the needed apps. I like to swap out one module on load of an other module.

      For example:
      Left under is Module A. When I start a number on Spotify my module MMM-OnSpotify pops up (as expected) but it goes over Module A that is already in the Left under corner.

      Question:
      Is there a way that let Module A temporary disappear, until MMM-OnSpotify disappears after stopping playing music on Spotify?

      Default situation:
      4095a27f-2f21-4611-8b70-b5b88906767e-image.png

      Situation with listening to Spotify:
      af02ae7b-553c-4165-8071-0fadf63fdcff-image.png

      (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @htilburgs
        last edited by sdetweil

        @htilburgs I’m not aware of any module that provides this kind of orchestration.
        You can do it manually with mmm-remote control (hide module)

        Some people use MMM-pages to separate overlap

        Maybe
        https://github.com/MMRIZE/MMM-NotificationTrigger

        But I don’t know if the on Spotify signals it’s appearance/disappearance

        You might be able to use the Now-Playing notification
        IMG_4715.png

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        htilburgsH 1 Reply Last reply Reply Quote 0
        • htilburgsH Offline
          htilburgs @sdetweil
          last edited by

          @sdetweil I Will give both of them a look and let see what I come up with. Thanks for the reply.

          (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

          A 1 Reply Last reply Reply Quote 0
          • A Offline
            ArnoldoB @htilburgs
            last edited by

            @htilburgs I second MMM-Pages, its useful. The config takes a little getting used to. You’ll need to add classes to modules to specify which page the they land on.

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @ArnoldoB
              last edited by sdetweil

              @ArnoldoB if you use the classes approach vs the module name approach . I could never remember the module name approach , always looking up and down, and figuring how to configure for multiple instances of the same module

              I like to use the classname “all_pages” for fixed, makes more sense

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • 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