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.

    MMM-EasyPix multiple instances

    Scheduled Pinned Locked Moved Troubleshooting
    3 Posts 3 Posters 967 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.
    • B Offline
      Bo Barry
      last edited by

      I’m using the Carousel program to have multiple screens (& pictures) displayed (using a bluetooth pointing mouse) and cannot configure EasyPix to do but one.

      I tried making a copy of the EasyPix as EasyPix2 and added it to the config file but it didn’t work. Adding pics to the EasyPix config alone didn’t work, but I think it would simply display them sequential without control.

      Basically is there a way to have multiple copies of the same module with their name changed to be able to call/use them?

      Or perhaps a better module. Going to re-check the carousel module to see if it will do the trick.
      Thanks, Bo W4GHV since '54

      StoffbeuteluweS Mykle1M 2 Replies Last reply Reply Quote 0
      • StoffbeuteluweS Offline
        Stoffbeuteluwe Project Sponsor @Bo Barry
        last edited by

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

        1 Reply Last reply Reply Quote 0
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @Bo Barry
          last edited by

          @Bo-Barry said in MMM-EasyPix multiple instances:

          Or perhaps a better module.

          There are many of those. :-)

          Addressing your concerns regarding MMM-EasyPix. You can add multiple instances, with or without making a copy and renaming it.

          {
              module: "MMM-EasyPix",
          	position: "top_center",
          	config: {
          		picName: "18.jpg", // Enter the picture file name.
          		maxWidth: "75%",        // Size picture precisely. Retains aspect ratio.
          		sounds: ["1.mp3", "me2.mp3"],  // mp3 sound file names in quotes seperated by commas for Hello-Lucy
          		updateInterval: 30 * 60 * 1000,     // updates display
          	        animationSpeed: 3000,
          	}
          },
          {
          module: "MMM-EasyPix",
          position: "top_center",
          config: {
          picName: "4.jpg", // Enter the picture file name.
          maxWidth: "75%",        // Size picture precisely. Retains aspect ratio.
          sounds: ["1.mp3", "me2.mp3"],  // mp3 sound file names in quotes seperated by commas for Hello-Lucy
          updateInterval: 30 * 60 * 1000,     // updates display
              animationSpeed: 3000,
          }
          },
          {
          module: "MMM-EasyPix2",
          position: "top_center",
          config: {
          picName: "alien.png", // Enter the picture file name.
          maxWidth: "75%",        // Size picture precisely. Retains aspect ratio.
          sounds: ["1.mp3", "me2.mp3"],  // mp3 sound file names in quotes seperated by commas for Hello-Lucy
          updateInterval: 30 * 60 * 1000,     // updates display
              animationSpeed: 3000,
          }
          },
          

          Screenshot from 2020-06-17 09-32-06.png

          Create a working config
          How to add modules

          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