Read the statement by Michael Teeuw here.
Newbie
-
Hi All
Newbie here…My Rasberry Pi, needs to be reprogrammed everytime I shut it off. It is an 8gb with a 32gb sd. Can anyone help a newbie?
Thanks all
-
What do you meen whit reprogrammed, the mirror is not booting up or is the hol SD card empty? Where you from?
-
Hi Jerryp
Thanks for response. If I shut RPi off it will reboot but not launch magic mirror. I am from USA, Boston area. SD card is brand new
thx
-
@bimmer
Ok… so the folder MagicMirror is on the PI.in the terminal…
sudo npm install -g pm2
2.
cd ~
nano mm.sh
3.
cd ~/MagicMirror
DISPLAY=:0 npm start
4.
CTRL-O en CTRL-X
5.
chmod +x mm.sh
6.
sudo pm2 startup systemd -u pi --hp /home/pi
7.
now you can fire up the mirror
pm2 start mm.sh
8.
One command
pm2 save
9.
sudo rebootGoodluck
-
Som useful commands MagicMirror:
Restart the MagicMirror
pm2 restart mm
Stop the MagicMirror
pm2 stop mm
The Log of the MagicMirror showing
pm2 logs mm
MagicMirror proces info
pm2 show mm -
@jerryp use my fixuppm2 script.
-
-
@jerryp i understand. but dont need to issue commands. my script does it all.
also included in my install script
-
This post is deleted! -