ich habe eine andere (bessere) Lösung gefunden mit Hilfe von Xvfb. Mit Xvfb wird eine virtuelle X11 session gestartet und MM darauf angezeigt. Dann wird ein Screenshot vom framebuffer gemacht und auf dem ePaper angezeigt.
# Create Virtual MagicMirror Display
sudo apt update
sudo apt install xvfb
Xvfb :1 -screen 0 800x480x24 -fbdir /home/pi &
DISPLAY=:1 nohup npm start &
# Create Screenshot
cat /home/pi/Xvfb_screen0 | convert xwd:- bmp:/home/pi/screenshot.bmp
# Run Python Script to update ePaper Display
@Atheose thanks for the information im going out in a few to go pick it up the film as i figure its only 30$ worth a try worse case ill buy a sheet of glass and place thar on top or just bit the bullet and by the Acrylic mirror… ill update when i have it on
@ZombieDE IMHO, no it’s not worth it. Unless you’re planning on using your Pi through the mirror for surfing, video or the like. But if you’re planning on going with the normal black and white theme for the mirror, it’s not worth the extra color fidelity. I’ve found that with a little fiddling of the monitor settings (contrast max, brightness 40%, etc.) you can remove any background bleed from the LED backlight.
@fox It’s possible. If you configure your Pi to turn off the signal to the HDMI port, the monitor should shut off automatically. It should remain off until it detects a signal again, whereupon it will turn itself back on.
The MotionDetection module can do this for you with a Raspberry Pi camera. Otherwise, there is a module for using a PIR sensor.
I bought a used 32" tv which will be my mirror.
Basically I just tried different display sizes (19", 21" wide, 24", 27", 32", 46") with my MagicMirror to determine if it has enough free space to still act as a mirror but to display relevant data.
thats the post i followed, and have followed twice. The code is saving in the files I.e. the step below all saves and stays in the auto start config but doesnt do anything
I’m either missing something glaringly obvious …
Let’s disable the screen saver and screen blanking as well. This needs to be done in two places. First in the autostart configuration:
‘sudo nano /etc/xdg/lxsession/LXDE-pi/autostart’
And add the following to the bottom of the file:
@xset s noblank
@xset s off
Hi again guys… :p
Right i’m a total noob with absolutely no experience in programming or writing code… I have installed programs simply by clicking an install.exe and following on screen commands but that’s about as far as my level of experience goes! haha
So far i’m really chuffed with myself as I appear to have all the basic modules calibrated correctly?
News: BBC News
Calendar: Personal gmail
Compliments: edited text file to include the odd profanity in order to motivate my lazy ass!
So far so good… All working and looking great!
I look more into the compliments area and see you can customise compliments to relate to weather… Awesome! Tried adding it myself, failed. Has anyone got a copy and paste of the compliments.txt with weather related compliments working I can use as a template?
sure, why not, I don’t know anything about iOS but they should have some “widgets” or something like rainmeter to display what you want.
I suppose node.js works on iOS as well, so MagicMirror should also work.
@tidus5 : sorry, my bad. there are only these options:
@RSW said in Can i have the PIR sensor behind the mirror glass?:
I’m new to this but how do i configure the NoIR camera to turn on the mirror when motion is detected?