MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

    Raspberry Pi 3/Zero eInk (epaper) MagicMirror

    Tutorials
    4
    4
    4337
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      BenRoe Module Developer last edited by

      Hi,
      i created a node.js script to display a MagicMirror site on a 7.5 eInk Display.
      You can find the script on github with a minimal install instruction.

      A detailed german tutorial can you find on my blog.
      https://maker-tutorials.com/7-5-eink-epaper-bilderrahmen-magicmirror-display-raspberry-pi-zero-w/

      If you are interested to help, i have some open task.

      • translate detailed german tutorial to english
      • for every MMM a custom css is needed
      • support more display sizes (4.2 / 5.83 / 9.7)

      alt text

      1 Reply Last reply Reply Quote 2
      • N
        nick21 last edited by

        Hallo BenRoe,

        ich habe das Projekt bei mir einmal ausprobiert, da ich es sehr spannend finde.
        Im Prinzip funktioniert es auch, aber der Raspi W hängt sich sehr schnell auf.
        Chromium startet viele Instanzen und dadurch hängt sich der PI auf. Meistens funktioniert somit nur ein Durchlauf je Neustart.

        Hat jemand eine Idee woran dies liegen kann? Die MagicMirror Installation liegt schon auf einem anderen Pi (bzw. es wird nur eine Website von einem Rapsi 4 mit iobroker VIS aufgerufen), aber das solle ja nicht das Problem darstellen.

        1 Reply Last reply Reply Quote 0
        • A
          akrlfix last edited by

          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
          
          uros76 1 Reply Last reply Reply Quote 1
          • uros76
            uros76 @akrlfix last edited by

            @akrlfix hi. Can you share your script that updates screen? Thanks

            My magicmirror projects: https://forum.magicmirror.builders/post/79889, https://forum.magicmirror.builders/post/93241 and https://forum.magicmirror.builders/post/94586

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy