MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. sdetweil
    3. Best
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    S Offline
    • Profile
    • Following 0
    • Followers 110
    • Topics 92
    • Posts 21,389
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Calendar - colourise events today?

      @Babene1 the base MagicMirror calendar module does not provide a way to affect styles for ‘today’

      You may be able to do this with css.

      Looking at the code, it adds a class name ‘today’ to the events for today

      So in custom.css

      .calendar .today {
           color:red;
      }
      

      that colorizes the symbol and time
      for the title

      .calendar .calendar .today .title {
          color: red;
      }
      

      for both

      .calendar .today , .calendar .today .title {
          color: red;
      }
      
      posted in Troubleshooting
      S
      sdetweil
    • RE: MagicMirror-backup-restore

      @rkorell no sorry needed. We all respond when we can

      Got it. Both scripts are broken

      Backup for not checking and correcting
      Restore for not cleaning up

      posted in Troubleshooting
      S
      sdetweil
    • RE: Switch Months - MMM-CalendarExt3 -

      @Getinthegames did you do this part of the setup

      If you are not using a Fire Stick Remote: You may need to adjust the key assignments above to match your remote. See Remote Setup for how to run evtest and display the key names for your remote/device.
      

      I think you need this section of the keybindings config

      actions: [
        {
          key: "Home",
          state: "KEY_LONGPRESSED",
          instance: "SERVER",
          mode: "DEFAULT",
          notification: "REMOTE_ACTION",
          payload: { action: "MONITORTOGGLE" }
        },
        {
          key: "ArrowLeft",
          state: "KEY_LONGPRESSED",
          notification: "CAROUSEL_PREVIOUS"
        },
        {
          key: "ArrowRight",
          state: "KEY_LONGPRESSED",
          notification: "CAROUSEL_NEXT"
        },
        {
          key: "Return",
          state: "KEY_LONGPRESSED",
          changeMode: "DEFAULT"
        }
      ],
      

      I think KeyMap only changes the name

      posted in Troubleshooting
      S
      sdetweil
    • RE: MagicMirror-backup-restore

      @rkorell I have pushed fixes for both scripts to handle this error in the previous versions…

      both backup and restore will handle the case where the restore-branch exists (as now)
      and cleanup after…

      thanks for the report and feedback

      posted in Troubleshooting
      S
      sdetweil
    • RE: PM2 restart question (more of a linux question than MM)

      @wyovino said:

      I saw the warning post about the April 1st upgrade and Pi Zero W

      no… pi02w is an armv7l processor, pi3 in pi0w physical shape…

      posted in Troubleshooting
      S
      sdetweil
    • RE: Failed to Connect to Wayland Display

      @Scruffy use my backup/restore scripts to save and restore your MagicMirror config and modules list

      https://github.com/sdetweil/MagicMirror-backup-restore
      Backup, copy off backup folder, tiny size

      Install new MagicMirror and copy back folder and restore

      posted in Troubleshooting
      S
      sdetweil
    • RE: Failed to Connect to Wayland Display

      @atwist the latest PI OS is larger than the previous versions…

      leading to more swapping. This can affect performance because of the speed of the SD card.

      free -m

      will tell you how much memory and swap space you are using.

      posted in Troubleshooting
      S
      sdetweil
    • RE: OpenWeather loaded but info is empty since update

      @KristjanESPERANTO and a git status

      posted in Troubleshooting
      S
      sdetweil
    • RE: Failed to Connect to Wayland Display

      @Scruffy awesome!!! Thanks for the feedback!

      How did you migrate your config ?
      Just interested in how people do things

      posted in Troubleshooting
      S
      sdetweil
    • RE: Failed to Connect to Wayland Display

      @Scruffy thanks.

      posted in Troubleshooting
      S
      sdetweil
    • RE: Failed to Connect to Wayland Display

      @Scruffy I strongly recommend using some backup/restore mechanism,
      please see my backup/restore scripts for one approach.

      they also support versioning, so you can tell one set of changes from another and can go back or forward…
      and move between systems. too…

      https://github.com/sdetweil/MagicMirror-backup-restore.git

      and I also support the install/upgrade scripts, mentioned in the MM doc, Alternative install section

      posted in Troubleshooting
      S
      sdetweil
    • RE: Request loop & "Loading..." in standard weather module (Open-Meteo) after update

      @Phantomkommander great news. Glad to hear.

      I can’t take credit for this. The work was already done by others, and I didn’t know a fix was already in place.

      posted in Troubleshooting
      S
      sdetweil
    • RE: Request loop & "Loading..." in standard weather module (Open-Meteo) after update

      Actually, there might have already been a fix in the develop branch…

      so you could try that first…

      see this topic on how to get the develop branch
      https://forum.magicmirror.builders/topic/14327/testing-new-fixes-or-solving-current-problems-with-next-release-code

      posted in Troubleshooting
      S
      sdetweil
    • RE: Does MM no longer work on Pi Zero2w?

      @wyovino bullseye is 2 releases back…

      Maybe run MagicMirror server mode on the pi, and launch a browser on the mirror…. Same set w surf w MagicMirror on a different system….

      posted in Troubleshooting
      S
      sdetweil
    • RE: MM clock reverted to UTC

      @smegbadger you would have to load the develop branch of MagicMirror, as we don’t distribute less than the full package…

      see this link
      https://forum.magicmirror.builders/topic/14327/testing-new-fixes-or-solving-current-problems-with-next-release-code

      posted in Troubleshooting
      S
      sdetweil
    • RE: Failed to Connect to Wayland Display

      @magicmikael as we said in the readme notes on the release

      We changed
      npm start/node —run start

      To launch for Wayland compositor

      If you are still on x11
      You need to use

      npm run start:x11
      Or
      node —run start:x11

      posted in Troubleshooting
      S
      sdetweil
    • RE: audio problem

      @tommyk looking at the code, I think the system is busy during bootup, and this causes an uncaught failure

      There is a new notification , sent after updateDom() is called, to inform the app that the content has been drawn.
      See
      https://docs.magicmirror.builders/module-development/notifications.html#system-notifications

      MODULE_DOM_UPDATED
      

      I think the module needs to use that notification to wait to start the play of the audio element it just added

      posted in Troubleshooting
      S
      sdetweil
    • RE: MMM-RTSPStream no longer working

      @dangerousden well that’s some good news. Amazing how many times we have to get used to rebooting something these days

      I’m in the 50 year IT range from mainframes to microprocessors and everything in between.

      Sadly I know nothing about RTSP other than other people also having trouble with the latest os releases.

      posted in Troubleshooting
      S
      sdetweil
    • RE: electronSwitches in config.js — am I reading the code wrong, or does it not actually work?

      @rkorell so much fun!!! you can code it to maybe fix your problem.

      net, the new electronSwitches is still an array , but now contains an object for the key:value pair, or just a string for those switches that are just single value

      [ 
         "string"
         { "id":"value"].,
         ...
      ]
      

      and the
      appendSwitch can be either single string

      commandLine.appendSwitch(sw);
      

      or two part,

      commandLine.appendSwitch(name, String(value));
      

      code here in a sep function
      https://github.com/MagicMirrorOrg/MagicMirror/blob/develop/js/electron_helper.js

      posted in Troubleshooting
      S
      sdetweil
    • RE: Getting Startet - ablsulute newbie

      @DerHerrB thanks. Did you install node 24 in advance?

      There is a problem w node 24

      So do

      pm2 stop all 
      cd ~/MagicMirror 
      rm -rf node_modules
      rm package-lock.json
      sudo npm install -g n
      sudo n 22.22.1
      hash -r
      node -v
      

      If that produces 22.22.1 ,
      then do

      npm run install-mm 
      

      And because you selected pm2

      installers/mm.sh
      

      MagicMirror should launch now

      Please advise results to here

      posted in Troubleshooting
      S
      sdetweil
    • 1
    • 2
    • 83
    • 84
    • 85
    • 86
    • 87
    • 86 / 87