Read the statement by Michael Teeuw here.
MMM-ModulesGroupsRotation - simple alternative to MMM-pages
-
@sdetweil
I would like to keep my photos module running say 5 mins and the rest 90 seconds. -
@plainbroke are those pages, or modules.in pages.
I’m doing design in my head… trying
to figure out how it could work -
@sdetweil
Actually modules in carousel. -
@plainbroke the question was is this a page, or a module on a page you want to control.
-
@sdetweil
module on a page, sorry I didn’t understand the question. -
@plainbroke well, you say module to display longer but i think you mean page the module is on to display longer
-
@sdetweil
Ok you are probably correct, I am not that versed in all this MM stuff. -
@plainbroke you don’t need to be MagicMirror versed. just say what you want to happen
-
@sdetweil
Ok,
I would like for the mmm-photo module running in carousel to stay running for 3-5 minutes and then for the next module to run at 90 seconds and that continue for the next 37 modules until It comes back around to the photos one again and I want it to run for the 3-5 minutes again… I have a BUNCH of pictures of my Grand kids I like to see as many as possible. each time they come around on the mirror. -
@plainbroke AND I ASSUME you only have ONE module on that page…
-
@sdetweil
Yes, you are correct.module: "MMM-Carousel", config: { transitionInterval: 90000, ignoreModules: [], mode: "slides", slides: [ ["MMM-CalendarExt3", "clock", "compliments"], ["calendar", "clock", "compliments"], ["facts", "clock", "compliments"], ["iFrame", "clock"], ["MMM-ATM", "clock", "compliments"], ["MMM-CalvinAndHobbes"], ["MMM-CloneWarsQuotes", "clock", "compliments"], ["MMM-Cocktails", "clock", "compliments"], ["MMM-CountDown", "clock", "compliments"], ["MMM-CoupleDays", "clock", "compliments"], ["MMM-DailyQuote", "clock", "compliments"], ["MMM-DateCounter", "clock", "compliments"], ["MMM-RTSPStream"], ["MMM-Dogs", "clock", "compliments"], ["MMM-EmbedURL"], ["MMM-Evil", "clock", "compliments"], ["MMM-EyeCandy", "clock", "compliments"], ["MMM-Fuel"], ["MMM-Gas", "clock", "compliments"], ["MMM-Globe", "clock", "compliments"], ["MMM-GmailFeed", "clock", "compliments"], ["MMM-History", "clock", "compliments"], ["MMM-icanhazdadjoke", "clock", "compliments"], ["MMM-iFrameReload"], ["MMM-ImagesPhotos", "clock", "compliments"], // ["MMM-RTSPStream2"], ["MMM-Jast", "clock", "compliments"], ["MMM-MyWordOfTheDay", "clock", "compliments"], ["MMM-NetworkScanner", "clock", "compliments"], ["MMM-Oneliner", "clock", "compliments"], ["MMM-OpenWeatherForecast", "clock", "complimen$ ["MMM-quote-of-the-day", "clock", "compliments"$ ["MMM-RAIN-MAP"], ["MMM-rfacts", "clock", "compliments"], ["MMM-SimpleLogo", "clock", "compliments"], ["MMM-TrivialAbyss", "clock", "compliments"], ["MMM-WebView"], ["MMM-WeasleyClock"], ["random_quotes", "clock", "compliments"] ] } }, .``` -
@plainbroke said in MMM-ModulesGroupsRotation - simple alternative to MMM-pages:
["MMM-ImagesPhotos", "clock", "compliments"],I only see one that that display images that I am aware of… and it has 3 modules.
-
@sdetweil
Well it could have only the one. I could put clock and compliments in the ignore part. if that would make a difference? -
@plainbroke just trying to understand the words…
you said module, but you meant page.
-
@plainbroke ok here you go
cd ~/MagicMirror/modules
rename current MMM-Carousel folder to something elsegit clone https://github.com/sdetweil/MMM-Carousel
same config.js with one addition
new field
slideTimeout: [ { index: 0, timeout:5*60*1000}, // this one is more than your transitionInterval { index: 12: timeout: 1*60*1000} // this one is less than your transition interval ],index starts at 0 for 1st slide in the slides list
you can override as many as you like with different settings for eachthe timeout value is in milliseconds like the transitionInterval
if any slide’s index is not in the slideTimeout list,
then it gets the transitionInterval delay timeif you don’t add any slideTimeout entries, it just like the previous module…
the slideTimeout list does not have to be in any particular order
-
@plainbroke I decided that index was a lousy term , slideNumber is better and starts with 1
it is a more human thing…
either will work, index starting at 0, or slideNumber start at 1
I have updated the readme as well.
-
@plainbroke I’ve updated my fork of MMM-pages with the same function .
https://github.com/sdetweil/MMM-pagesonly they are called pages instead of slides
pageTimeout: [ {pageNumber:x, timeout:nnnnn},....] -
@plainbroke The repo is public. Maybe you are trying to clone the https link and not the ssh. Do you still have an issue?
-
@lazerclone I was able to fork, i submitted a pr for this different page timeout
-
@sdetweil Nice! I just merged your PR
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