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-SimpleBGSlideshow (yet another background slideshow module)

    Scheduled Pinned Locked Moved Utilities
    28 Posts 5 Posters 8.8k Views 6 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.
    • R Offline
      robertybob @sdetweil
      last edited by

      @sdetweil Thank you. I can’t get the module working with MMM-Pages.

      This config doesn’t show any images:

      {
      module: ‘MMM-pages’,
      config: {
      modules: [

      				["clock", "MMM-Tools", "MMM-WiFiPassword",
      					"MMM-Fantasy-Premier-League",
      					//"MMM-ImagesPhotos",
      					"MMM-pihole-stats",
      					//	"MMM-TweetsByTimelineOrList", 
      					"MMM-CyanideHappiness",
      					"uploadPics"
      				],
      			
      			["clock", "MMM-Tools", "MMM-WiFiPassword",
      					"MMM-Fantasy-Premier-League",
      					"MMM-ImagesPhotos",
      					"MMM-pihole-stats",
      					//	"MMM-TweetsByTimelineOrList", 
      					"MMM-CyanideHappiness",
      					"uploadPics"
      				],
      			],
      			//last page ^
      			fixed: [],
      			rotationTime: 2500,
      		}
      	},
      

      but this does:

      	{
      		module: 'MMM-pages',
      		config: {
      			modules: [
      			
      				["clock", "MMM-Tools", "MMM-WiFiPassword",
      					"MMM-Fantasy-Premier-League",
      					"MMM-ImagesPhotos",
      					"MMM-pihole-stats",
      					//	"MMM-TweetsByTimelineOrList", 
      					"MMM-CyanideHappiness",
      					"uploadPics"
      				],
      			
      			["clock", "MMM-Tools", "MMM-WiFiPassword",
      					"MMM-Fantasy-Premier-League",
      					"MMM-ImagesPhotos",
      					"MMM-pihole-stats",
      					//	"MMM-TweetsByTimelineOrList", 
      					"MMM-CyanideHappiness",
      					"uploadPics"
      				],
      			],
      			//last page ^
      			fixed: [],
      			rotationTime: 2500,
      		}
      	},
      

      and as you can see, all I am doing is commenting out the module on the first page. I want to be able to have one page where the photos aren’t displayed as it’s very hard to read the other modules…but it seems the module doesn’t allow that?

      How can I help you figure out what is going on so that this can be corrected ?

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

        @robertybob pages hides or shows modules… (A page being shown sends resume calls to each module and suspend calls to all others)

        usually when you use pages and want to HIDE something on one and SHOW the same on another, you have to have TWO instances in config.js

        looking at the code (not my module) it doesn’t support two independent instances,
        so you have to do the copy/rename/ approach.

        copy the module folder to some other name
        rename the modulename.js to the new foldername.js

        edit the newly renamed file and change the register statement to use the new module/folder name

        all three places MUST match exactly
        and u need to rename the css file AND edit the getStyles to the new name.

        then u can use a new module: instance in config.js and have one on one page and another on another page.

        the module supports suspend and resume (hide/show) , so that will be ok i think…

        again, its not my module… i just happened on it when I started with MM (2017) and didn’t want my images aspect ratio changed…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • M Offline
          MagicInMe
          last edited by

          Hey there, sorry I didn’t get back to you on your question. I’m glad you found a module that works for you! After the frosty reception I received on my initial post I kinda forgot about it all and figured I wouldn’t get much traction on the module to justify making it more user-friendly. If anyone else needs help, you can use github issues.

          W 1 Reply Last reply Reply Quote 0
          • W Offline
            wyovino @MagicInMe
            last edited by

            I’m running this on a Pi Zero 2W. At first it kept freezing because some of my images were way too big. After I resized all of my images to 800 x 600 it’s going great.

            W 1 Reply Last reply Reply Quote 1
            • W Offline
              wyovino @wyovino
              last edited by

              Update: 1024 x 768 works well too on the Pi Zero 2W

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 3
              • 3 / 3
              • 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
                OSZAR »