MMM-pages & MMM-pages-indicator - Have module pages on your mirror!


  • Module Developer

    Ever want your mirror to have pages of modules, similarly to how the screens on your phone work?

    I would like to present to you all MMM-pages!

    You can set what apps modules you want on each page and what modules you want always on. In the example, I have the clock and weather modules always shown (as well as the page indicator), while switching out the rest.

    I originally wanted to add animations (slide left/right) to the modules, but I’m actually very satisfied with how it looks right now. Leave a comment/issue on github if you’d really want those.

    Please note that this does not provide manual page changing functionality! You need to have a module that sends a specific notification to change the page!

    It’s difficult to implement some form of input recognition when there’s dozens of input methods encapsulated in their own modules. That would require me to basically have some variant of that module in this module, which would bloat it to no end. Asking your module input authors to send a request on a specific action instead is keeps everything relatively bloat free.

    Download link:

    While you’re at it, you may want something to indicate which page you’re on, so here’s something to help with that!

    MMM-page-indicator!

    example

    No need to worry about what page you’re on! With MMM-pages-indicator, you can see what page you’re on! You don’t even have to worry about configuring it, MMM-pages automatically configures it for you! Just add it to your modules!

    Download:

    Quick FAQ:
    Why separate the two? Why not make it one thing?

    It would make sense to, wouldn’t it? But I wanted this to be modular so that if you don’t like my pages module, you can still use the pages-indicator module for something else. I hated it when I’d love to take a single feature but couldn’t because it was so tightly integrated with the entire thing, so I’m trying to avoid that.

    Can I make a pull request to add features?

    Please do.

    It doesn’t work!

    Please be more specific.

    How come it changes by itself in the video?

    I actually have a separate module set up to read input from a skywriter, but it’s not ready yet for public release.



  • Very nice module!

    I actually worked on something similar with a fork of MMM-Carousel with clickable indicators and arrow buttons here: https://github.com/shbatm/MMM-Carousel

    After working on a few modules for navigation I can totally understand walking the fine line between features and bloat. Feel free to take a look and borrow anything you want… I’m also open to any suggestions for improvement.


  • Module Developer

    Hey! that looks pretty slick! I especially like your indicator design. I actually considered forking MMM-carousel too, but after taking a look at the code, it seemed like it would be easier to just make my own. Yours definitely seems more fleshed out, especially with the advanced module slides settings.

    I think our projects have different audiences: mine lets people quickly get going, while yours definitely provides more features for those who really want to customize their mirror. If I had known about yours, I definitely would have just used yours instead! :D



  • This post is deleted!


  • This post is deleted!

Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.