• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Carousel is not working

Scheduled Pinned Locked Moved Unsolved Troubleshooting
7 Posts 3 Posters 1.2k Views 3 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.
  • S Away
    sdetweil @kusselin
    last edited by Dec 25, 2021, 4:27 PM

    @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 field

    caro is enough

    the code does not check if the slide list is empty, and will fall if so.

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    K 1 Reply Last reply Dec 26, 2021, 9:02 AM Reply Quote 1
    • K Offline
      KristjanESPERANTO Module Developer
      last edited by KristjanESPERANTO Oct 24, 2024, 11:29 AM Dec 25, 2021, 9:56 PM

      barnabycolby did’t update the module since 5 years. I recommend to use a newer fork. Like this one: https://github.com/shbatm/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']
                      }
                  }
          }
      
      1 Reply Last reply Reply Quote 1
      • K Offline
        kusselin @sdetweil
        last edited by kusselin Dec 26, 2021, 9:04 AM Dec 26, 2021, 9:02 AM

        @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.

        K 1 Reply Last reply Dec 26, 2021, 9:05 AM Reply Quote 0
        • K Offline
          kusselin @kusselin
          last edited by Dec 26, 2021, 9:05 AM

          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?

          S K 2 Replies Last reply Dec 26, 2021, 12:20 PM Reply Quote 0
          • S Away
            sdetweil @kusselin
            last edited by Dec 26, 2021, 12:20 PM

            @kusselin I do not know.

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • K Offline
              KristjanESPERANTO Module Developer @kusselin
              last edited by Jan 15, 2022, 3:16 PM

              @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?

              1 Reply Last reply Reply Quote 1
              • 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