Read the statement by Michael Teeuw here.
-
https://github.com/barnabycolby/MMM-Carousel
Instead of displaying all of the modules at once, each one is displayed for a configurable amount of time before displaying the next in the list. This is useful on smaller screens, where there is not enough space to display more than a single module.
-
Nice module. Two requests:
a) Please post a “typical” config.js file (not just the minimal instructions - might make it easier for noobs)b) [BIGGER] Can you “flip” the config to “positive inclusion” instead of “negative exclusion” (ie alert) ? Right now all my modules display one at a time - useful on TINY screens, but what I want is this:
Mod A = Top Right
Mod B= Top Right
Mod C = Bottom Left
Mod D = Bottom Left
Mod E = Bottom Rightconfig:
swap={‘Mod A’, Mod B’}, {‘Mod C’, ‘Mod D’}
swaptime = 10000So that I see (alternating):
Mods A, C, E
Mods B, D, E(This was kind of hacked a while ago - please have a look at
https://forum.magicmirror.builders/topic/373/alternating-modules-to-save-on-real-estate)I think it would be a GREAT module, but have lacked the time to do it.
Thanks for at least reading. Nice work,
-
Thanks for the feedback! :)
I’ve created the sample config.js file and opened a GitHub issue for the feature request, which I will get round to at some point.
-
A cool feature to add to this would be for touch screens… instead of scrolling it could be done by touch… like a tablet :)
-
But then… that’s not needed… :)
-
I completely agree, I’ve opened a GitHub issue, but as you can see from the previous conversation, it will take me a while to get around to it. Pull requests welcome :)
-
Hi, how to install on Mac Book Air (have the mirror installed) just not clued up on the module installs via terminal… many thanks…
-
Instructions can be found here: https://github.com/barnabycolby/MMM-Carousel
The instructions should work on a Mac. In short, you want to clone the github repository into the modules directory and modify the magic mirror configuration to use the module.
-
Thanks, tell me can you not just download all the modules and put them in the directory manually rather than using terminal? Thanks!
-
https://github.com/barnabycolby/MMM-Carousel
Ok think i have working as only have one thing showing at a time… how can i define to specific things for specific times?
-
You need to modify your config.js file, a sample configuration that uses MMM-Carousel can be found here
-
Many thanks
-
@barnabycolby will need some help with your module…
How to use it to ONLY rotate 2 modules instead of all of them ?
I have for the moment 10 modules displayed on the screen and would like to rotate only 1 of them with another one…
-
@PointPubMedia Don’t you need to just put the ones you don’t want to rotate in IgnoreModules? I haven’t installed it, but that looks like the intent…
-
@PointPubMedia
Once I get home, i can post MY CRUDE hack for that…
I am on pacific time, though. So give me at least 10 hours -
Yep, @frog is correct. Include the name of all modules in the ignoreModules configuration option EXCEPT from the two modules you wish to rotate.
-
@PointPubMedia
I like @barnabycolby 's version (ie exempting all but the ones you want to rotate) a lot.
But here is something KirAsh4 made for me a while ago
https://forum.magicmirror.builders/topic/373/alternating-modules-to-save-on-real-estate/3
that will do the job too - and it will let you learn a bit java along the wayEnjoy
-
@amanzimdwini Really like the version of @KirAsh4 …
But how to rotate the “same” module ? I’m using the iframe module more than one time, and I would like to rotate all of them…
-
@PointPubMedia
Sorry - what are you trying to ask me? I can send you “my” module (basically hacked KirAsh’s a bit - works like a charm). I’m actually trying to use the “Carousel” right now… -
I’m saying that i’m using the swap code from the URL you gave me! But this works like a charm for different module at the same location! What I’m trying to do it’s to rotate the same module with different configuration at the same place!
I’m using the iFrame module to display some graphic from Grafana and I would need to “rotate” a couple of them on MM at the same location! So instead of having 3-4 iFrame at the same time, I will alternate all of them at the same location to save on space!
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