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.

    Can you have two instances of one module running independently from each other?

    Scheduled Pinned Locked Moved General Discussion
    5 Posts 3 Posters 1.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.
    • F Offline
      FruityBebbles
      last edited by FruityBebbles

      For context, I am using MMM-Carousel in “slides” mode.
      I have one slide dedicated to the NFL, so I use the default newsfeed module to stream an rss feed of ESPN to that slide
      BUT
      I have another slide where it is dedicated to traffic maps/reports/travel times.

      I was wondering if it were possible to use one module, twice?
      Like, I want to use the newsfeed module, again, to broadcast traffic reports from my local news station (and not have NFL stats popping up lol.)
      Is there anyway to ID two instances of the same module as something like,

      {
      module: "newsfeed1"
      },
      {
      module: "newsfeed2"
      }, 
      etc
      

      ?? I know there is a MMM-RSS-FEED but that doesn’t run as smoothly as the default newsfeed module and I would really like to use the newsfeed to broadcast both the ESPN stuff and the traffic reports…
      Is what Im thinking possible? annd if so, how can I get it done?

      S 1 Reply Last reply Reply Quote 0
      • qu1queQ Offline
        qu1que Project Sponsor
        last edited by

        Take a look at this post. Maybe it can help you:

        https://forum.magicmirror.builders/topic/10982/how-to-run-two-instances-of-one-module

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

          @FruityBebbles if the developer codes for mutliple instances, then yes, like u coded

          if not, then like the other link, make copies of the module, change its name

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          F 1 Reply Last reply Reply Quote 0
          • F Offline
            FruityBebbles @sdetweil
            last edited by

            @sdetweil @qu1que oh, thanks both of you… I didn’t realize it was as easy as that =]
            Now, to tackle MMM-MirrorMirrorOnTheWall (damn, this is proving to be more difficult than i imagined lol)

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

              @FruityBebbles the voice based modules have a heck of a time… lots of tricky dependencies (which keep changing out from under the module as time goes by)

              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