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.

    Cannot get MMM-Carousel 'positional' to work

    Scheduled Pinned Locked Moved Solved Troubleshooting
    4 Posts 2 Posters 440 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.
    • K Offline
      khrusher
      last edited by

      I am trying to use MMM-Carousel to swap out two modules located in the same location. Namely MMM-MyStandings and MMM-MyScorboard. I believe I have the configurations correct, however, they just display above each other.

      In an attempt to debug and look for possible conflicts, I have created a very minimalist config. these two modules display at the same time. I added “showPageIndicators” to aid in debug, they do not display. it is if Carousel is not running

      "modules":[
           {
              "module": "MMM-Carousel",
              "position":"bottom_bar",
              "showPageIndicators":true,
              "config": {
                "transitionInterval": 10000,
                "mode": "positional",
                "top_left": { "enabled": true }
              }
           },
         {
               module: "MMM-Pollen",
               position: "top_left",
               header: "Aiken Pollen",
               config: {
                   updateInterval: 3 * 60 * 60 * 1000, // every 3 hours
                   zip_code: "29801",
                   show_icons: false
               }
           },
       {
              "module":"clock",
              "position":"top_left",
              "config":{
                 "displaySeconds":false,
                 "displayType":"analog",
                 "analogSize":"180px",
                 "analogFace":"face-003"
              }
           },
        ]
      
      > magicmirror@2.31.0 start
      > npm run start:x11
      
      
      > magicmirror@2.31.0 start:x11
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      
      [2025-05-08 09:24:25.189] [LOG]   Starting MagicMirror: v2.31.0
      [2025-05-08 09:24:25.203] [LOG]   Loading config ...
      [2025-05-08 09:24:25.204] [LOG]   config template file not exists, no envsubst
      [2025-05-08 09:24:25.402] [INFO]  Checking config file /home/chris/MagicMirror/config/config.js ...    
      [2025-05-08 09:24:25.426] [INFO]  Your configuration file doesn't contain syntax errors :)       
      [2025-05-08 09:24:25.426] [INFO]  Checking modules structure configuration ...    
      [2025-05-08 09:24:25.469] [INFO]  Your modules structure configuration doesn't contain errors :)       
      [2025-05-08 09:24:25.470] [LOG]   Loading module helpers ...
      [2025-05-08 09:24:25.471] [LOG]   No helper found for module: MMM-Carousel.
      [2025-05-08 09:24:25.551] [LOG]   Initializing new module helper ...
      [2025-05-08 09:24:25.551] [LOG]   Module helper loaded: MMM-Pollen
      [2025-05-08 09:24:25.552] [LOG]   No helper found for module: clock.
      [2025-05-08 09:24:25.552] [LOG]   All module helpers loaded.
      [2025-05-08 09:24:25.555] [LOG]   Starting server on port 8080 ...
      [2025-05-08 09:24:25.868] [LOG]   Server started ...
      [2025-05-08 09:24:25.869] [LOG]   Connecting socket for: MMM-Pollen
      [2025-05-08 09:24:25.869] [LOG]   MMM-Pollen helper started ...
      [2025-05-08 09:24:25.870] [LOG]   Sockets connected & modules started ...
      [2025-05-08 09:24:26.093] [LOG]   Launching application.
      [2025-05-08 09:24:26.723] [INFO]  System information:    
          ### SYSTEM:   manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 5 Model B Rev 1.1; virtual: false    
          ### OS:       platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.12.20+rpt-rpi-2712    
          ### VERSIONS: electron: 35.1.5; used node: 23.11.0; installed node: 23.11.0; npm: 10.9.2; pm2: 5.4.3    
          ### OTHER:    timeZone: America/New_York; ELECTRON_ENABLE_GPU: undefined    
      [2025-05-08 09:29:56.800] [LOG]   Shutting down server...
      [2025-05-08 09:29:56.800] [LOG]   Stopping module helper: MMM-Pollen
      [2025-05-08 09:29:56.801] [LOG]   Node_helpers stopped ...
      

      46cf370e-8339-4421-9182-ba203c1365f2-image.png

      S 1 Reply Last reply Reply Quote 0
      • K Offline
        khrusher @sdetweil
        last edited by

        @sdetweil

        OK, I got this to work. there was an error in the console that I chased with some added console logging.

        Positional does work as I had initially thought. I have two modules now swapping out in my bottom_left area.

        The ignoreModules inside the position config is not optional.

        f55ae701-1508-416d-9d23-b4544ec18d96-image.png

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @khrusher
          last edited by

          @khrusher looking thru the code, I think the meaning of positional is ambiguous

          this rotates BY POSITIONS… all modules in position top_left, then all modules in top_right
          (if you defined BOTH those positions)

          it does NOT rotate the modules inside A position…

          I think positional is a shortcut to having to specify all the modules in the same position on a page…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          K 1 Reply Last reply Reply Quote 0
          • K Offline
            khrusher @sdetweil
            last edited by

            @sdetweil

            OK, I got this to work. there was an error in the console that I chased with some added console logging.

            Positional does work as I had initially thought. I have two modules now swapping out in my bottom_left area.

            The ignoreModules inside the position config is not optional.

            f55ae701-1508-416d-9d23-b4544ec18d96-image.png

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @khrusher
              last edited by

              @khrusher awesome… weird tho…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S sdetweil has marked this topic as solved on

              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
              • 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