@cyberphox sure, no problem, here you go:
position: 'bottom_right', // This position is for a hidden <div> and not the screencast window
Thanks man. I think I’ll keep the feed open for the camera and use the MMM-Sounds for notification when someone pushes the button. That is, if I can get it to work
But a nice way to get the module data, thanks!
This is part 2 of my bathroom mirror build, part 1 is here:
Frameless Bathroom Mirror - Part 1
I hope it is ok to use 2 threads.
First of all, here is me with the final product
Last month, the glass has arrived from https://www.glas-star.de/
The basis of this project was my original bathroom mirror. It consisted of a 110 x 80 cm frame of 2 x 4 cm aluminium profiles and the mirror glass glued to the frame with double-sided mirror tape. In the next picture I freed the frame from the old mirror.
frame with shards
and here cleaned and tidied up for the fitting of the spy glass. For this I used a hot air gun and a untility knife blade.
You can see here that the old mirror had some electric wiring (for an in-built neon tube lighting), which I salvaged for the magic mirror project.
After glueing the new glass to the frame with 2-K-epoxy-glue, I covered the parts of the mirror that would later not be covered by the monitor.
I used black window film for this, here is an amazon link:
Since the frame only leaves 4cm space, I had to disassemble the monitor, so that the display and the electronics would fit.
I used tinsnips to dismantle the housing of the monitor’s electronics and soldered extensions to the led backlights.
controls for monitor
I screwed brackets for the display panel and the monitor electronics into the aluminum frame and used power tape to support. I used adhesive bases and zipties to tidy up the wirings. I used a junction box for the mains connections (to which I later added additional lighting)
frame with display and mains box
I have adapted the MMM-buttons module to read a toggle switch to switch on and off the MMM_Webradio module, 3 momentary switches are used to control the volume and select the next radio station, you can see them in the next picture, here is a link to the buttons that I used:
You can also see the microwave sensor here, which I use to detect people in front of the mirror from behind the glass.
Finally, I have added 2 additional LED lamps. The reason for this is that the original neon light was not strong enough to shine through the tinted glass. (For the neon light I had left out a stripe in the mirror foil, which I then covered with frosted glass film.)
mirror with LED lamps
Things I changed during the build:
It turned out that the wlan dongle whith which I had tested was too weak and slow once the mirror was monted on the wall. Therefore I got a 5GHz Wlan dongle, which works fine, no drivers required for the raspberry:
Behind the glass lamps are too weak to give proper light. Instead, I added these to the mirror:
In addition to what I described in part 1 (link), I have added a bluetooth dongle to stream the webradio to a bluetooth speaker:
Final thoughts on the glass: The reflection is absolutely fine, albeit a little less bright and clear than a “real” mirror. The visibility of the text is ok, but you should set the monitor to the brightest level. The look and feel of the glass comes really close to an ordinary mirror.
After a bit of work and quite some waiting, all pieces arrived and I gave an old notebook’s screen with a broken motherboard new life in the form of an informational screen just next to my frontdoor.
Before that, the requirements were that the screen had to be as unobstructive as possible so it had to be thin, and it had to look good on the wall as well, without any cables in sight. As a bonus, if it had the possibility to get a view of my living room it would be a nice touch.
The final result is this:
But first things first, I had to plan it first:
Cutting the slot for the screen
Butchering the door
After some initial testing, I decided to paint the frame and insert the webcam:
After assembling everything, this was the end result:
Close-up of final result
Some wood, black paint and quite some tools
An old HP Pavillion DV6000 screen, which is actually a Samsung LTN154X3-L01
The corresponding driver and a 12v/5A PSU for it (way overkill but I’m pretending to use that same PSU for some other stuff in the future)
Magic Mirror running via Docker (I want to install a magic mirror upstairs as well so it should use the same server. This pi also runs 15 other images as well, I don’t want to install anything on it except for Docker)
Firefox-esr with an add-on that allows the browser to start up full screen. I tried Chromium in kiosk mode, but it displayed a message after a while stating that it couldn’t be updated. Didn’t want to spent more time in it, so went the easy way.
To turn the screen on or off I wrote a small bash script and I used node-red for the actual programming of it.
Integrate MMM-MQTT into the monitor so that I can display some pieces of information directly on the screen
Integrate MMM-iFrame or MMM-iFrame-Ping so that I can display some grafana graphics (I really like the gauge that Grafana produces)
Make another actual mirror which will be upstairs
I hope you liked this project as much as I enjoyed making it!
More photo’s and details can be found here: https://imgur.com/a/b3TcNSt