Hi , I try to explain a bit more.
Everything is in the wall . I used one Raspberry 4 and an housing with a quit fan on top .
On top of the wooden wall is the PIR mounted. Works fine if someone is going from our kitchen to the living room. Both monitors come back in 5 seconds . If I am about 3 meters away the wake up process starts. Perfect for me and my family.
The controlling of the screens is a quite „push the Button“ Action . I started to control everything with Alexa , but early in the morning or quite late in the evening I don’t like to talk to much … but in general it also works .
Back to the buttons . I use a conbee Zigbee stick in a second Raspi placed in our basement of the house. On this second Raspi the software ioBroker is installed . So if I push the Zigbee button it will send an trigger to the ioBroker via conbee. The ioBroker translates with an program script the Zigbee trigger into an MQTT trigger . This MQTT is uses with the MQTT Bridge in the MagicMirror to push notifications to the MagicMirror … yes quite difficult, but it works fine and the delay is not to big ( Max 0.5 sec.)
I also started to test with real wired buttons. The plan was to bore holes in the wood an place a few buttons , but I decided to do in regards of a cleaner view of the wood wall.
Here some more pictures
I created a simple one-line script that plays the video on a loop and then added it to the PM2 management via pm2 start boo.sh and pm2 save. I disabled the Magic Mirror interface via pm2 stop MagicMirror and pm2 save. Now when then mirror boots, PM2 only watches over the script that calls the video playback.
It’s not running the MagicMirror interface. No sense using all that overhead and calls to the weather API when it’s not being displayed.
Caveat: the right display runs a video on loop under normal circumstances. Commenting out the one line that runs that video file and adding a line to play a different video file was trivial.
Yes, VLC has the option to play a playlist or single file on a loop. You can find the command line options at VLC Help
Not really. The file is already on the disk and sized to the resolution of the monitor. There’s no CPU or GPU intensive tasks and the on board hardware acceleration takes care of most of it.
@elitecybernet - Yeah, there is sound included in the video files. I turned it down as it got really distracting really quickly. The video is only like 3 minutes long and hearing the demonic laughter every 3 minutes got old. I think the left portrait was at 50% volume and the right was completely muted.
Now that Halloween is gone, I reverted the left & right displays to their original format. Because PM2 manages the scripts, it took all of 30 seconds per display. The hardest part was remembering their IP address so I could log in.
I got it through the ‘community order’ on this page.
The reflectance is very good, it’s a real mirror.
My only problem with it, is that the chroma of it is a bit brown, so it requires quite a lot of light in the room.
Hi. Thats right. i only use 1 Pi4 to serve both displays via 2 MM instances. first the originally MagicMirror directory and the second in a MagicMirror2 directory. Both powered up via PM2 and turned off and on via PIR sensor.