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

    Posts

    Recent Best Controversial
    • RE: Mirror Freezing

      Oh and I can ssh in and run date and the time is correct.
      If I run MM in a separate browser on my laptop I pops up and runs fine and very clean. Time is correct. ect. which then causes the MM on the wall to start working again…
      I did run your update script with force tonight when I came home and it had been frozen for approx. 3.5 hrs.
      I am currently watching to see if it freezes again. so frustrating.

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • Mirror Freezing

      I have updated everything trying to get past this.
      I installed a real time clock.
      Fresh install of Debian 12
      Fresh install of MagicMirror and restore with Sam’s backup/restore script.
      So everything is fresh. I am running this on a NVME ssd stick.
      very fast.
      Ok since i gave you all the background.
      Here is the problem I am having.
      MM will run fine for hours, then all the sudden MM freezes, the time stops and it stays on the page that the time freezes on.
      I have about 40 different modules running and they run great until the freeze up happens.
      Below is the errors I am getting in the pm2 logs.

      0|mm       | [2048:0303/182231.302189:ERROR:gles2_cmd_decoder_passthrough.cc(928)] ContextResult::kFatalFailure: fail_if_major_perf_caveat + swiftshader
      0|mm       | [2048:0303/182231.339696:ERROR:gles2_cmd_decoder_passthrough.cc(928)] ContextResult::kFatalFailure: fail_if_major_perf_caveat + swiftshader
      0|mm       | [2025-03-03 18:22:33.874] [ERROR] We expected a redirect to guce.yahoo.com, but got https://finance.yahoo.com/quote/AAPL/
      0|mm       | [2025-03-03 18:22:33.875] [ERROR] We'll try to continue anyway - you can safely ignore this if the request succeeds
      0|mm       | /home/pi/MagicMirror/node modules/electron/dist/electron exited with signal SIGINT
      0|mm       | [3690:0304/064512.174017:ERROR:gbm_wrapper.cc(74)] Failed to get fd for plane.: No such file or directory (2)
      0|mm       | [3690:0304/064512.174366:ERROR:gbm_wrapper.cc(257)] Failed to export buffer to dma_buf: No such file or directory (2)
      

      These repeat over and over for 20 or so times. I didnt count them.

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: Real Time Clock add on

      @sdetweil
      You have to remember I run 40 modules using your pages module.
      So maybe I am running more than the pi4 8gb ram wants to handle???

      posted in Hardware
      plainbrokeP
      plainbroke
    • Real Time Clock add on

      Would a Real Time Clock add on for the Raspberry pi 4 fix the time stopping for a couple minutes and then catching up??? It acts to me like it looses the time notification from the network. I do not know what else to call it…

      posted in Hardware
      plainbrokeP
      plainbroke
    • RE: Default clock module accuracy?

      @mumblebaj
      Sorry but no. I am out of pi’s to test on. And it is not something that matters to me .
      What is a few minutes in the grand scheme of things.

      posted in Bug Hunt
      plainbrokeP
      plainbroke
    • RE: Default clock module accuracy?

      @sdetweil
      I thought you would find that interesting, I never thought much about it until the previous post came about. Like I said it doesn’t bother us or cause any issues. They really are at least with in 45 seconds of each other. If I reboot the pi it will sync up for most of the day… Maybe that is his answer to restart his pi just before bed, assuming it is that important…

      posted in Bug Hunt
      plainbrokeP
      plainbroke
    • RE: Default clock module accuracy?

      @sdetweil
      Mine is off a full minute right now. Funny thing is it will usually catch up in a few minutes. I notice it most often around xx:45 to xx:49 in the afternoon, evening .
      Not a big deal to me what is 30 to 45 seconds matter anyways.
      Now as I am writing this it caught back up. I would not notice at all if I dd not have another clock running directly below it that gets it’s time from the network too.

      posted in Bug Hunt
      plainbrokeP
      plainbroke
    • RE: MMM-horoscope

      @sdetweil
      I actually know what it means I just couldn’t figure out how it was happening in a module. I rearranged the display and it now is working. Some of these modules are so touchy…

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • MMM-horoscope

      Screenshot 2025-01-30 171851.png
      ???Getting this Bad Gateway Error code 502???
      What does this mean on my MagicMirror ???
      SEE PICTURE FOR MORE INFORMATION…

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: Made a birthday module

      @cgillinger
      Sounds good. I will watch this form post for the update.

      posted in Entertainment
      plainbrokeP
      plainbroke
    • RE: [ERROR] unable to write js/positions.js

      @FalcoonnnnPUNCH
      @emlowe
      @sdetweil
      I have had that problem before and it was a bad card. One other time it was a bad USB drive… Might try a different sdcard.

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: Made a birthday module

      @cgillinger
      I was going to ask if you had found a work around for pages and MMM-Birthdays. I also tried it with pages and just one other module. MMM-Birthdays takes over even MMM-MPlayer and it is a bully too.
      Always wanting to be on top… You idea is awesome, but the deployment needs a little work…
      I am trying a few different setups now that I have a “test setup”.
      I really want to make MPLayer and Birthdays to play nice on one of my displays. So far no bueno…

      posted in Entertainment
      plainbrokeP
      plainbroke
    • MMM-edgerouter-throughput

      Does anyone use this module? It shows up but I think I need more information to get it to work.
      Here is what I have put in my config.js

              {
                      module: "MMM-edgerouter-throughput",
                      position: "middle_center",
                      header: "Unifi",
                      config: {
                              gateway: "https://192.168.1.1",
                              user: "Plainbroke",
                              pwd: "HIDDEN INFORMATION",
                              title: "Unifi",
                              interface: "USG Pro3"
                      }
              },
      
      

      And this is the output from my USG router

      Screenshot 2025-01-27 213512.png

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: pm2 doesnt work with crontab

      @chrisfr1976
      @sdetweil
      Thank you both for the help.
      /usr/local/bin/pm2 restart mm
      worked so I set it up to stop now and if (fingers crossed) works.
      I am golden.
      Wonder why I never had to use the full path before?
      Maybe my pm2 path was /home/pi/pm2 before.
      Doesn’t really matter as long as it works, I am a happy camper.
      It works.
      Thank you so much… I will mark this solved.
      Well I would if I could… strange.

      By the way " which pm2 " shows the path that I needed to use in crontab -e

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: pm2 doesnt work with crontab

      @chrisfr1976 said in pm2 doesnt work with crontab:

      find / -iname pm2

      /usr/local/bin/pm2
      /usr/local/lib/node_modules/pm2
      /usr/local/lib/node_modules/pm2/bin/pm2
      /usr/local/lib/node_modules/pm2/lib/templates/logrotate.d/pm2
      /usr/local/lib/node_modules/pm2/pm2
      
      
      /home/pi/MagicMirror/node_modules/.bin/pm2
      /home/pi/MagicMirror/node_modules/pm2
      /home/pi/MagicMirror/node_modules/pm2/bin/pm2
      /home/pi/MagicMirror/node_modules/pm2/lib/templates/logrotate.d/pm2
      /home/pi/MagicMirror/node_modules/pm2/pm2
      
      

      Which is the true one and one to use?

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: MMM-Pir disappeard on github

      @rkorell said in MMM-Pir disappeard on github:

      MMM-Pir

      Don’t the authors usually leave their github live, so that others can work on them if they want to keep using them… ?

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: pm2 doesnt work with crontab

      @sdetweil
      From that post about an hour. and it was supposed to trigger this morning around 6:30 am.
      It did not and it did not leave anything in the logs since last night when I pm2 stop all then pm2 flush. around 8:30 pm .
      So that means cron job did nothing with pm2 over night
      I have been experimenting so there are a couple different job lines.
      I really expected something in the log. But this is all I get.

      pi@MM:~ $ pm2 logs --lines=100
      [TAILING] Tailing last 100 lines for [all] processes (change the value with --lines option)
      /home/pi/.pm2/pm2.log last 100 lines:
      /home/pi/.pm2/logs/mm-out.log last 100 lines:
      /home/pi/.pm2/logs/mm-error.log last 100 lines:
      

      My Crontab on 2 different MM setups. I get the same nothing on both.
      Both are running Bookworm and MM 2.3.1

      05 20 * * * pi /usr/local/bin/pm2 start mm
      15 07 * * * pi pm2 start mm
      30 21 * * * pi pm2 stop mm
      05 20 * * * root /usr/local/bin/pm2 start mm
      15 07 * * * root pm2 start mm
      30 21 * * * root pm2 stop mm
      
      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: pm2 doesnt work with crontab

      @sdetweil
      Got ya, I miss understood before.
      Running and waiting for results now…

      Finally got results useing the proper path.
      @sdetweil
      You can mark this resolved.

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: pm2 doesnt work with crontab

      @sdetweil
      pi is my user. I know not very original or safe but it is on a closed network.
      that is why I tried the pi user in the crontab.
      and it shows up when I do crontab -l.
      So I think it is setup under pi correctly.
      Do I need to do it as root sudo crontab -e and use pi or root as the user?

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • 1
    • 2
    • 6
    • 7
    • 8
    • 9
    • 10
    • 19
    • 20
    • 8 / 20