shbatm / MMM-Carousel

Displays a single magic mirror module at a time, rotating through the list of configured modules in a carousel-like fashion.
MIT License
40 stars 13 forks source link

transitionInterval not working, showPageIndicators not working #1

Closed shbatm closed 6 years ago

shbatm commented 7 years ago

Opened on behalf of @MichiMich:

Hi there,

i tried out your module and installed it as mentioned. If i use your "Example - Slides Carousel" (copy-paste) it displays only the first slide and never gets to the next one. I tried also to enable the "showPageIndicators" but nothing happened. Do you think its possible to check this example and the functions? Or do i miss to install some other modules not mentioned in your ReadMe file?

Thanks and regards

Michael

shbatm commented 7 years ago

@MichiMich:

The "Example - Slides Carousel" config is from @barnabycolby's original repo; I have not checked to see if I broke it in my fork, but I will check the next chance I get (should be within the next week).

For the showPageIndicators: it looks like the examples on the README don't have a module position. It must be set to bottom_bar to show the indicators properly:

{
module: 'MMM-Carousel',
position: "bottom_bar",
config: {
    transitionInterval: 0,
    ignoreModules: ['alert', 'updatenotification'],
    mode: 'slides',
    slides: [
        [{ name: 'clock', classes: 'zoom200'}],
        [{ name: 'clock', classes: 'zoom120'},
            { name: 'calendar', position: 'top_left' },
            'MMM-fitbit',
            'MMM-WunderGround',
            'newsfeed',
        ]
    ]
}
}
MichiMich commented 7 years ago

Thanks a lot. Did not check this... Now it works like a charm with transitionInterval: 0

fatcatcgo commented 6 years ago

It appears I can get the auto advance on every mode except slides. Any ideas? Original carousel advances.

shbatm commented 6 years ago

Please pull the latest update check if that fixed the problem.

cd ~/MagicMirror/modules/MMM-Carousel
git pull
fatcatcgo commented 6 years ago

Works perfectly. Great work!