• 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-ModulesGroupsRotation - simple alternative to MMM-pages

Scheduled Pinned Locked Moved Utilities
28 Posts 4 Posters 2.7k Views 4 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.
  • P Offline
    plainbroke @sdetweil
    last edited by Jun 22, 2024, 12:46 AM

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

    Slow learner. But trying anyways.

    S 1 Reply Last reply Jun 22, 2024, 1:03 AM Reply Quote 0
    • S Away
      sdetweil @plainbroke
      last edited by Jun 22, 2024, 1:03 AM

      @plainbroke AND I ASSUME you only have ONE module on that page…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      P 1 Reply Last reply Jun 22, 2024, 1:44 AM Reply Quote 0
      • P Offline
        plainbroke @sdetweil
        last edited by plainbroke Jun 22, 2024, 1:50 AM Jun 22, 2024, 1:44 AM

        @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"]
                                        ]
                                }
                        },
        .```

        Slow learner. But trying anyways.

        S 1 Reply Last reply Jun 22, 2024, 2:13 AM Reply Quote 0
        • S Away
          sdetweil @plainbroke
          last edited by Jun 22, 2024, 2:13 AM

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

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          P 1 Reply Last reply Jun 22, 2024, 2:15 AM Reply Quote 0
          • P Offline
            plainbroke @sdetweil
            last edited by Jun 22, 2024, 2:15 AM

            @sdetweil
            Well it could have only the one. I could put clock and compliments in the ignore part. if that would make a difference?

            Slow learner. But trying anyways.

            S 2 Replies Last reply Jun 22, 2024, 2:24 AM Reply Quote 0
            • S Away
              sdetweil @plainbroke
              last edited by Jun 22, 2024, 2:24 AM

              @plainbroke just trying to understand the words…

              you said module, but you meant page.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S Away
                sdetweil @plainbroke
                last edited by sdetweil Jun 22, 2024, 11:02 AM Jun 22, 2024, 2:51 AM

                @plainbroke ok here you go

                cd ~/MagicMirror/modules
                rename current MMM-Carousel folder to something else

                git 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 each

                the 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 time

                if 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

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                S 1 Reply Last reply Jun 22, 2024, 7:04 PM Reply Quote 1
                • S Away
                  sdetweil @sdetweil
                  last edited by sdetweil Jun 22, 2024, 7:27 PM Jun 22, 2024, 7:04 PM

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

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  S 1 Reply Last reply Jun 22, 2024, 8:58 PM Reply Quote 1
                  • S Away
                    sdetweil @sdetweil
                    last edited by sdetweil Jun 23, 2024, 8:20 PM Jun 22, 2024, 8:58 PM

                    @plainbroke I’ve updated my fork of MMM-pages with the same function .
                    https://github.com/sdetweil/MMM-pages

                    only they are called pages instead of slides

                    pageTimeout: [ {pageNumber:x, timeout:nnnnn},....]
                    

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 2
                    • L Offline
                      lazerclone @plainbroke
                      last edited by Jun 24, 2024, 1:21 PM

                      @plainbroke The repo is public. Maybe you are trying to clone the https link and not the ssh. Do you still have an issue?

                      S 1 Reply Last reply Jun 24, 2024, 1:47 PM Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        19/28
                        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