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-Pages

    Scheduled Pinned Locked Moved Solved Troubleshooting
    6 Posts 4 Posters 514 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.
    • M Offline
      MrPinner141
      last edited by sdetweil

      Tried searching here and couldn’t find anyone with a similar issue. I am trying to get a specific module, MMM-MyCommute, to display only on page 1 of of my MagicMirror. No matter what I do it displays on page 0 as well. I’ve attached my code below. Any insight would be greatly appreciated

      {
              module: "MMM-pages",
              config: {
                  timings: {
                      default: 0,               // rotate every 5 seconds   
                      0: 0,                     // page 0 rotates every 20 seconds
                      1: 20000,
                  },
                  modules: [
                     ["MMM-CalendarExt3"],                // page 0
                     ["MMM-MyCommute"],                   // page 1
                  ],
                  fixed: [                         // modules that are always shown
                      "clock",
                      "MMM-OneCallWeather",
                      "MMM-page-indicator"
                  ],       
                  }
              }    
        ]
      };
      module.exports = config;
      
      KristjanESPERANTOK 1 Reply Last reply Reply Quote 0
      • KristjanESPERANTOK Offline
        KristjanESPERANTO Module Developer @MrPinner141
        last edited by

        @MrPinner141 said in MMM-Pages:

                timings: {
                    default: 0,               // rotate every 5 seconds   
                    0: 0,                     // page 0 rotates every 20 seconds
                    1: 20000,
                },
        

        To understand your setting better:

        • What do you want to achieve with 0 ms for 0 and default?
        • Does the behavior also occur if you enter values above 0 at 0 and default?
        M 1 Reply Last reply Reply Quote 0
        • M Offline
          MrPinner141 @KristjanESPERANTO
          last edited by

          @KristjanESPERANTO

          Thanks for the advice, when I did increase the value above 0 it does function as intended! Thank you.

          I kept it at 0 so that I essentially would have a “homepage” and click the another page’s button, from MMM-page-indicator, to go there and after a short amount of time it comes back to the “homepage”

          I’m sure I can find another work around to achieve that, but if you have any advice that would be great!

          KristjanESPERANTOK S 2 Replies Last reply Reply Quote 0
          • KristjanESPERANTOK Offline
            KristjanESPERANTO Module Developer @MrPinner141
            last edited by

            @MrPinner141 I can’t take a closer look at it right now, but I have an idea for a workaround: But it only works if MM restarts regularly. Some users shut MM down at night and start it up again in the morning. Then you could set the timer for the homepage to over 24 hours, this should have the desired effect that the homepage is always visible.

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

              @MrPinner141 why don’t you use the Homepage feature?

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S sdetweil has marked this topic as solved
              • J Offline
                jakabasej4 @KristjanESPERANTO
                last edited by

                @KristjanESPERANTO said in MMM-Pages:

                I can’t take a closer look at it right now, but I have an idea for a workaround: But it only works if MM restarts regularly. Some users shut MM down at night and start it up again in the morning. https://eldfall-chronicles.com/en-si/pages/dungeoncrawl Then you could set the timer for the homepage to over 24 hours, https://www.viberate.com/ this should have the desired effect that the homepage is always visible.

                That’s a smart workaround

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