Software Setup for a Raspberry Pi 4 Smart Mirror

Oct 28, 2026 Last reply: 12 hours ago 3 Replies
Jump to replies (3)

The trickiest step here turns out to be the display itself. Grensom connects the board to a wall-mounted television through the micro HDMI port, and the Raspbian desktop first shows up with unwanted black edges around the picture. The fix is a single checkbox in the welcome dialog that corrects the screen margins, and once that is ticked the interface fills the panel properly. It is a small detail, but on a display meant to sit behind glass it matters a lot.



The hardware side is kept simple: a Pi 4 Model B in a black two-piece official case, a 16 GB microSD card flashed with the full Raspbian Buster image using balenaEtcher and a dual-slot card reader on a PC, a yellow USB-C power cable fed from a wall plug on a power strip, plus a mouse and wireless keyboard for setup. The micro HDMI lead goes to the HDMI0 port.



For the software, MagicMirror is installed with a bash curl command pulled from magicmirror.builders, found through the Chromium browser. PM2 handles auto-startup, the screensaver is disabled during installation, and keyboard shortcuts adjust the interface scaling for different monitors. The finished result is genuinely appealing: widgets for time, date, a four-day forecast, calendar events, a greeting and Spotify floating over reflective glass. Grensom points out that it beats opening four or five separate apps, especially while getting ready.



One thing is left open: this tutorial covers only the software setup, and which mirror glass was used or where it came from is handled in a separate build instead. That feels like a fair split, though anyone hoping to copy the whole project will need both parts.



Project by Grensom. Watch it on their YouTube channel:

formatting link


Using PM2 for the auto-startup seems like the smartest call in the whole walkthrough. A mirror that only runs after someone types commands defeats the purpose, so having it boot straight into the display is what makes this practical for daily use. The trade-off is a little extra complexity during install, but one yes answer seems a small price for a wall display that just works every time.

Does anyone know which reflective glass the maker ended up with, and where it came from? The tutorial sticks to the software side and leaves that out, sending people elsewhere for the physical build. Also curious whether the interface scaling shortcuts were needed for the television specifically, or whether the margin checkbox alone got the picture sitting cleanly behind the reflective surface.

A concrete suggestion: after the standard modules are in, the maker notes that hundreds of third-party ones can be added, so a follow-up picking a handful of the best extras would be a natural next step. Something like a stock ticker, a commute time widget or a home sensor readout would turn a weather and calendar panel into a proper household hub, and it would give this same setup a longer life.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required