MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

MMM-EasyPix multiple instances



  • 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


  • Project Sponsor


  • Project Sponsor Module Developer

    @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


Log in to reply