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.

    Two Mirrors, One Pi

    Scheduled Pinned Locked Moved Solved Troubleshooting
    6 Posts 3 Posters 1.8k 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.
    • S Offline
      sdetweil @JoeRonimo
      last edited by sdetweil

      @JoeRonimo see the documentation in a couple places that should help

      using the config filename env variable to launch multiple MM instances from the same MM folder
      https://docs.magicmirror.builders/configuration/introduction.html#advanced-configuration-and-frequently-asked-how-to-configure-examples
      you install ALL the modules, used by the multiple instances, but only USE the ones you want in each instance (config.js)

      and using the config to control which physical screen MM will appear on , which provides an exact example of what you want to do

      https://docs.magicmirror.builders/configuration/introduction.html#using-electronoptions

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @JoeRonimo
        last edited by

        @JoeRonimo in addition you can create two apps in pm2, and manage them together or separately

        each launching a separate script

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @JoeRonimo
          last edited by

          @JoeRonimo were you able to work on any of this?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          B 1 Reply Last reply Reply Quote 0
          • S sdetweil has marked this topic as solved on
          • B Offline
            BiaGen @sdetweil
            last edited by

            I was about to go down the rabbit hole of installing two entirely separate instances in different folders, but using the environment variable for the config file is way cleaner. Managing them both with PM2 makes it so much easier to handle reboots too.

            S 1 Reply Last reply Reply Quote 1
            • S Offline
              sdetweil @BiaGen
              last edited by

              @BiaGen awesome! Glad it helped

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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