MyMirror · Personal project
I rebuilt a fitness mirror for our bedroom
My wife wanted a mirror for our bedroom. I took an old lululemon fitness mirror, got Android running on its original computer, and wrote the dashboard that now lives behind the glass.
Prototype photo, retouched with AI. The calendar shows sample entries. Weather data by Open-Meteo.
Original hardware, new software
I kept the glass, screen, and original computer. USB debugging, the usual way to connect to an Android device for development, was unavailable. I got it working and reflashed the mirror with a clean build of Android 6. Michael’s recovery work helped me get there, and Tim Stewart’s project helped me understand the original system. Michael’s recovery project · Tim’s mirror project
I got the built-in camera capturing full-size photos, then dug into the software that drives the sensor and tested ways to reduce grain without losing detail.
Detail from the original photo showing the clocks and weather for Detroit and Casablanca.
The original audio board and speaker wiring with the rear cover off.
A dashboard that belongs in a bedroom
The dashboard shows two clocks, our calendars, to-dos, weather, and daily Salah (Muslim prayer times). On a board with about 1 GB of memory, I kept it responsive by updating the parts of the screen that changed and calculating prayer times on the mirror.
A black screen still glowed in a dark bedroom, so I made the night schedule switch the display itself off. On the real mirror, it woke in about a quarter of a second in a wired test.
A few open-source projects handle the prayer calculations, calendar feeds, and weather. Adhan · Calendar library · Open-Meteo