MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Robert_K
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Offline
    • Profile
    • Following 0
    • Followers 3
    • Topics 5
    • Posts 14
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Bathroom mirror: "Frameless, thin, gesture and voice controlled"

      @Tyfoon

      Goodmorning,

      Hardware wise I have not a single issue. There is absolutly no warping in the plexiglass.
      I choose plexiglass because that’s what I can get hold of easiliy. And with a industrial lasercutter at hand it’s easy to build products with plexi.

      Things I would have don differently would only be software. The Google / Hotword is realy sensitive, and Google is gimmick but not really usefull. So I wouldn’t install it in a next version. It’s only to showoff but we’re not using it on a regular day. Besides that, it slows the mirror and internet connection down a lot. (but this could be a fault in my software)

      Regards Robert

      posted in Show your Mirror
      Robert_KR
      Robert_K
    • RE: Bathroom mirror: "Frameless, thin, gesture and voice controlled"

      @mkloth

      If I recall correctly, I used this type of mirror:
      https://plexiglasstunter.nl/plexiglas-xt-plaat-spiegel

      posted in Show your Mirror
      Robert_KR
      Robert_K
    • RE: Bathroom mirror: "Frameless, thin, gesture and voice controlled"

      Thank you for the compliment.

      The 3 “devices” are DC-DC converters. They are adjustable. The screen powerbord suplies 19V DC.
      The Pi uses 5V, the LED’s uses 5V (but works better on 4V) and the audio bord uses 9V, however I didn’t use them. Both have a great power output (enought amps)

      The LED’s are WS2801 programable (waterproof) LED’s for which I wrote two python scipts.
      The Gesture module activates these python scripts.

      Regards Robert

      posted in Show your Mirror
      Robert_KR
      Robert_K
    • RE: Bathroom mirror: "Frameless, thin, gesture and voice controlled"

      @OviOne

      I used Plastidip. This is a rubberish spray which gave a nice seal/coating on all electric circuit boards. I left de RPI open but all others got sprayed with PlastiDip.

      The ventilation is right above the shower, so the mirror doesn’t get that damp actually. It’s nog fogging up like a normal mirror due to two things. Glass is colder than acrilic, and the LCD screen gives a bit of warmt.

      Regards Robert

      posted in Show your Mirror
      Robert_KR
      Robert_K
    • RE: Bathroom mirror: "Frameless, thin, gesture and voice controlled"

      And a couple of pictures. But the Youtube video shows best IMHO.

      20220523_163834.jpg

      20220523_163846.jpg

      20220523_163931.jpg

      Regards Robert

      posted in Show your Mirror
      Robert_KR
      Robert_K
    • RE: Bathroom mirror: "Frameless, thin, gesture and voice controlled"

      @thgmirror said in Bathroom mirror: "Frameless, thin, gesture and voice controlled":

      @Robert_K
      Nice mirror.
      One hint, in your video, you mentioned, that the front-door-cameras refresh every time they are shown resp. the page is displayed. I guess, you use SmartWebDisplay for it? Try to replace it with MMM-iFrame, should no longer flicker at the start of the page.

      Nice one, I’ll try it shortly.

      posted in Show your Mirror
      Robert_KR
      Robert_K
    • Bathroom mirror: "Frameless, thin, gesture and voice controlled"

      5 years ago I’ve build my first MagicMirror.

      Since then I’ve always wanted to build a bigger one in our bathroom, after building a couple more mirrors (as I’m a teacher, also together with students) I finally started this project.

      I’ve had a couple of requirements:

      • It must be thin! (Achieved, as it’s only 36mm thick.)
      • It has to be frameless
      • It has to have a good reflection
      • Gesture and voice controlled
      • Don’t want it to be cluttered with modules, yet show the wanted information

      I’ve started designing it in SolidWorks:
      Solid Works Design on Youtube

      Building the mirror:
      The frame is made out of black acrylic and uses the disassembled monitor as frame for it’s strength. Also the added electronics ground plate ad’s strenght:
      Bouw mirrir.jpg

      All the acrilic sheets are joint by different types of finger joints. However The reflection must be perfect (to reach the “wife approval factor” ;-) ). Therefore I’ve painted both the black acrylic as the backside of the mirror glass black. This created an perfect reflection!
      2021-05-10 15.35.05.jpg
      Mirror glass painted.jpg

      However the painted parts gave a new challenge in how to connect the mirror glass to the back acrylic frame. Another requirement was a frameless mirror so I had to use some kind of adhesive. I’ve made several test pieces with different glues and tape. Glues where aggressive and started to dissolve the paint or even the silver layer of the mirror glass. So thin adhesive tape did the trick:
      Ready for mirror glass.jpg

      All the electronics needed to be thin, so I would reach my first requirement. Here’s what the inside of the mirror looks like: From left to right: Monitor power board, Monitor data board. 3 pieces of DC-DC Buck converters with high amp ratings for Backlight, Powering the Pi and (later deleted) amplifier, Raspberry Pi48GB.
      2022-04-18 20.53.31.jpg

      Some of the pieces are 3D Printed (orange), however they are 3D printed in PTEG as PLA is biodegradable and won’t last long in a damp environment. All the electronics are made waterproof with PlastiDip spray.

      Programming the mirror gave a lot of challenges. I wanted to use gestures. I’ve tried and tested a lot with a big Flickboard. Even tested it behind acrilic and glass. However, I didn’t test it behind mirror glas, which seemed to not work due to the metallic coating. So I had to switch to a PAJ7620u2 Gesture sensor. And this would need a bigger hole in the mirror which I wouldn’t prefer.
      Cédric Bugsounet made some awesome modules, for example the Google Assistant module. However the past year he has changed the core of it, which would require (re)programming. As it’s a really complex module which needs a lot of external API’s this cost me some time. I’ve also have a Pi-Hole running at my home which blocks the Google Assistant requests, it took some time to discover this.

      Used modules:

      • MMM-Buienradar
      • MMM-Screencast
      • MMM-GoogleAssistant
      • MMM-GroveGestures
      • MMM-Remote-Controle
      • MMM-SmartWebDisplay
      • MMM-RPI-LED
      • MMM-pages
      • MMM-page-indicator
      • EXT-Screen
      • EXT-Pir

      2022-05-12 20.04.15.jpg

      And this is the final product:
      :fast-forward_button: Youtube: Magic Mirror: “Frameless, thin, gesture and voice controlled”:fast_reverse_button:

      posted in Show your Mirror
      Robert_KR
      Robert_K
    • RE: MMM-GroveGestures -> ShellExec "Python script"

      So after some thinkering with the hint I got, I’ve got the code working:

      
      "UP": {
      shellExec: "python /home/pi/ws2801_inschakelen.py",	  
      	     },
      "DOWN": {
      shellExec: "python /home/pi/ws2801_uitschakelen.py",
      			}
      

      Thanks for the help!

      posted in Troubleshooting
      Robert_KR
      Robert_K
    • MMM-GroveGestures -> ShellExec "Python script"

      Good day fellow builders,

      I’m building my second MagicMirror and it works for 95%.
      I’m using the MMM-GroveGesture module to switch between Pages (MMM-Pages and MMM-Page indicator).

      I’m having WS2801 LED’s connected. For these LED’s I wrote two Python scripts. When executing the python scripts in the RPI (4) terminal they work flawless.
      However I want to activate the scripts by the gestures. So with the up gesture, switching on the LED’s, and with the down gesture, switching them off.

      Reading the MMM-Grove Gesture module readme I can use three types of executions:

      • shellExec: “…”,
      • notificationExec: { … },
      • moduleExec: { … },

      Now I’m a bit lost. I tried to use the shellExec command, but it does not start my python script. If I change it to for example ‘sudo reboot now’ the execution of the gesture does work. Here is (a part) of my config file:

      {
       			module: "MMM-GroveGestures",
        			position: "top_right",
        			config: {
      					autoStart: true, //When Mirror starts, recognition will start.
      
      					gestureMapFromTo: { //When your sensor is installed with rotated direction, you can calibrate with this.
      										"Up": "RIGHT",
      										"Down": "LEFT",
      										"Left": "UP",
      										"Right": "DOWN",
      										"Forward": "FORWARD",
      										"Backward": "BACKWARD",
      										"Clockwise": "CLOCKWISE",
      										"anti-clockwise": "ANTICLOCKWISE",
      										"wave": "WAVE"
      										},
      
      					defaultNotification: "GESTURE",
      					pythonPath: "/usr/bin/python", // your python path
      
      					defaultCommandSet: "default",
      					commandSet: {
      								"default": {
      											"LEFT": {
      											notificationExec: {
      											notification: "PAGE_INCREMENT",
      											payload: null
      															  }
      													},
      											"RIGHT": {
      											notificationExec: {
      											notification: "PAGE_DECREMENT",
      											payload:null,
      															  }
      													},
      											"UP": {
      											shellExec: "sudo reboot now",	  
      												  },
      											"DOWN": {
      											shellExec: "python ws2801_uitschakelen.py",
      													}
      											},											  
             							},
      					}
      		},
      

      So I’m wondering, how to start my python script with this module? Anyone can point me in the right direction? Thanks in advance.

      Regards Robert

      posted in Troubleshooting
      Robert_KR
      Robert_K
    • RE: Small 'Picture frame' MagicMirror (first attempt)

      @E3V3A said in Small ‘Picture frame’ MagicMirror (first attempt):

      Wow, beautiful inside!
      How did you make the cables stay so nicely squared? With hot-glue?

      Yes, hot glue indeed.

      Regards Robert

      posted in Show your Mirror
      Robert_KR
      Robert_K
    • 1
    • 2
    • 1 / 2