Read the statement by Michael Teeuw here.
Carousel is not working
-
Hello everyone and Merry Christmas…I have set up my MagicMirror again and installed the module carousel from barnabycolby.
so now my config looks like this:
{ module: 'MMM-Carousel', config: { transitionInterval: 40000, ignoreModules: ['clock', 'alert', 'MMM-Tools', 'MMM-OpenmapWeather', 'MMM-PublicTransportHafas', 'weatherforecast', 'calendar', 'newsfeed', 'MMM-Remote-Control', 'MMM-Traffic', 'MMM-Fuel'], mode: 'slides', slides: [ ['MMM-SoccerLiveScore'], ['MMM-Formula1', 'MMM-COVID19-AMPEL'], [], [], [], ] } },
that means now all modules that are under “IGNORE” they are not slided right? so they always remain as specified then…
Now it is with me in such a way that after starting the mirror also the modules standing accordingly in the “Ingnore” are indicated…then comes the first slide with the Soccer table udn then after 40000 milisec the fomel1 udn the Covid…after further 40000 milisec however then no more slide is indicated :-(
Normally the SoccerModul should start again and then again fomel1 and covid… but it does not :-(
What am I doing wrong here? Would be really nice if you can help me here on the Sprümnge. Since I have old a small mirror I would like to sliden geren.
With MMM-Pages I have already tried - but here I have the error that the weather is not displayed. Known error.
Thanks for your help.
Greetings
Translated with www.DeepL.com/Translator (free version)
-
@kusselin I think your empty slides( []), have caused a fatal error
open the developers window ctrl-shift-i on the keyboard, and select the console tab.
put part of the module name in the filter fieldcaro is enough
the code does not check if the slide list is empty, and will fall if so.
-
barnabycolby did’t update the module since 5 years. I recommend to use a newer fork. Like this one: https://github.com/KristjanESPERANTO/MMM-Carousel/
The following config should work with the new fork:
{ module: 'MMM-Carousel', config: { transitionInterval: 40000, ignoreModules: ['clock', 'alert', 'MMM-Tools', 'MMM-OpenmapWeather', 'MMM-PublicTransportHafas', 'weatherforecast', 'calendar', 'newsfeed', 'MMM-Remote-Control', 'MMM-Traffic', 'MMM-Fuel'], mode: 'slides', slides: { "Slide 1": ['MMM-SoccerLiveScore'], "Slide 2": ['MMM-Formula1', 'MMM-COVID19-AMPEL'] } } }
-
@sdetweil said in Carousel is not working:
I think your empty slides( []), have caused a fatal error
open the developers window ctrl-shift-i on the keyboard, and select the console tab.
put part of the module name in the filter field
caro is enough
the code does not check if the slide list is empty, and will fall if so.Hi Sam, thanks…this mit the empty [] was the mistake. Now the Modul is working.
-
another question I have: udn namely when the modules change it can be that these are very “WIDE” at once…at the repeated change then again normal in the width become…woran lies this? can that be?
-
@kusselin I do not know.
-
@kusselin said in Carousel is not working:
another question I have: udn namely when the modules change it can be that these are very “WIDE” at once…at the repeated change then again normal in the width become…woran lies this? can that be?
Does this also happen with the new fork I recommended?