talira

MagicMirror²

The open source modular smart mirror platform

open sourceMITself-hostablefree

MagicMirror² is an open source modular smart mirror platform: developed to run on a Raspberry Pi, it turns a hallway or bathroom mirror into a personal assistant that shows modules such as a clock, calendar, weather, news feed, compliments and alerts. A growing list of third-party modules adds other information and devices, and a module API lets anyone build their own. It is a Node.js app wrapped in Electron, so no separate web server or browser is needed, and a server-only mode serves it to a browser on another device instead. Michael Teeuw, who built the original MagicMirror, created it, and a community of contributors maintains it under the MIT licence.

Ways to install

Problems it solves

  • build a smart mirror for my bathroom that shows the time, weather and my calendar
  • a Raspberry Pi project to turn an old monitor and a two-way mirror into a family dashboard
  • show our family's shared Google calendar on a screen in the hallway
  • a wall display that shows the weather forecast and news headlines while I get ready
  • DIY smart mirror software with plugins for things like bus times and to-do lists
  • write my own module to show data from my home server on a mirror display
  • run a kitchen information display on a Raspberry Pi without coding the whole thing
  • display compliments and reminders on my mirror for the kids in the morning
  • show an information dashboard on a tablet or browser, served from a Pi in the closet
  • open source alternative to buying a commercial smart display for the house
  • a school maker club project that combines hardware and JavaScript
  • run a modular dashboard in a Docker container for a wall-mounted screen
  • show iCal calendars and RSS feeds on a magic mirror

Features

  • default modules: clock, calendar, weather, news feed, compliments, alert and update notification
  • third-party modules listed on the wiki and modules.magicmirror.builders
  • module API for building your own modules
  • runs in Electron, with no separate web server or browser to install
  • server-only mode that serves the display to a browser on another device
  • configuration in a single config file
  • Docker image and Kubernetes Helm chart (server-only) maintained in the community
  • MagicMirrorOS, a Raspberry Pi OS-based system image that runs it with Docker
  • Wayland by default, with an X11 start command

Limitations

  • Doesn't run on the Raspberry Pi Zero or Pi 1: Electron supports only the Pi 2, 3, 4 and 5, so a Pi 1 needs server-only mode and a browser3
  • Doesn't work on Raspberry Pi OS Lite: it needs the full Raspberry Pi OS with a desktop environment for Electron3
  • Designed for Linux: it can run on Windows with a different start command, but some third-party modules may not work there4
  • Third-party modules aren't security-tested: the modules list says you use them at your own risk5

Capabilities

Takes pluginsplan not known