

From your Raspberry Pi start menu, click ‘Preferences’ and select ‘Raspberry Pi Configuration’. Later, I'll connect the speaker via bluetooth and set it next to the mirror or something. Navigate to the Raspberry Pi Configuration menu. It's not as loud or clear as the bluetooth speaker, but it will work for now. In this photo, you can also see the space where I was going to put my bluetooth speaker - I measured things (slightly) incorrectly and it won't fit, so I'm going to use the monitor's built-in speaker. This one cost me about $8, so I don't have very high hopes for it. If you can find a flush mount microphone that's good, go ahead and do that. I didn't want to drill a hole in the face of the mirror and ruin the look, although that would probably be the best location for a microphone. The microphone itself is flexible, so if it doesn't pick up sound properly I can always pull it out further and curl it around the bottom of the mirror. I put it in the bottom of the mirror where you won't see it. Next, I drilled a hole for my microphone.
Magic mirror raspberry pi install#
Eventually I want to install a power outlet behind the mirror, but for now I can be lazy and power it this way. I used my dremel and a multipurpose bit to cut a small slot at the bottom to run a power cord through. The total cost for this project (including the wood, monitor, Raspberry Pi, and mirror) was around $300-350. The box/frame houses all the components, including the microphone, and looks pretty. The Raspberry Pi is a small, credit card-sized computer that powers the whole thing, displaying the Magic Mirror interface and running Jasper, the voice-control system. I also recommend a monitor with built-in speakers, but this is optional. The Raspberry Pi smart mirror, also known as a magic mirror, is a futuristic digital mirror that displays everything from the current time and date to. I recommend an LED monitor for minimal power consumption, maximum crispness, and to prevent mirror glow at night. Order the thicker mirror option (3/16") to prevent a "funhouse mirror" effect. I ordered my mirror through Tap Plastics ( this one).

The two-way mirror is made of acrylic and sits flush over the monitor, allowing the graphics on the monitor to shine through while maintaining a mirror effect. You are now ready to the MagicMirror using this script using PM2. Now make sure the shell script is executable by performing the following command: chmod +x mm.sh. The attached highly technical drawing illustrates how these components work together. Save and close, using the commands CTRL-O and CTRL-X. MMM-Remote Control Control your magic mirror through a web interface on your laptop or smartphone. Phone notifications Show your phone notifications on your mirror. There are four major components to the voice-controlled smart mirror. MMM-AlexaPi / MMM-Awesome-Alexa Make your mirror even more awesome by integrating it with Amazon’s Alexa voice assistant.
