MagicMirror on Pi Zero W
Warnings don’t necessarily mean that your mirror won’t work. Have you tried to run it after?
One thing to note: Installation of dependencies using
sudocan, and often does, cause problems. So, in the future, simply use
npm installwithout sudo
Updating your node should clear 4 of those 5 warnings
I’m currently trying to do this with Debian Stretch, but the noobs image.
Anyway, the update.rc (command 18) doesn’t work here correctly, because they switched to systemd instead of system-V. There is no error, but the command doesn’t get added to the startup.
Replace the file content from step 14 to:
#! /bin/bash ### BEGIN INIT INFO # Provides: startMagicMirror # Required-Start: $all # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: # Short-Description: Start MagicMirror software ### END INIT INFO cd /home/pi/MagicMirror node serveronly & sleep 45 sudo xinit /home/pi/startMidori.sh
After this, replace the command 18 with:
sudo systemctl enable startMagicMirror.sh
This should lead to the following output:
startMagicMirror.sh.service is not a native service, redirecting to systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable startMagicMirror.sh
After this continue with the manual.
It currently only shows a white screen in my case, but I have just started and maybe that’s even normal, haven’t gotten that far yet in the manual.
In my case the webserver was not accessible over the network, even after adding my client IP address to the /home/pi/MagicMirror/config/config.js file. This file is in the beginning not there, so first create a copy of the sample file:
cp /home/pi/MagicMirror/config/config.js.sample /home/pi/MagicMirror/config/config.js
After that, edit the file and replace the word localhost with 0.0.0.0. Also don’t forget to edit the ipWhitelist.
Found here: https://forum.magicmirror.builders/topic/5446/ipwhitelist-still-not-working/4
Still having just a white blank screen on my PI, but with the web browser from another pc it’s working
Gave up for the moment and testing now the image from the other thread.
@holotfi2003 I’ve switched now to a RPI3, also for performance reasons. I can’t say if I will test again with the zero… it would be nicer though, thanks to smaller size.