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

    Posts

    Recent Best Controversial
    • RE: Raspberry Pi 3/Zero eInk (epaper) MagicMirror

      Hi,
      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 &
      cd /home/pi/MagicMirror
      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
      python3 /home/pi/Workspace/ePaper/epd_7in5_V2_test.py
      
      posted in Tutorials
      A
      akrlfix
    • 1 / 1