Skip to content
MCU Atlas
RASPBERRY PIPI-4PI-5

MagicMirror2: modular smart mirror on Raspberry Pi

Open-source modular smart-mirror software showing calendar, weather and news behind a two-way mirror, usually on a Pi.

Difficulty:IntermediateSource available

Key Facts

  • Board: Raspberry Pi 3/4/5
  • Pi 4 4GB $100-120; Pi 5 4GB $110 list / $130 in stock (checked 2026-11-20)
  • Display: any HDMI monitor + two-way mirror
  • Software: Node.js/Electron
  • Modules: 1000+ community

About This Project

MagicMirror2 is the software behind countless DIY smart mirrors. A Raspberry Pi drives a monitor placed behind two-way glass and shows modules like clock, calendar, weather, news and hundreds of third-party add-ons (Home Assistant, transit, photos). It is Electron-based and configured with one JavaScript file. The hardware can be as simple as a spare monitor and frame.

Source & Attribution

Source: GitHub
License: MIT
Last verified: 11/20/2026
MagicMirror2: modular smart mirror on Raspberry Pi

Illustration

How to Build It

MagicMirror² is an open-source modular smart-mirror platform. A Raspberry Pi behind a two-way mirror shows a clock, weather, calendar, news and more than 1,000 community modules, running in Electron on Node.js.

Parts Needed

  • Raspberry Pi 3, 4 or 5
  • HDMI monitor (bezel removed, for a slim build)
  • Two-way (one-way) mirror glass or acrylic
  • Wooden frame
  • Power supply

Steps

  1. 1

    Prepare the Pi

    Install Raspberry Pi OS with a desktop, connect the monitor and update the system.

  2. 2

    Install Node.js

    Install a current LTS version of Node.js, following the version the docs ask for.

  3. 3

    Install MagicMirror²

    Clone the repo, run npm run install-mm in the folder, copy config/config.js.sample to config/config.js, and start it with npm run start.

  4. 4

    Configure modules

    In config.js, set your location and units and enable modules such as weather (add your weather API key), calendar (an iCal URL) and news feeds. Install third-party modules into the modules folder.

  5. 5

    Build the mirror

    Mount the monitor behind the two-way mirror in a frame. Bright white text on a black background shows through best.

  6. 6

    Autostart

    Use pm2 (described in the docs) so MagicMirror starts on boot and restarts if it crashes.

Bill of Materials

Parts list

4 parts · 2 linked

Heads up: some Buy links are affiliate links. If you buy through one, MCU Atlas may earn a small commission at no extra cost to you. It never changes which parts we list. How this works

1× Raspberry Pi

Better buy at 2026-11-20 prices: the Pi 5 4GB - $110 list at PiShop.us but out of stock there today, $130 in stock at Adafruit - while the Pi 4 4GB runs $100 at PiShop.us and $120 at Adafruit (all checked 2026-11-20). Raspberry Pi rates the Pi 5 up to three times faster than the previous generation, and an always-on Electron dashboard can use it; pair it with the 27W PSU below.

1× HDMI monitor

$0 with a spare monitor - the classic MagicMirror2 build. Cheapest new HDMI display we verified live: Waveshare 7in IPS 1024x600 touch panel with HDMI+USB, $44.95 in stock at PiShop.us (checked 2026-11-20); a full-size desktop panel costs more.

No verified link — check the original project

1× Two-way mirror

Kept as an estimate: marketplace two-way acrylic packs could not be re-verified live today (Amazon and Walmart bot walls). Verified live alternative: ePlastics 1/8in x 24in x 48in two-way (see-thru) acrylic sheet, $238.39 cut-to-size - one sheet covers several mirrors (checked 2026-11-20).

No verified link — check the original project

1× Power supply

Official PSUs in stock at PiShop.us: 15W USB-C $8.80 (Pi 4) and 27W USB-C $12.95 (Pi 5 - pair with the recommended board) (checked 2026-11-20).

Not included: 3D-printed case, wire, solder, USB cable

Download CSV

Related Projects

OWLOS Flight Radar: live plane radar on the Cheap Yellow Display
Illustration
ESP32
Turn a Cheap Yellow Display into a touch radar of the planes overhead: free community ADS-B feeds on OpenStreetMap, flashed from a web page.
Beginner·Code
3 parts listed
Quad Board: e-paper kitchen dashboard for the Seeed reTerminal E1001
Illustration
ESP32ESP32-S3
A 7.5in e-paper kitchen dashboard for the Seeed reTerminal E1001: weather, news and markets, your teams' scores, and the plane flying overhead.
Intermediate·Code
1 part listed
OpenDisplay: open firmware for Bluetooth e-paper dashboards in Home Assistant
Illustration
NRF52NRF52840
OpenDisplay is open firmware that turns an nRF52840 or ESP32 e-paper board into a battery-friendly Bluetooth display you fill from Home Assistant.
Beginner·Code
6 parts listed