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

MMM-EasyPix multiple instances

Scheduled Pinned Locked Moved Troubleshooting
3 Posts 3 Posters 689 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 Jun 17, 2020, 3:47 AM

    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

    S M 2 Replies Last reply Jun 17, 2020, 6:55 AM Reply Quote 0
    • S Offline
      Stoffbeuteluwe Project Sponsor @Bo Barry
      last edited by Jun 17, 2020, 6:55 AM

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

      1 Reply Last reply Reply Quote 0
      • M Offline
        Mykle1 Project Sponsor Module Developer @Bo Barry
        last edited by Jun 17, 2020, 1:35 PM

        @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
        • 1 / 1
        1 / 1
        • First post
          1/3
          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