Read the statement by Michael Teeuw here.
Cannot get MMM-Carousel 'positional' to work
-
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 ...
-
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.
-
@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…
-
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.
-
@khrusher awesome… weird tho…
-