Ian Hayward

The blog of a tech lead, equal parts tutorial and archive for things I have worked on.


I don't do adverts and would rather a free crypto viewing model. If you are interested in either how that works or helping me out, click on the Brave or BitTube links below

Making a Smart Mirror

October 10, 2019

A smart mirror build with spotify added in

So for a challenge, I wanted to try and make a Smart Mirror. I wanted to make it functional as a mirror but also cool and with handy extras like USB charge ports and music.

Things needed

To Do List

  • A screen: I pulled the one I am working with from an old Samsung laptop. You can find controller units on Amazon or Ebay that turn it into standard monitor with ports and controls. Or you can take out the screen from any monitor really.

Screen

  • A raspberry Pi: Pretty standard, the one in this build is a Raspberry Pi 3 Model B+ but I think you can get away with older models, just don’t select a Raspberry Pi Zero as it’s not got enough power to run everything.

raspberry pi

  • A Speaker: If your going to play music from it you need to have at least a passable speaker connected.

Speaker

  • A USB Hub: This helps power your Pi and Speakers so you won’t need a million cables coming out the back of the mirror.

usb hub

  • A Mirror: The mirror I’m working with is a dressing table mirror but you can use just about anything.

Mirror

  • Tools and Materials to put it together: For this build I used wood to build a backing area where I could place everything nicely but you can do whatever is best for your setup. For the front I got a 2 way plastic mirror on Amazon that was close enough to the right size it just needed a bit of a trim on the edges

Materials

  • Cables to connect everything together: HDMI Cable, USB to micro usb cables, male to male audio cable, power cable for the monitor all needed.

Setting up the Pie

Pie

We will be using MagicMirror² for this build, make sure to read up on how to auto start the mirror too here.

Initially, I had planned on using Google assistant but as the build started Google deprecated the usage so instead to make sure we can have music we can use Raspotify for music, this had a bit of an issue with the HDMI so make sure you check out this if you have the same problem HDMI boost config

Honestly once they are working it was smooth sailing!

Installation

Installation

First I made sure the screen fit into the wood I had cut out. Made sure to use tape to seal any extra light from things like the pie showing up mirror side. Screen front

Also useful for securing it in place Screen back

Next I made sure everything was going to fit and cut holes for all the items to be accessible from the back checking size

Finally I turned it all on without the new glass in to make sure it was working. test run

All Done

It is working

alive

Share This Post