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 2.6k 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 on
              • J Offline
                jakabasej4 @KristjanESPERANTO
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0

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