install magic mirror

How to Install Magic Mirror: Step-by-Step Guide

By Robert Jackson
AD

Transform your spare mirror into a digital world with the Magic Mirror! This open-source smart mirror platform allows you to create an interactive, voice-activated, and stylish smart device for your home or office. Here's a comprehensive guide on how to install Magic Mirror, ensuring that you'll enjoy a stunning, modern upgrade to your living space.

Before we delve into the installation process, ensure that you have the following materials ready: a computer monitor or laptop with an HDMI output, a mirror with the same dimensions as your screen, a Raspberry Pi, your preferred speakers, and a humidifier to maintain the mirror's functionality. Let's get started!

Setting Up Your Magic Mirror

First, you need to install the required software on your Raspberry Pi. Magic Mirror runs on a specific build of Linux called Raspbian, so we'll start by flashing Raspbian Lite onto your Raspberry Pi's microSD card.

AD
an open laptop computer sitting in a cardboard box on top of a wooden table next to a piece of paper
an open laptop computer sitting in a cardboard box on top of a wooden table next to a piece of paper
a large mirror sitting on top of a floor next to two lamps
a large mirror sitting on top of a floor next to two lamps
Magic Mirror Polarizer Installation
Magic Mirror Polarizer Installation

To do this, follow these steps:

Flashing Raspbian Lite

1. Download the latest version of Raspbian Lite from the official Raspberry Pi website and extract it to your computer.

Interactive Mirror Concept
Interactive Mirror Concept
Building a Magic Mirror
Building a Magic Mirror
a glass door with some pictures on it
a glass door with some pictures on it

2. Insert the microSD card into a compatible card reader and then connect it to your computer.

3. Download and install Etcher, a user-friendly flashing tool, from its official website.

AD

4. Launch Etcher, select the Raspbian Lite image, and choose the microSD card as the destination drive before clicking 'Flash!' to begin the process.

a woman standing in front of a large mirror touching the buttons on it's screen
a woman standing in front of a large mirror touching the buttons on it's screen
a man is looking at his reflection in the glass door of a clothing store,
a man is looking at his reflection in the glass door of a clothing store,
Un Miroir Magique (Magic Mirror) avec le Raspberry Pi - Framboise 314, le Raspberry Pi à la sauce française....
Un Miroir Magique (Magic Mirror) avec le Raspberry Pi - Framboise 314, le Raspberry Pi à la sauce française....
DIY Magic Mirror and Photobooth - Arduino Powered
DIY Magic Mirror and Photobooth - Arduino Powered
The Magic Mirror That Won’t Break – Just Peel, Stick & Shine! 😎🔥
The Magic Mirror That Won’t Break – Just Peel, Stick & Shine! 😎🔥
a display window with an image of a man's shirt on it and people walking by
a display window with an image of a man's shirt on it and people walking by

Enabling SSH

To connect to your Raspberry Pi remotely and set up Magic Mirror, we'll use SSH (Secure Shell). Enable SSH by following these steps:

1. Eject the microSD card from your computer.

AD

2. Insert the microSD card into your Raspberry Pi and connect it to the internet.

3. On your computer, run the following command in your terminal to enable SSH: `touch /Volumes/boot/ssh`

Installing Magic Mirror

Now that your Raspberry Pi is set up, it's time to install Magic Mirror and configure it to your liking.

AD

Start by connecting to your Raspberry Pi via SSH. If you don't know your Pi's local IP address, you can find it by running `ifconfig` in your terminal. Once you have the IP address, use the following command to connect: `ssh pi@`

Updating and Upgrading

Before proceeding with the Magic Mirror installation, ensure that your Raspberry Pi is up-to-date by running these commands:

1. `sudo apt-get update`

2. `sudo apt-get upgrade`

Installing Magic Mirror

Now, let's install Magic Mirror by running the following command in your terminal:

`curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh | bash`

Once complete, you'll be prompted to reboot your Raspberry Pi. Do so with `sudo reboot`. After rebooting, you should see the Magic Mirror interface on your monitor behind the mirror.

Customizing Your Magic Mirror

With Magic Mirror installed, it's time to customize your smart mirror to your liking. You can modify the default config file, set up modules, or even create your own modules using the JavaScript framework. To access the configuration files, navigate to the MagicMirror² folder using the following command: `cd MagicMirror/s config/`

For more detailed guidance on customizing Magic Mirror, visit the official MagicMirror² GitHub wiki: https://github.com/MichMich/MagicMirror/wiki

There you have it! Your new Magic Mirror is set up and ready to be admired and interacted with. Enjoy the modern convenience and style it brings to your space. Don't forget to explore the countless configuration options and modules available to make your Magic Mirror truly one-of-a-kind.

AD