I’m running this on a Pi Zero 2W. At first it kept freezing because some of my images were way too big. After I resized all of my images to 800 x 600 it’s going great.
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-SimpleBGSlideshow (yet another background slideshow module)
-
RE: Trouble updating Magic Mirror on Raspberry Pi Zero 2W
@sdetweil I appreciate your efforts with this. After a week of trying everything to make it work on Bookworm I gave up and built it on Bullseye. I had a couple of issues though. The automatic install script froze the system during the Node installation. I had previously expanded the swapfile to 1024 (1 gb) as I found that the default setting was too low.
I removed MagicMirror and all of it’s sub directories and followed the manual install instructions. The mirror is now running well except for the MMM-Jast ticker which is now not nearly as smooth as it was under the previous version of MM running on Buster. I tried adding export ELECTRON_ENABLE_GPU=1 to my mm.sh script but that completely distorted the display.
I’m not sure if I’m going to keep this new version.
-
RE: Trouble updating Magic Mirror on Raspberry Pi Zero 2W
@sdetweil I did try Bullseye and that failed to install MM. I guess I could try again. This is so frustrating. I can can it working on one Pi Zero 2, but not another one. I’m done with this for now. My older version is working fine.
-
RE: MMM-MyScoreboard
For anyone else interested, I changed the following in the MMM-MyScoreboard.css file:
In the "MMM-MyScoreboard .box-score .status " section
From:
font-size: 20px;
font-weight: 400;To:
font-sze: 30px;
font-weight: bold;l -
RE: Trouble updating Magic Mirror on Raspberry Pi Zero 2W
@sdetweil I’ve been struggling with this for a week. Nothing new seems to play well with Pi Zero 2. I built the OS and MM from scratch on a USB drive and after many tries finally got it working. When I moved the USB drive to the Pi Zero 2 that’s mounted in my mirror it didn’t work. I tried it in the Zero 2 that I used to build the software and it didn’t work there either. However when I plug it into a Pi 4 it works fine. It seems that the changes they made in Bookworm ignored the needs of the Pi Zero 2.
I also built it from scratch on a 32gb microSD card and that worked. I tried using PiShrink to reduce the image size so it would fit on my 16gb USB drive. It appeared to work, but the Zero 2 wouldn’t boot from it. The way my mirror is set up, I can’t access the SD slot.
-
RE: Can't install MMM-Jast on RPi Zero 2 W after OS upgrade to Bookworm
@sdetweil Using Bookworm? Maybe my memory allotment fix messed things up, but I’m pretty sure it was like that before I did that. And it’s like that on two different Pi Zero 2’s, so it’s not a physical issue. I have a bunch of unused 4’s and 5’ but I’m reluctant to use them because I hear the drone of the fans when they’re in the mirror, which is in a small bathroom.
-
RE: Can't install MMM-Jast on RPi Zero 2 W after OS upgrade to Bookworm
@sdetweil I did use the 32 bit version. From boot to MM display is around 5 minutes, maybe more. The stock ticker (MMM_Jast) is very slow and jerky compared to my mirror running on Buster, and basically unusable. There were other things I noticed too. After booting to Raspberry Pi O/S, the monitor goes completely white for a minute or two between the desktop display and the Magic Mirror. I never had that issue with Buster. If I’m forced to upgrade in the future I’ll use a Pi 4 or 5, but for now I’ll stick with what I have.
-
RE: Can't install MMM-Jast on RPi Zero 2 W after OS upgrade to Bookworm
@sdetweil I tried 400, 800, and 1024. 1024 bricked it. I was able to plug the USB into a Pi4 and get it working, While in the Pi4, I was able to install the MMM-Jast module and then reduce it back to 400. When I moved it back to the Zero 2W it worked. But the whole thing is agonizingly slow on the Zero 2 with Bookworm. About 10 times slower than with Buster. Even logging in via SSH was terribly slow.
That was a few days completely wasted. Just out of curiosity, is there a way to reset the memory allocation to whatever the default value is? I have faster Pi’s I could use but I don’t like the fan noise.
-
Can't install MMM-Jast on RPi Zero 2 W after OS upgrade to Bookworm
I had MMM_Jast working on a Pi Zero 2 W (Buster). I wanted to update Magic Mirror to the latest version but that required an OS update as well. So I did a fresh install of Bookworm and MagicMirror. The NodeJS version is 20.15.1. and the NPM version is 10.7.0.
Magic Mirror and a couple of modules are working fine. However, when I try to install MMM-Jast I get an error during the “npm install” part. Here is the error message:
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
Can I increase the heap space, and if so, how and to what value?
-
RE: Trouble updating Magic Mirror on Raspberry Pi Zero 2W
@sdetweil It’s Buster. I guess I’ll have to build it from scratch again. I remember having a hard time getting the PIR Sensor module to work, not sure if works under bookworm.