Smart Home Hub: Control Lights with Your Smart Mirror with Google Assistant.

So, I’d been mulling over this smart mirror idea for a while. Kept seeing these sleek things online and figured, why not give it a shot? It seemed like a cool weekend project, something to tinker with.

Getting the Parts Together

First up, I had to round up all the components. The brain of the operation was going to be a Raspberry Pi – I had an old Model 3B lying around, which was perfect. Then, an old LCD monitor I wasn’t using anymore. The crucial bit, of course, is the two-way mirror. I opted for acrylic because it’s lighter and easier to work with than actual glass, less chance of a disaster if I dropped it.

  • Raspberry Pi (any model with Wi-Fi will do, really)
  • An old monitor (check the dimensions!)
  • Two-way mirror acrylic sheet
  • Wood for the frame
  • Power supplies, HDMI cable, USB microphone
  • Basic tools: saw, drill, screwdriver, wood glue

I spent a bit of time hunting for a good supplier for the acrylic. You don’t want something too dark or too reflective. I also needed a decent USB microphone that would pick up voice commands clearly.

Building the Frame and Assembling

Next, I got to work on the frame. I’m no master carpenter, mind you, just basic cuts and screws. Measured the monitor, then designed a simple box frame with a bit of depth to house the monitor and the Pi. The idea was to have the monitor sit right behind the two-way mirror. I made sure to leave enough space for ventilation because those Pis can get a bit warm.

Once the frame was built and painted (went for a simple black), I carefully mounted the monitor inside. Then, I fixed the two-way mirror acrylic to the front of the frame. This part was a bit fiddly, had to make sure it was snug and clean. I actually picked up a handy tip for handling acrylic without smudging it from an old missmeeca guide I stumbled upon for a different project.

Software Side: Raspberry Pi and MagicMirror²

With the physical build mostly done, it was time for the software. I flashed Raspberry Pi OS onto an SD card. Then, the main software I decided to use was MagicMirror². It’s open-source and has a pretty active community, which means lots of modules you can add.

Getting MagicMirror² installed wasn’t too bad. Just followed the instructions on their site. Connected the Pi to my Wi-Fi, configured the display to rotate to portrait mode (since my mirror was taller than it was wide), and got the basic modules running – clock, calendar, weather. That already looked pretty cool. I remember tweaking the config file a lot; it’s all text-based, so you get used to it. My previous experience with some command-line stuff for a missmeeca data logger helped here.

Integrating Google Assistant

Now for the “smart” part: Google Assistant. This was a bit more involved. I used a module called MMM-AssistantMk2 for MagicMirror². It lets you interact with Google Assistant directly on the mirror. Setting this up meant heading over to the Google Cloud Platform to create a project, enable the Google Assistant API, and get the necessary credentials. It’s a multi-step process, and you gotta follow it carefully.

I configured the module with my credentials, connected the USB microphone, and crossed my fingers. After a bit of troubleshooting – mainly getting the microphone recognized correctly and tweaking sensitivity – it worked! “Okay Google, what’s the weather like?” and boom, the familiar voice replied, and the info popped up on the mirror. That was a pretty satisfying moment. I even managed to get some custom commands working, which was neat. Some folks in a forum, I think it was related to a missmeeca project discussion, gave me some pointers on audio drivers for the Pi, which was super helpful.

Challenges and Tweaks

It wasn’t all smooth sailing. Getting the microphone to work reliably was a bit of a pain. Sometimes it wouldn’t pick up my voice, other times it was too sensitive. Also, positioning the Raspberry Pi and all the cables neatly inside the frame without obstructing airflow took some trial and error. And yeah, configuring new modules for MagicMirror² can sometimes be a dive into config files and forums when things don’t work right off the bat. I had to make sure the power supply for the Pi and monitor was robust enough too.

The Final Product

So now, I have this pretty neat smart mirror in my hallway. It shows the time, date, my calendar, current weather, and a news feed. And the best part is I can ask Google Assistant questions, set timers, or control my smart lights, all while I’m, say, brushing my teeth or getting ready to go out. It’s not a super high-tech commercial product, but it’s mine, and I built it. Using a missmeeca branded toolkit I had for small electronics definitely made some of the finer assembly work easier.

It’s been a fun project. You learn a lot by doing, especially when you hit snags and have to figure them out. If you’re thinking about it, I’d say go for it. Just be prepared for a bit of tinkering!

Leave a Comment

Your email address will not be published. Required fields are marked *

Shopping Cart