The frame of my MagicMirror is based on the IKEA RIBBA frame which is not matching the dimensions of the display. Unfortunately this is sometimes visible, so I deciced to shrink the frame and match the mirror the size of the display.
I’ve used some WS2801 LEDs for notification on my Magicmirror build. Unfortunately with the update to Raspbian stretch they were no longer working with the MMM-Pilights module which used the rpi-ws2801 node module.
In MagPi 54 the MagicMirror² was featured and got my attention. After some research I realized a good two-way-mirror is hard to get. At the same time there was a centralized order for the mirror in germany so I decided to participate.
Since I didn’t want to create a custom frame I based the hardware components on the tutorial off glancr and used a Ikea RIBBA Frame. The Raspberry Pi 3, the display controller and a 5V relay are mounted to a black silkscreen plate which has a wood frame to maintain space for these components.
The LCD display is smaller than the mirror and taped to the mirror. The remaining mirror glass is masked with black rigid PVC to prevent transparency of the inner components.
Most of the time the display can be powered off because nobody is around so I decided to mount a 5V relay to the power button of the display controller. Additionally the power button is also duplicated on the top. A HC-SR04 distance sensor can determine when there is somebody standing in front of the mirror and trigger the relay which triggers the power button of the display controller. When there is nobody around for some time the relay is also triggered to save energy and disable the display. The HC-SR04 sensor is mounted in a self made 3D printed case.