Home Reinstall Magicmirror
Post
Cancel

Reinstall Magicmirror

– title: Reinstall MagicMirror categories: [linux,magicmirror] tags: [setup,github] —

Initial setup

Use Raspberry Pi Imager to flash a SD-card with the latest desktop version.
Boot up and SSH into the Raspberry Pi.

1
2
3
sudo apt update
sudo apt-get dist-upgrade
sudo reboot now

Wait till it is up again.

Install MagicMirror

1
bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"

Install modules

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
cd MagicMirror/modules/
#
git clone https://github.com/alexbergsland/MMM-BirthdayCountdown
cd MMM-BirthdayCountdown
npm install
cd ..
#
git clone https://github.com/heskja/MMM-CalendarWeek
cd MMM-CalendarWeek
npm install
npm install valid-url --save
npm install request --save
npm install rrule-alt --save
cd ..
#
git clone https://github.com/timdows/MMM-JsonTable
cd MMM-JsonTable
npm install
cd ..
#
git clone https://github.com/jclarke0000/MMM-OpenWeatherForecast
cd MMM-OpenWeatherForecast
npm install
cd ..
#
git clone https://github.com/Alvinger/MMM-ResRobot
cd MMM-ResRobot
npm install
cd ..
#
git clone https://github.com/AgP42/MMM-SmartWebDisplay
cd MMM-SmartWebDisplay
npm install
cd ..
#
git clone https://github.com/retroflex/MMM-Skolmaten
cd MMM-Skolmaten
npm install
cd ..

Rotate the display

For Raspberry 4 and Wayland. Edit .config/wayfire.ini and add this at the end:

1
2
[output:HDMI-A-1]
transform = 90

Reboot.

This post is licensed under CC BY 4.0 by the author.