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.
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 57
    • Posts 393
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: pm2 doesnt work with crontab

      @sdetweil
      Ok crontab -e worked last night to shutdown MM. So the pm2 stop all worked.
      BUT this morning the pm2 restart mm did nothing.
      I used find to get these:

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

      ANY idea on which one would work better.?
      Here is my current crontab -e

      # Turn off display at 9pm
      00 21 * * 0-6 /usr/local/bin/pm2 stop all >/dev/null >2&1
      # Turn on screen Monday - Friday at 6:45 am
      45 06 * * 1-5 /usr/local/bin/pm2 start mm >/dev/null >2&1
      # Turn on screen Saturday - Sunday at 7:30 am
      30 07 * * 6,0 /usr/local/bin/pm2 start mm >/dev/null >2&1
      
      
      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: pm2 doesnt work with crontab

      @sdetweil
      Thanks for the info I almost pulled down 32 bit.
      It has been interesting to say the least going to trixie.
      Turns out my problem was a failed NVMe drive.
      I thought those things where supposed to last for a LONG long time…
      I did get crontab -e to work with trixie and MM 2.33 not a fun ride, but entertaining. I finally learned how to use bash to make batch style files…
      So not a complete loss of time…

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: MagicMirror on Trixie

      I had to add a blank line in this to get config.js to work with MM 2.33 on Trixie to run my 50+ modules on my MM using Pages by @sdetweil

      let config = {
      	ignoreXOriginHeader: true,
      	ignoreContentSecurityPolicy: true,
      
      	electronOptions: {
      	webPreferences: {
      	webviewTag: true,
      	}
      },
      
      posted in General Discussion
      plainbrokeP
      plainbroke
    • RE: pm2 doesnt work with crontab

      @sdetweil
      Using NVMe disk 256gb smallest I had on hand. 3 of them are exhibiting the same issues. I did try going back to Bookworm and I am still getthing a blank screen after a while. I ran npm run config:check it says all is good in the config.js ////
      I am currently reloading from scratch.
      Which OS is better for the 2.33 MM? 32 or 64 bit?
      Wondering if I was using 32 bit and now the 64 bit is messing with me… So dang many things can mess with these little devices.

      I only use crontab -e, should I try sudo crontab -e

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

      @sdetweil
      Did the new MM and or trixie change the way crontab works? Mine has stopped working since the update to 2.33. I tried again tonight and will see if the changes work or not… also my mm.json file quit working. Hind sight is 20/20 should have left well enough alone…

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: New Raspios, trixie

      @sdetweil
      Yes it is but I went in and turned it off.

      posted in General Discussion
      plainbrokeP
      plainbroke
    • RE: MagicMirror on Trixie

      @sdetweil
      So what is the fix? or is there one even.?

      posted in General Discussion
      plainbrokeP
      plainbroke
    • RE: New Raspios, trixie

      @sdetweil
      Does your MM 2.33 on trixie blank the screen after 5 to 10 minutes?

      posted in General Discussion
      plainbrokeP
      plainbroke
    • RE: MagicMirror on Trixie

      @Rags
      Did you get it to work like it did on bookworm?
      Mine on Trixie looks like it goes into screensaver mode, but I have made sure screen blanking is turned off in raspi-config
      I ran Sam’s screensaver off script. Mine just keeps blanking the screen the exact same image works fine on bookworm but blanks on trixie… Really frustrating.

      posted in General Discussion
      plainbrokeP
      plainbroke
    • RE: Best Weather module.

      @sdetweil
      Don’t think so, because I use the same location for pirate one.
      It is pretty much spot on most of the time. Open weather was off more than it wasn’t lately.
      @mumblebaj
      I did not know Noaa3 was still working. I will give it a try…

      posted in Requests
      plainbrokeP
      plainbroke
    • Best Weather module.

      I am using MMM-PirateSkyForecast module, I think that is the name of it.
      I am wanting to find one that is the most accurate with temps and precipitation.
      We removed MMM-OpenWeatherForecast with Api3.0 due to inaccurate weather.
      It was telling us 11 inches of rain expected with a 23% chance of rain with the temp constantly off 5 to 10 degrees.
      Just wondering what everyone else is using and if what you use is very accurate or not at all.

      posted in Requests
      plainbrokeP
      plainbroke
    • RE: Pi Zero and MagicMirror2

      @sdetweil
      Ok, I can do that already have node at 18 and npm at 9 I have notes on upgrading them.
      Thanks for the reminder on how to do this…
      Much appreciated.

      posted in Hardware
      plainbrokeP
      plainbroke
    • RE: Pi Zero and MagicMirror2

      @sdetweil
      This is what I get when i try you install script.
      Is there a fix for this I can’t find in my notes or online?

      pi@Zero:~ $ bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
      
      $$\      $$\                     $$\           $$\      $$\ $$\                                          $$$$$$\
      $$$\    $$$ |                    \__|          $$$\    $$$ |\__|                                        $$  __$$\
      $$$$\  $$$$ | $$$$$$\   $$$$$$\  $$\  $$$$$$$\ $$$$\  $$$$ |$$\  $$$$$$\   $$$$$$\   $$$$$$\   $$$$$$\  \__/  $$ |
      $$\$$\$$ $$ | \____$$\ $$  __$$\ $$ |$$  _____|$$\$$\$$ $$ |$$ |$$  __$$\ $$  __$$\ $$  __$$\ $$  __$$\  $$$$$$  |
      $$ \$$$  $$ | $$$$$$$ |$$ /  $$ |$$ |$$ /      $$ \$$$  $$ |$$ |$$ |  \__|$$ |  \__|$$ /  $$ |$$ |  \__|$$  ____/
      $$ |\$  /$$ |$$  __$$ |$$ |  $$ |$$ |$$ |      $$ |\$  /$$ |$$ |$$ |      $$ |      $$ |  $$ |$$ |      $$ |
      $$ | \_/ $$ |\$$$$$$$ |\$$$$$$$ |$$ |\$$$$$$$\ $$ | \_/ $$ |$$ |$$ |      $$ |      \$$$$$$  |$$ |      $$$$$$$$\
      \__|     \__| \_______| \____$$ |\__| \_______|\__|     \__|\__|\__|      \__|       \______/ \__|      \________|
                             $$\   $$ |
                             \$$$$$$  |
                              \______/
      
      install log being saved to /home/pi/install.log
      nodejs version required for MagicMirror is no longer available for armv6l (pi0w) devices
      installation aborted
      
      
      posted in Hardware
      plainbrokeP
      plainbroke
    • RE: Pi Zero and MagicMirror2

      @sdetweil
      yes, I tried using your script like usual, but it gives me the electron message.
      I have bookworm 32 bit on it. Went into raspi-config and set the default browser to firefox. Set my location and time ect. Turned on VNC had to update the raspi-config first. So many hoops to jump through anymore… Can I install electron manually so that your script works on my pi0 ? I like your scripts they take a LOT of the time setting up out of the equation… Especially your backup script… It saved me a lot of work recently when I lost the sd card on my LePotato that only runs MMM-MPlayer So I have a screen with my Driveway camera showing 24/7, I live out in the sticks.

      posted in Hardware
      plainbrokeP
      plainbroke
    • Pi Zero and MagicMirror2

      I had MagicMirror on my PiZero and lost the sd card, replaced it with a new one and now I can not get MagicMirror to load.

      posted in Hardware
      plainbrokeP
      plainbroke
    • RE: MMM-NFL update ?

      @mishman
      cd MagicMirror/modules
      git clone https://github.com/fewieden/MMM-NFL.git
      cd MMM-NFL
      npm install --production

      Configure your ~/MagicMirror/config/config.js:

                      {
                              module: "MMM-NFL",
                              position: "middle_center",
                              config: {
                                      colored: true,
                                      helmets: true,
                                      focus_on: ["KC", "BLT", "BUF", "CIN", "CHI", "CLE", "DEN", "PHI", "TB", "DAL", "MIA", "NYJ"],
                                      format: "ddd, hA",
                                      reloadInterval: 1800000,
                                      tableSize: "large"
                              },
                      },
      

      the options are on the github page.
      https://github.com/fewieden/MMM-NFL

      posted in Feature Requests
      plainbrokeP
      plainbroke
    • RE: Introduction

      @AidenTurner
      Welcome to the Forum.

      posted in General Discussion
      plainbrokeP
      plainbroke
    • RE: Screen "offline" during specific time of day

      @_V_
      You can set crontab -e to stop mm .
      Here is the lines from my crontab -e

      # Turn off display Sunday - Thursday at 21h00
      00 21 * * 0-4 /usr/local/bin/pm2 stop all
      # Turn off display Friday - Saturday at 21h00
      00 21 * * 5,6 /usr/local/bin/pm2 stop all
      # Turn on screen Monday - Friday at 6h45
      45 06 * * 1-5 /usr/local/bin/pm2 start mm
      # Turn on screen Saturday - Sunday at 7h30
      30 07 * * 6,0 /usr/local/bin/pm2 start mm
      

      My screen has no background and is black in color, then I set my bar to black with gray letters. That way when MM is not running the screen is really dark .
      works pretty well for night time. Your mileage may vary…

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: Huge number of errors in log fills up HD

      @cpcode
      Once your have your setup completed, to what you want. You can use Win32Diskimager to make a .img file that you can reinstall with balenaetcher or RaspberryPiImager. I went to USB devices or NVMe drives.
      I use Sam’s backup mainly to save my config.js and custom.css files so I never loose the main settings to the Current MM I have running. The list of modules helps too.
      I also keep a module folder backup BACKUP is so critical if you are using sd cards.

      posted in Troubleshooting
      plainbrokeP
      plainbroke
    • RE: Best affordable webcam/security camera for use with MagicMirror?

      I use Tapo they are cheap too. They are RTSP able and I use them with MMM-MPlayer on a dedicated PI and one camera pops up on my main PI with the other 50 + modules using Sams pages module. They are also PTZ camera’s I think I paid 16 for the cheapest one and like 38 for the most expensive one. I have 3 of them and 5 Wyze cameras but only 3 that are RTSP able.
      Just my 2 cents…

      posted in Hardware
      plainbrokeP
      plainbroke
    • 1 / 1