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.

    MMM-Carousel broken?

    Scheduled Pinned Locked Moved Troubleshooting
    4 Posts 2 Posters 486 Views 2 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.
    • J Offline
      jbishop129
      last edited by

      Hey all, I’ve been a long-time MM user, and recently built a new Mirror using the “MagicMirror OS” image, on a RasPi 4 with the official 7" touchscreen. Works well!
      I can’t figure out why “MMM-Carousel” doesn’t seem to be working for me any longer, and was wondering if maybe it is deprecated now? In the past, I’ve used it just for the “positional” mode, to move some things around on-screen from time to time, to prevent burn-in. My understanding is, once set up properly, any modules that are in the same position field are rotated through… so for example, duplicating my “clock” and “weather” modules, and in the second instance just switching their position, they will rotate through, via Carousel. Doesn’t seem to be working any longer, and I just have a duplicated, jumbled mess on my Mirror. Here’s my config, let me know if I’ve missed something, or if there’s detailed logging I’m overlooking that would point me in the right direction. Thanks! Slight redactions for privacy here:

      var config = {
        address: "0.0.0.0",
        port: 8080,
        ipWhitelist: [],
        language: "en",
        timeFormat: 12,
        units: "imperial",
        modules: [
          {
            module: "MMM-Carousel",
            config: {
              transitionInterval: 10000,
              ignoreModules: ["MMM-BackgroundSlideshow"],
              mode: "positional",
              top_left: {enabled: true, ignoreModules: []},
              upper_third: {enabled: true, ignoreModules: []},
            }
          },
      
          {
            module: 'MMM-BackgroundSlideshow',
            position: 'fullscreen_below',
            config: {
              imagePaths: ['modules/MMM-BackgroundSlideshow/exampleImages/'],
              transitionImages: true,
              transitions: ['opacity'],
              slideshowSpeed: 120000,
              randomizeImageOrder: true,
              transitionSpeed: '10s',
              gradient: [ "rgba(0, 0, 0, 0.75) 0%", "rgba(0, 0, 0, 0.40) 80%" ]
            }
          },
      
      // Carousel position 1
          {
            module: "clock",
            position: "top_left",
            config: {
              showPeriod: false,
              clockBold: false
            }
          },
      
          {
              module: "weather",
              position: "upper_third",
              config: {
                type: 'current',
                weatherProvider: "openweathermap",
                roundTemp: true,
                degreeLabel: true,
                showHumidity: true,
                showFeelsLike: false,
                showWindDirectionAsArrow: true,
                appendLocationNameToHeader: false,
                location: "xxx",
                updateInterval: 300000,
                apiKey: "xxx"
              }
          },
      
      // Carousel position 2
          {
            module: "clock",
            position: "upper_third",
            config: {
              showPeriod: false,
              clockBold: false
            }
          },
      
          {
              module: "weather",
              position: "top_left",
              config: {
                type: 'current',
                weatherProvider: "openweathermap",
                roundTemp: true,
                degreeLabel: true,
                showHumidity: true,
                showFeelsLike: false,
                showWindDirectionAsArrow: true,
                appendLocationNameToHeader: false,
                location: "xxx",
                updateInterval: 300000,
                apiKey: "xxx"
              }
          },
      
          {
            module: "MMM-YT-SubCount",
            position: "middle_center",
            config: {
              apiKey: "xxx",
              showChannelImg: false,
              updateInterval: 15000,
              channelIds: [
                {
                  id: "xxx"
                }
              ]
            }
          },
      
          {
            module: "newsfeed",
            position: "bottom_bar",
            config: {
              feeds: [
                {
                  title: "New York Times",
                  url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
                },
                {
                  title: "BBC",
                  url: "http://feeds.bbci.co.uk/news/video_and_audio/news_front_page/rss.xml?edition=us"
                }
              ],
              showSourceTitle: true,
              showPublishDate: true,
              showDescription: true,
              lengthDescription: 500,
              updateInterval: 20000,
              ignoreOldItems: true
            }
          }
      
        ]
      };
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @jbishop129
        last edited by

        @jbishop129 did u check to see if there were any errors? in the log of the MM start (npm start )

        also in the developers window console (ctrl-shift-i on the MM scren keyboard), select the console tab and put a unique of the module name in the filter field (caro for this module) to minimze the mesages to view

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          jbishop129 @sdetweil
          last edited by

          @sdetweil Thanks for the quick response! I dont see any errors in the npm start sequence:

          [29.04.2021 10:57.48.313] [LOG]   Starting MagicMirror: v2.15.0
          [29.04.2021 10:57.48.318] [LOG]   Loading config ...
          [29.04.2021 10:57.48.325] [LOG]   Loading module helpers ...
          [29.04.2021 10:57.48.327] [LOG]   No helper found for module: MMM-Carousel.
          [29.04.2021 10:57.48.346] [LOG]   Initializing new module helper ...
          [29.04.2021 10:57.48.347] [LOG]   Module helper loaded: MMM-BackgroundSlideshow
          [29.04.2021 10:57.48.349] [LOG]   No helper found for module: clock.
          [29.04.2021 10:57.48.350] [LOG]   No helper found for module: weather.
          [29.04.2021 10:57.48.401] [LOG]   Initializing new module helper ...
          [29.04.2021 10:57.48.402] [LOG]   Module helper loaded: newsfeed
          [29.04.2021 10:57.48.403] [LOG]   All module helpers loaded.
          [29.04.2021 10:57.48.502] [LOG]   Starting server on port 8080 ... 
          [29.04.2021 10:57.48.515] [LOG]   Server started ...
          [29.04.2021 10:57.48.516] [LOG]   Connecting socket for: MMM-BackgroundSlideshow
          [29.04.2021 10:57.48.517] [LOG]   Connecting socket for: newsfeed
          [29.04.2021 10:57.48.518] [LOG]   Starting node helper for: newsfeed
          [29.04.2021 10:57.48.519] [LOG]   Sockets connected & modules started ...
          [29.04.2021 10:57.48.731] [LOG]   Launching application.
          [29.04.2021 10:57.50.370] [LOG]   Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
          [29.04.2021 10:57.50.386] [LOG]   Create new news fetcher for url: http://feeds.bbci.co.uk/news/video_and_audio/news_front_page/rss.xml?edition=us - Interval: 300000
          [29.04.2021 10:57.51.137] [INFO]  Newsfeed-Fetcher: Broadcasting 35 items.
          [29.04.2021 10:57.51.942] [INFO]  Newsfeed-Fetcher: Broadcasting 65 items.
          
          

          … and the browser developer console logs are free of errors as well. I see all the modules as Registered. hmmm.
          For what it’s worth, I have tried both flavors of the MMM-Carousel plugin:
          Original
          Forked

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            jbishop129 @jbishop129
            last edited by

            Fixed! Turns out (at least for me) “MMM-YT-SubCount” is broken. I noticed sub counts were not updating on this plugin, only updated on a MM restart. I swapped it out for MMM-YouTubeChannelStats which works perfectly, and Carousel started working normally after that. Hope this helps someone

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