MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. rkorell
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    R
    Offline
    • Profile
    • Following 0
    • Followers 1
    • Topics 25
    • Posts 420
    • Groups 1

    Posts

    Recent Best Controversial
    • Standard Weather Module showing unwanted header

      Hi Team,
      may there a specialist for the standard weather module who can lead me in right direction…
      It was disappeared for a while but re-introduces for unknown reasons:
      The weather module displays a “standard” header (Location name) despite my personal config.js setting (see below).
      I do have two instances of the module - as many others I guess - one current (classes: weather_current), one forecast (classes: weather_forecast).
      The error is neither consistent nor reproducable:
      Sometimes one of the instances shows a header, sometimes both, sometimes none of them.
      The view is inconsistent, too for (HDMI attached) monitor and browser view!

      And while playing around with custom CSS for this module I’ve identified that setting

      .weather_current .module-header 
       {
      border-bottom-width: 3;
      }
      

      in custom.css makes the module disappearing completely.

      The weather module configuration in config.js is as follows:

      // Wetter aktuell für Müllenborn		
      
      		{
      			module: "weather",
      			disabled: false,
      			position: "top_right", 
                  header: "",
                  classes: "weather_current", 
      			config: {
      				weatherProvider: "openmeteo",
      				type: "current",
      				lat: 50.24127,
      				lon: 6.61174403,
      				onlyTemp: true, // zeigt nur die temp und icon, kein wind kein gar nix :-) 
      				showSun: false,
      				appendLocationToHeader: false,
      				showFeelsLike: false,
      			}
      		},
      
      
      // Wettervorhersage - 
      
      		{
      			module: "weather",
      			position: "top_right",
      			disabled: false,
      			header: "",
      			classes: "weather_forecast",
      			config: {
      				weatherProvider: "openmeteo",
      				type: "forecast",
      				lat: 50.24127,
      				lon: 6.6174403,
      				appendLocationToHeader: false,				
      
      			}
      		}, 
      
      
      

      currently I have “solved” this with two entries in custom.css:

      .weather_current .module-header 
       {
      color: black;
      border-bottom-width: 0;
      border-bottom-color: black;
      }
      
      .weather_forecast .module-header 
       {
      color: black;
      border-bottom-width: 0;
      border-bottom-color: black;
      }
      
      

      But this is kind of unsatisfactory …

      I guess there is a bug in the module - what do you think?

      Thanks and regards,
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: My new MagicMirror will not start with Wayland?

      @sdetweil As I wrote initially “npm run start:wayland” doesn’t work …
      (despite wayland configured).
      And the “stored” auto-start option npm run start:x11 DOES work - for whatever reason.

      VNC was really sluggish on this, performance a nightmare so - see above marked as “solution” I switched back to x11 and all is working fine.

      In the meantime I’ve also managed to get MMM-Pir to work by idenitfying and correcting two errors in Bugsounet’s code …

      Warm regards,
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: How can I limit the width of a module that's crossing over from left to right?

      @sdetweil Dear Sam,
      thanks for this long explanation.
      Understood.

      But you did it again :-) (no worries - it’s my own inability…).

      You’ve introduced - magic again :-) - a .today identifier …
      This definitely makes sens but is not “visible” from a dummie perspective …
      Just to illustrate what I mean.
      If one KNOWS what happens (remember our long discussion in another thread where I was not able to pick the right “div” tag in the console) all is quite easy.
      If not - it’s really hard . That’s all what I try to show…
      And yes - the right way is and should be to get a full understanding how CSS works - which is not true in my personal case…
      So I’m seeking around with “trial and error” - which fails often…

      Thanks for your engagement and effort!

      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: How can I limit the width of a module that's crossing over from left to right?

      @sdetweil

      then you aren’t using it correctly…

      yes :-)
      For sure.
      But in your given (referenced) example (Thanks for this - highly appreciated!) is happening exacty this “magic” which I cannot get through …

      Example:

      your “magic” reduces

      .CX3 div .cell.today.thisMonth.thisYear.year_2025.month_3.date_25.weekday_2 div.cellHeader div.cellDate {
       height: 1em;
      text-align: left;
      }
      

      to much simpler

      .CX3 div .cell.today div.cellDate {
       height: 1em;
      }
      

      The reason behind is pretty clear but from my (naive and may incorrect) “understanding” MY approach would be

      .CX3 div .cell.today div.cellHeader div.cellDate {
       height: 1em;
      }
      

      And I’m sure this is wrong and won’t work.
      But why “div.cellHeader” is NOT neccesary regardless it’s presence in the copied locator - is kind of “contra-intuitive” and hard to understand …

      And I guess this exactly are these issues why I’m struggling…

      Warm regards,
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: How can I limit the width of a module that's crossing over from left to right?

      @sdetweil yes, for sure.
      I’ve experimented a lot - even with trials to identify CSS-locator with debug-console (which fails)…
      Finally this simple statement in module-documentes CSS-locator works fine…
      :-)
      Lucky punch …

      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: How can I limit the width of a module that's crossing over from left to right?

      @BKeyport , @Kelemvor
      Thanks!

      max-width: 350px;
      

      worked for me.

      • I had a similar “problem” with module MMM-UselessFacts

      word-wrap doesn’t do the trick …

      Regards,
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: My new MagicMirror will not start with Wayland?

      @sdetweil said in My new MagicMirror will not start with Wayland?:

      rm -rf ~/.config/Electron

      quick question: will this command help, anyway to get “performance” fixed?
      Background: Since running on Pi5 / bookworm the mirror has “problems” on reboot.
      Module load is extremely slow (minutes!).
      A “pm2 reload MagicMirror” after reboot leads to way faster module loadings.

      Thanks,
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: My new MagicMirror will not start with Wayland?

      @sdetweil said in My new MagicMirror will not start with Wayland?:

      note that npm start issues npm run start:x11

      ? can you kindly please eloborate?
      Didn’t get you, sorry!

      posted in Troubleshooting
      R
      rkorell
    • RE: MMM-Universal-Pir - Desparately seeking right command

      @rkorell said in MMM-Universal-Pir - Desparately seeking right command:

      “DISPLAY=:0.0 xrandr --output HDMI-1 --off” / “DISPLAY=:0.0 xrandr --output HDMI-1 --primary --mode 2560x1440 --rate 59.951 --pos 0x0 --rotate left”

      these are the right commands and are working now!

      (If one was not too blonde to switch the commands …)
      My fault - I’ve entered the on comand to the off parameter …
      Sorry!

      Regards,
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: My new MagicMirror will not start with Wayland?

      @sdetweil Thanks!

      overall it doesn’t work for me :-(
      system is so slow that even editing config.js took 8 seconds to load the tiny file from pi to Laptop…
      So I’ve re-configured to X11 …
      NO idea what happened but unusable with wayland.
      In addition the target of whole szenario - to get MMM-Pir working without error message is not reached because with wayland, too an error is produced …
      So I will stay with X11 and try MMM-Pir-universal …
      (which is kinda unreliable…)

      Warm regards,
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: My new MagicMirror will not start with Wayland?

      @rkorell Addition:

      to my 100% surprise the mirror now works - but: extremely slow.
      it is started with “npm run start:x11” !!!
      (in a Wayland configuration !?)

      loginctl show-session 1 | grep "Desktop"
      Desktop=LXDE-pi-wayfire
      pi@MagicMirrorPi5:~ $ 
      
      0|MagicMir | > magicmirror@2.31.0-develop start
      0|MagicMir | > npm run start:x11
      0|MagicMir | 
      0|MagicMir | 
      0|MagicMir | > magicmirror@2.31.0-develop start:x11
      0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      0|MagicMir | 
      0|MagicMir | [2025-03-28 11:39:58.784] [LOG]   Starting MagicMirror: v2.31.0-develop 
      0|MagicMir | [2025-03-28 11:39:58.794] [LOG]   Loading config ... 
      0|MagicMir | [2025-03-28 11:39:58.795] [LOG]   config template file not exists, no envsubst 
      0|MagicMir | [2025-03-28 11:39:58.979] [INFO]  Checking config file /home/pi/MagicMirror/config/config.js ... 
      0|MagicMir | [2025-03-28 11:39:59.040] [INFO]  Your configuration file doesn't contain syntax errors :) 
      0|MagicMir | [2025-03-28 11:39:59.040] [INFO]  Checking modules structure configuration ... 
      0|MagicMir | [2025-03-28 11:39:59.077] [INFO]  Your modules structure configuration doesn't contain errors :) 
      0|MagicMir | [2025-03-28 11:39:59.078] [LOG]   Loading module helpers ... 
      0|MagicMir | [2025-03-28 11:39:59.079] [LOG]   No helper found for module: alert. 
      0|MagicMir | [2025-03-28 11:39:59.079] [LOG]   No helper found for module: MMM-MagicMover. 
      0|MagicMir | [2025-03-28 11:39:59.079] [LOG]   No helper found for module: clock. 
      0|MagicMir | [2025-03-28 11:39:59.079] [LOG]   No helper found for module: MMM-Profilepicture. 
      0|MagicMir | [2025-03-28 11:39:59.088] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.088] [LOG]   Module helper loaded: MMM-Logging 
      0|MagicMir | [2025-03-28 11:39:59.095] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.095] [LOG]   Module helper loaded: MMM-MoonPhase 
      0|MagicMir | [2025-03-28 11:39:59.095] [LOG]   No helper found for module: MMM-Globe. 
      0|MagicMir | [2025-03-28 11:39:59.095] [LOG]   No helper found for module: weather. 
      0|MagicMir | [2025-03-28 11:39:59.129] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.129] [LOG]   Module helper loaded: MMM-JsonValue 
      0|MagicMir | [2025-03-28 11:39:59.137] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.137] [LOG]   Module helper loaded: MMM-MyGarbage 
      0|MagicMir | [2025-03-28 11:39:59.137] [LOG]   No helper found for module: MMM-CalendarExt3Agenda. 
      0|MagicMir | [2025-03-28 11:39:59.213] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.213] [LOG]   Module helper loaded: MMM-Todoist 
      0|MagicMir | [2025-03-28 11:39:59.250] [LOG]   2025-03-28T11:39:59 <log> init module helper birthdaylist (/home/pi/MagicMirror/modules/birthdaylist/node_helper.js:15 Class.init) 
      0|MagicMir | [2025-03-28 11:39:59.250] [LOG]   Module helper loaded: birthdaylist 
      0|MagicMir | [2025-03-28 11:39:59.251] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.251] [LOG]   Module helper loaded: MMM-SystemMonitor 
      0|MagicMir | [2025-03-28 11:39:59.357] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.357] [LOG]   Check MagicMirror² version for node helper 'MMM-Strava' - Minimum version: 2.2.0 - Current version: 2.31.0-develop 
      0|MagicMir | [2025-03-28 11:39:59.358] [LOG]   Version is ok! 
      0|MagicMir | [2025-03-28 11:39:59.358] [LOG]   Module helper loaded: MMM-Strava 
      0|MagicMir | [2025-03-28 11:39:59.358] [LOG]   No helper found for module: MMM-EventHorizon. 
      0|MagicMir | [2025-03-28 11:39:59.389] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.389] [LOG]   Module helper loaded: MMM-FRITZ-Box-Callmonitor-py3 
      0|MagicMir | [2025-03-28 11:39:59.511] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.511] [LOG]   Module helper loaded: MMM-NowPlayingOnSpotify 
      0|MagicMir | [2025-03-28 11:39:59.512] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.512] [LOG]   Module helper loaded: MMM-SystemInfo 
      0|MagicMir | [2025-03-28 11:39:59.539] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.539] [LOG]   Module helper loaded: newsfeed 
      0|MagicMir | [2025-03-28 11:39:59.539] [LOG]   No helper found for module: MMM-UselessFacts. 
      0|MagicMir | [2025-03-28 11:39:59.559] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.559] [LOG]   Module helper loaded: MMM-Remote-Control 
      0|MagicMir | [2025-03-28 11:39:59.597] [LOG]   Initializing new module helper ... 
      0|MagicMir | [2025-03-28 11:39:59.597] [LOG]   Module helper loaded: calendar 
      0|MagicMir | [2025-03-28 11:39:59.598] [LOG]   All module helpers loaded. 
      0|MagicMir | [2025-03-28 11:39:59.601] [LOG]   Starting server on port 8080 ...  
      0|MagicMir | [2025-03-28 11:39:59.940] [LOG]   Server started ... 
      0|MagicMir | [2025-03-28 11:39:59.941] [LOG]   Connecting socket for: MMM-Logging 
      0|MagicMir | [2025-03-28 11:39:59.942] [LOG]   2025-03-28T11:39:59 <log> Module helper started for MMM-Logging (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:19 Class.start) 
      0|MagicMir | [2025-03-28 11:39:59.942] [LOG]   Connecting socket for: MMM-MoonPhase 
      0|MagicMir | [2025-03-28 11:39:59.943] [LOG]   Starting module helper: MMM-MoonPhase 
      0|MagicMir | [2025-03-28 11:39:59.943] [LOG]   Connecting socket for: MMM-JsonValue 
      0|MagicMir | [2025-03-28 11:39:59.943] [LOG]   Connecting socket for: MMM-MyGarbage 
      0|MagicMir | [2025-03-28 11:39:59.944] [LOG]   2025-03-28T11:39:59 <log> Starting node_helper for module: MMM-MyGarbage (/home/pi/MagicMirror/modules/MMM-MyGarbage/node_helper.js:9 Class.start) 
      0|MagicMir | [2025-03-28 11:39:59.944] [LOG]   Connecting socket for: MMM-Todoist 
      0|MagicMir | [2025-03-28 11:39:59.946] [LOG]   2025-03-28T11:39:59 <log> Starting node helper for: MMM-Todoist (/home/pi/MagicMirror/modules/MMM-Todoist/node_helper.js:19 Class.start) 
      0|MagicMir | [2025-03-28 11:39:59.946] [LOG]   Connecting socket for: birthdaylist 
      0|MagicMir | [2025-03-28 11:39:59.947] [LOG]   Connecting socket for: MMM-SystemMonitor 
      0|MagicMir | [2025-03-28 11:39:59.947] [LOG]   Starting module helper: MMM-SystemMonitor 
      0|MagicMir | [2025-03-28 11:39:59.947] [LOG]   Connecting socket for: MMM-Strava 
      0|MagicMir | [2025-03-28 11:39:59.949] [LOG]   2025-03-28T11:39:59 <log> Starting module helper: MMM-Strava (/home/pi/MagicMirror/modules/MMM-Strava/node_helper.js:47 Class.start) 
      0|MagicMir | [2025-03-28 11:39:59.950] [LOG]   Connecting socket for: MMM-FRITZ-Box-Callmonitor-py3 
      0|MagicMir | [2025-03-28 11:39:59.951] [LOG]   2025-03-28T11:39:59 <log> Starting module: MMM-FRITZ-Box-Callmonitor-py3 (/home/pi/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor-py3/node_helper.js:28 Class.start) 
      0|MagicMir | [2025-03-28 11:39:59.952] [LOG]   Connecting socket for: MMM-NowPlayingOnSpotify 
      0|MagicMir | [2025-03-28 11:39:59.953] [LOG]   Connecting socket for: MMM-SystemInfo 
      0|MagicMir | [2025-03-28 11:39:59.953] [LOG]   Starting node helper: MMM-SystemInfo 
      0|MagicMir | [2025-03-28 11:39:59.953] [LOG]   Connecting socket for: newsfeed 
      0|MagicMir | [2025-03-28 11:39:59.954] [LOG]   Starting node helper for: newsfeed 
      0|MagicMir | [2025-03-28 11:39:59.954] [LOG]   Connecting socket for: MMM-Remote-Control 
      0|MagicMir | [2025-03-28 11:39:59.954] [LOG]   Starting node helper for: MMM-Remote-Control 
      0|MagicMir | [2025-03-28 11:39:59.959] [LOG]   Connecting socket for: calendar 
      0|MagicMir | [2025-03-28 11:39:59.959] [LOG]   Starting node helper for: calendar 
      0|MagicMir | [2025-03-28 11:39:59.960] [LOG]   Sockets connected & modules started ... 
      0|MagicMir | [2025-03-28 11:40:00.172] [LOG]   Launching application. 
      0|MagicMir | [2025-03-28 11:40:00.631] [INFO]  System information:
      0|MagicMir | ### SYSTEM:   manufacturer: ; model: ; virtual: false
      0|MagicMir | ### OS:       platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.6.74+rpt-rpi-2712
      0|MagicMir | ### VERSIONS: electron: 32.2.7; used node: 20.18.1; installed node: 20.18.1; npm: 10.8.2; pm2: 5.4.3
      0|MagicMir | ### OTHER:    timeZone: Europe/Berlin; ELECTRON_ENABLE_GPU: undefined 
      
      

      Now I’m confused totally.

      can anybody please help me to understand, what happens here?

      THANKS!
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: Restore script cannot create Backup folder?

      @sdetweil said in Restore script cannot create Backup folder?:

      thanks so much for the trouble report… fixed

      Dear Sam, you’re REALLY (!) welcome!

      Thanks to YOU for all of your effort!

      Ralf

      posted in Troubleshooting
      R
      rkorell
    • My new MagicMirror will not start with Wayland?

      Good Morning!
      after my last posting regarding display-stop with X11 (MMM-Universal-Pir) I’ve decided to try to get things to run with Wayland.
      Unfortunately this doesn’t work :-(
      I’ve disabled X11 / enabled Wayland in raspi-config and done a reboot.
      Magic Mirror than doesn’t come up - no surprise.

      issued

       pm2 stop MagicMirror
      
      [PM2] Applying action stopProcessId on app [MagicMirror](ids: [ 0 ])
      [PM2] [MagicMirror](0) ✓
      ┌────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
      │ id │ name           │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
      ├────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
      │ 0  │ MagicMirror    │ default     │ 2.31.0… │ fork    │ 0        │ 0      │ 0    │ stopped   │ 0%       │ 0b       │ pi       │ disabled │
      └────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
      
      
      

      Then I’ve tried

      npm run start:wayland
      

      This exits with an error message from electron :

      pi@MagicMirrorPi5:~/MagicMirror $ npm run start:wayland
      
      > magicmirror@2.31.0-develop start:wayland
      > WAYLAND_DISPLAY="${WAYLAND_DISPLAY:=wayland-1}" ./node_modules/.bin/electron js/electron.js --enable-features=UseOzonePlatform --ozone-platform=wayland
      
      [2025-03-28 10:27:47.902] [LOG]   Starting MagicMirror: v2.31.0-develop 
      [2025-03-28 10:27:47.912] [LOG]   Loading config ... 
      [2025-03-28 10:27:47.913] [LOG]   config template file not exists, no envsubst 
      [2025-03-28 10:27:48.094] [INFO]  Checking config file /home/pi/MagicMirror/config/config.js ... 
      [2025-03-28 10:27:48.151] [INFO]  Your configuration file doesn't contain syntax errors :) 
      [2025-03-28 10:27:48.152] [INFO]  Checking modules structure configuration ... 
      [2025-03-28 10:27:48.193] [INFO]  Your modules structure configuration doesn't contain errors :) 
      [2025-03-28 10:27:48.194] [LOG]   Loading module helpers ... 
      [2025-03-28 10:27:48.195] [LOG]   No helper found for module: alert. 
      [2025-03-28 10:27:48.195] [LOG]   No helper found for module: MMM-MagicMover. 
      [2025-03-28 10:27:48.195] [LOG]   No helper found for module: clock. 
      [2025-03-28 10:27:48.196] [LOG]   No helper found for module: MMM-Profilepicture. 
      [2025-03-28 10:27:48.204] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.204] [LOG]   Module helper loaded: MMM-Logging 
      [2025-03-28 10:27:48.211] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.211] [LOG]   Module helper loaded: MMM-MoonPhase 
      [2025-03-28 10:27:48.211] [LOG]   No helper found for module: MMM-Globe. 
      [2025-03-28 10:27:48.211] [LOG]   No helper found for module: weather. 
      [2025-03-28 10:27:48.237] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.237] [LOG]   Module helper loaded: MMM-JsonValue 
      [2025-03-28 10:27:48.244] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.245] [LOG]   Module helper loaded: MMM-MyGarbage 
      [2025-03-28 10:27:48.245] [LOG]   No helper found for module: MMM-CalendarExt3Agenda. 
      [2025-03-28 10:27:48.328] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.328] [LOG]   Module helper loaded: MMM-Todoist 
      [2025-03-28 10:27:48.359] [LOG]   2025-03-28T10:27:48 <log> init module helper birthdaylist (/home/pi/MagicMirror/modules/birthdaylist/node_helper.js:15 Class.init) 
      [2025-03-28 10:27:48.359] [LOG]   Module helper loaded: birthdaylist 
      [2025-03-28 10:27:48.360] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.360] [LOG]   Module helper loaded: MMM-SystemMonitor 
      [2025-03-28 10:27:48.470] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.470] [LOG]   Check MagicMirror² version for node helper 'MMM-Strava' - Minimum version: 2.2.0 - Current version: 2.31.0-develop 
      [2025-03-28 10:27:48.470] [LOG]   Version is ok! 
      [2025-03-28 10:27:48.470] [LOG]   Module helper loaded: MMM-Strava 
      [2025-03-28 10:27:48.470] [LOG]   No helper found for module: MMM-EventHorizon. 
      [2025-03-28 10:27:48.501] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.501] [LOG]   Module helper loaded: MMM-FRITZ-Box-Callmonitor-py3 
      [2025-03-28 10:27:48.618] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.619] [LOG]   Module helper loaded: MMM-NowPlayingOnSpotify 
      [2025-03-28 10:27:48.619] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.619] [LOG]   Module helper loaded: MMM-SystemInfo 
      [2025-03-28 10:27:48.647] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.647] [LOG]   Module helper loaded: newsfeed 
      [2025-03-28 10:27:48.647] [LOG]   No helper found for module: MMM-UselessFacts. 
      [2025-03-28 10:27:48.667] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.667] [LOG]   Module helper loaded: MMM-Remote-Control 
      [2025-03-28 10:27:48.709] [LOG]   Initializing new module helper ... 
      [2025-03-28 10:27:48.709] [LOG]   Module helper loaded: calendar 
      [2025-03-28 10:27:48.710] [LOG]   All module helpers loaded. 
      [2025-03-28 10:27:48.713] [LOG]   Starting server on port 8080 ...  
      [2025-03-28 10:27:48.714] [WARN]  You're using a full whitelist configuration to allow for all IPs 
      [2025-03-28 10:27:49.037] [LOG]   Server started ... 
      [2025-03-28 10:27:49.037] [LOG]   Connecting socket for: MMM-Logging 
      [2025-03-28 10:27:49.038] [LOG]   2025-03-28T10:27:49 <log> Module helper started for MMM-Logging (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:19 Class.start) 
      [2025-03-28 10:27:49.039] [LOG]   Connecting socket for: MMM-MoonPhase 
      [2025-03-28 10:27:49.039] [LOG]   Starting module helper: MMM-MoonPhase 
      [2025-03-28 10:27:49.044] [LOG]   Connecting socket for: MMM-JsonValue 
      [2025-03-28 10:27:49.045] [LOG]   Connecting socket for: MMM-MyGarbage 
      [2025-03-28 10:27:49.045] [LOG]   2025-03-28T10:27:49 <log> Starting node_helper for module: MMM-MyGarbage (/home/pi/MagicMirror/modules/MMM-MyGarbage/node_helper.js:9 Class.start) 
      [2025-03-28 10:27:49.046] [LOG]   Connecting socket for: MMM-Todoist 
      [2025-03-28 10:27:49.047] [LOG]   2025-03-28T10:27:49 <log> Starting node helper for: MMM-Todoist (/home/pi/MagicMirror/modules/MMM-Todoist/node_helper.js:19 Class.start) 
      [2025-03-28 10:27:49.047] [LOG]   Connecting socket for: birthdaylist 
      [2025-03-28 10:27:49.047] [LOG]   Connecting socket for: MMM-SystemMonitor 
      [2025-03-28 10:27:49.048] [LOG]   Starting module helper: MMM-SystemMonitor 
      [2025-03-28 10:27:49.048] [LOG]   Connecting socket for: MMM-Strava 
      [2025-03-28 10:27:49.050] [LOG]   2025-03-28T10:27:49 <log> Starting module helper: MMM-Strava (/home/pi/MagicMirror/modules/MMM-Strava/node_helper.js:47 Class.start) 
      [2025-03-28 10:27:49.051] [LOG]   Connecting socket for: MMM-FRITZ-Box-Callmonitor-py3 
      [2025-03-28 10:27:49.052] [LOG]   2025-03-28T10:27:49 <log> Starting module: MMM-FRITZ-Box-Callmonitor-py3 (/home/pi/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor-py3/node_helper.js:28 Class.start) 
      [2025-03-28 10:27:49.053] [LOG]   Connecting socket for: MMM-NowPlayingOnSpotify 
      [2025-03-28 10:27:49.053] [LOG]   Connecting socket for: MMM-SystemInfo 
      [2025-03-28 10:27:49.053] [LOG]   Starting node helper: MMM-SystemInfo 
      [2025-03-28 10:27:49.054] [LOG]   Connecting socket for: newsfeed 
      [2025-03-28 10:27:49.054] [LOG]   Starting node helper for: newsfeed 
      [2025-03-28 10:27:49.054] [LOG]   Connecting socket for: MMM-Remote-Control 
      [2025-03-28 10:27:49.055] [LOG]   Starting node helper for: MMM-Remote-Control 
      [2025-03-28 10:27:49.060] [LOG]   Connecting socket for: calendar 
      [2025-03-28 10:27:49.061] [LOG]   Starting node helper for: calendar 
      [2025-03-28 10:27:49.061] [LOG]   Sockets connected & modules started ... 
      [2025-03-28 10:27:49.346] [LOG]   Launching application. 
      [2025-03-28 10:27:49.594] [INFO]  System information:
      ### SYSTEM:   manufacturer: ; model: ; virtual: false
      ### OS:       platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.6.74+rpt-rpi-2712
      ### VERSIONS: electron: 32.2.7; used node: 20.18.1; installed node: 20.18.1; npm: 10.8.2; pm2: 5.4.3
      ### OTHER:    timeZone: Europe/Berlin; ELECTRON_ENABLE_GPU: undefined 
      /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
      

      pm2 knows that about MagicMirror:

      pi@MagicMirrorPi5:~/MagicMirror $ pm2 show MagicMirror
       Describing process with id 0 - name MagicMirror 
      ┌───────────────────┬──────────────────────────────────────────┐
      │ status            │ stopped                                  │
      │ name              │ MagicMirror                              │
      │ namespace         │ default                                  │
      │ version           │ 2.31.0-develop                           │
      │ restarts          │ 0                                        │
      │ uptime            │ 0                                        │
      │ script path       │ /home/pi/MagicMirror/installers/mm.sh    │
      │ script args       │ N/A                                      │
      │ error log path    │ /home/pi/.pm2/logs/MagicMirror-error.log │
      │ out log path      │ /home/pi/.pm2/logs/MagicMirror-out.log   │
      │ pid path          │ /home/pi/.pm2/pids/MagicMirror-0.pid     │
      │ interpreter       │ bash                                     │
      │ interpreter args  │ N/A                                      │
      │ script id         │ 0                                        │
      │ exec cwd          │ /home/pi                                 │
      │ exec mode         │ fork_mode                                │
      │ node.js version   │ N/A                                      │
      │ node env          │ N/A                                      │
      │ watch & reload    │ ✘                                        │
      │ unstable restarts │ 0                                        │
      │ created at        │ 2025-03-28T09:21:32.089Z                 │
      └───────────────────┴──────────────────────────────────────────┘
       Divergent env variables from local env 
      ┌────────────────┬─────────────────────────────────────┐
      │ PWD            │ /home/pi                            │
      │ SSH_CONNECTION │ 172.23.56.21 53109 172.23.56.157 22 │
      │ TERM           │ xterm                               │
      │ SHLVL          │ 2                                   │
      │ SSH_CLIENT     │ 172.23.56.21 53109 22               │
      │ OLDPWD         │ /home/pi/MagicMirror/splashscreen   │
      └────────────────┴─────────────────────────────────────┘
      
      

      What to do to get it fixed?
      is
      fixuppm2.sh a possible solution?

      Thanks for any hint!
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • MMM-Universal-Pir - Desparately seeking right command

      Good eveneing, all.
      My mirror is working fine, I was able to configure a Raspi5 with bookworm and all migrated modules are working in this version.
      Because I have to keep in mind that my favourite MMM-Pir ( :-) ) won’t run that much in future I try to investigate alternatives.
      The most current module for PIR detection seems to be MMM-Universal-Pir.
      Unfortunately I’m not able to figure out the right commands (or the module doesn’t work - but I’ve seen some success messages).

      For some strange reason my Mirror-Autostart is configured with a X11 start, so on my bookworm instance I have disabled wayland to run MagicMirror in this mode, so “default” commands of module won’t definitely not work.

      I’ve found here around :

      “vcgencmd display_power 1” / “vcgencmd display_power 0” - on bookworm vgencmd doesn’t have this “display_power” option.

      “echo on | sudo tee /sys/class/drm/card1-HDMI-A-1/status” / “echo off | sudo tee /sys/class/drm/card1-HDMI-A-1/status” – this doesn’t do anything on my system - neither on terminal command-line nor in module.

      “DISPLAY=:0.0 xrandr --output HDMI-1 --off” / “DISPLAY=:0.0 xrandr --output HDMI-1 --primary --mode 2560x1440 --rate 59.951 --pos 0x0 --rotate left” are the most promising candidates - they at least are working on command-line in terminal
      But xrandr doesn’t work with MMM-Universal-Pir.
      (I’ve also tried to use these xrandr commands without display-reference
      (“xrandr --output HDMI-1 --off” / “xrandr --output HDMI-1 --primary --mode 2560x1440 --rate 59.951 --pos 0x0 --rotate left”* ) . Doesn’t work, either (from module).

      Is anybody out there with Pi5/bookworm/X11 with a working configuration / Command pair?

      And an additional question to those who are uing this module successfully: Is it true, that the countdown is not interrupted if a motion is detected ? (this is my impression when looking at the countdown - but may 1 Minute is too short) …

      Many thanks for any hint!
      Regards,
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • RE: Restore script cannot create Backup folder?

      @sdetweil Thanks.
      IN the meantime I’ve figured out that the MM-Pir directorry in github repo (backup) only contains four files, so is useless for restoring…

      posted in Troubleshooting
      R
      rkorell
    • RE: MMM-CalendarExt3Agenda doesn't work on fresh restored install

      @sdetweil despite getting it “run” it doesn’t work properly :-(
      I’m looking around but seems to be hard …

      posted in Troubleshooting
      R
      rkorell
    • RE: MMM-CalendarExt3Agenda doesn't work on fresh restored install

      @sdetweil said in MMM-CalendarExt3Agenda doesn't work on fresh restored install:

      you can’t binary back it up either, as there are OS level dependencies

      I’ve “solved” it with my tar.gz archive.
      put all of the working copy in it, extract im MagicMirror/modules and ran npm install in MMM-Pir …

      Now I’m looking around how to get xandr fixed, because now MMM-Pir increase the screen resolution to maximum which is not desired …

      posted in Troubleshooting
      R
      rkorell
    • RE: Bugsounet and MMM-Pir

      @sdetweil yes! :-)

      posted in General Discussion
      R
      rkorell
    • RE: Bugsounet and MMM-Pir

      @sdetweil @lif
      For your information:

      I was successful with installing MMM-Pir on my brand new Pi5/bookworm:

      pi@MagicMirrorPi5:~ $ cd MagicMirror/modules
      pi@MagicMirrorPi5:~/MagicMirror/modules $ tar -xf MMM-Pir.tar.gz 
      pi@MagicMirrorPi5:~/MagicMirror/modules $ cd MMM-Pir/
      pi@MagicMirrorPi5:~/MagicMirror/modules/MMM-Pir $ npm install
      
      > MMM-Pir@2.4.4 preinstall
      > echo ⚠ npm install will be deprecated on next release!.
      
      ⚠ npm install will be deprecated on next release!.
      
      > MMM-Pir@2.4.4 install
      > npm run setup
      
      
      > MMM-Pir@2.4.4 presetup
      > npm run dependencies && installer/preinstall.sh
      
      
      > MMM-Pir@2.4.4 dependencies
      > installer/dependencies.sh -d 'unclutter ddcutil cec-utils python3 python-is-python3 python3-gpiozero gpiod libgpiod2 libgpiod-dev'
      
      
      Welcome to MMM-Pir v2.4.4
      
      ① ➤ dependencies installer
      
      Checking OS...
      OS Detected: linux-gnu (debian 12 aarch64)
      
      Checking all dependencies...
      All Dependencies needed are installed !
      
      ② ➤ Preinstall
      
      No root checking...
      Checking MMM-Pir: pi/pi
      Checking MagicMirror: pi/pi
      
      Installing @sdetweil sandbox fix...
      fixing sandbox permissions
      
      ③ ➤ Install npm dependencies
      
      > MMM-Pir@2.4.4 setup
      > npm prune
      
      
      up to date in 990ms
      
      124 packages are looking for funding
        run `npm fund` for details
      
      > MMM-Pir@2.4.4 postsetup
      > installer/postinstall.sh -m -r
      
      
      ④ ➤ Postinstall
      
      Minify Main code...
      Found: 10 files to install and minify
      
      Process File: MMM-Pir/MMM-Pir.js
      Process File: MMM-Pir/node_helper.js
      Process File: MMM-Pir/components/cronJob.js
      Process File: MMM-Pir/components/governorLib.js
      Process File: MMM-Pir/components/motion.js
      Process File: MMM-Pir/components/motionLib.js
      Process File: MMM-Pir/components/pirLib.js
      Process File: MMM-Pir/components/screenDisplayer.js
      Process File: MMM-Pir/components/screenLib.js
      Process File: MMM-Pir/components/screenTouch.js
      Done
      
      Try to Disable screen saver...
      Found: screen saver in gsettings
      disable screensaver via gsettings was true and uint32 300
      Found: screen saver in lightdm
      disable screensaver via lightdm.conf
      Found: screen saver in lxsession
      disable screensaver via lxsession
      Found: wayfire.ini
      
      [WARN] There is some change for disable screen saver
      [WARN] Please, don't forget to reboot your OS for apply the new configuration!
      Done
      
      Rebuild MagicMirror...
      ✔ Rebuild Complete
      Done
      
      
      MMM-Pir is now installed !
      
      > MMM-Pir@2.4.4 postinstall
      > echo ⚠ On next release, Please use: npm run setup
      
      ⚠ On next release, Please use: npm run setup
      
      added 1 package in 31s
      
      124 packages are looking for funding
        run `npm fund` for details
      pi@MagicMirrorPi5:~/MagicMirror/modules/MMM-Pir $ 
      

      I will have to play with the screen options (caused for sure by bookworm) because right now I get an error notification from MMM-Pir (screen error detected: dpms command error(mode 1) ) but there are several other modes to try …

      Regards,
      Ralf

      posted in General Discussion
      R
      rkorell
    • RE: MMM-CalendarExt3Agenda doesn't work on fresh restored install

      @sdetweil :-)

      nmp install DOES the trick!

      (should have come to my mind !!!)

      pi@MagicMirrorPi5:~/MagicMirror/modules/MMM-CalendarExt3Agenda $ npm install
      
      > mmm-calendarext3agenda@1.4.6 postinstall
      > git submodule update --init --recursive
      
      Submodule 'CX3_Shared' (https://github.com/MMRIZE/CX3_Shared) registered for path 'CX3_Shared'
      Cloning into '/home/pi/MagicMirror/modules/MMM-CalendarExt3Agenda/CX3_Shared'...
      Submodule path 'CX3_Shared': checked out '0b390e2770866533464c81e5b26ff366e9695344'
      
      up to date, audited 1 package in 1s
      
      found 0 vulnerabilities
      
      

      Thanks!
      Calendar is present, again!
      Nice!

      Now all I’m missing is MMM-Pir :-)
      Just frickling around but cannot get this git-cloned from backup-repository …

      thanks a LOT!
      Ralf

      posted in Troubleshooting
      R
      rkorell
    • 1 / 1