MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    PIR problem RPi 4B, Bullseye 64 bit

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    23 Posts 3 Posters 4.9k Views 3 Watching
    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.
    • W Offline
      wyovino @sdetweil
      last edited by

      @sdetweil I appreciate your help in this as it’s obvious this is an environmental issue, not a Magic Mirror issue.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @wyovino
        last edited by

        @wyovino I don’t see anything related to python there

        to get rid of the mesa errors, add

        export ELRCTRON_DISABLE_GPU=1

        in the mm.sh in front of the npm start

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • htilburgsH Offline
          htilburgs
          last edited by htilburgs

          I had issues that look the same. After a system crash (defect SD card after 6 years) I could fallback on a backup, but I decided to do a fresh install wih the latest rPi OS. After that my PIR didn’t function anymore. Screen didn’t went of and back on again.

          In my case the solution to put the GL driver back to legacy.

          • sudo raspi-config
          • advanced options
          • GL driver
          • Legacy

          After that my Python script and the PIR worked as they should.p

          (still trying to learn JS, but not afraid to ask) ☺

          W 2 Replies Last reply Reply Quote 0
          • W Offline
            wyovino @htilburgs
            last edited by

            @htilburgs said in PIR problem RPi 4B, Bullseye 64 bit:

            I had issues that look the same. After a system crash (defect SD card after 6 years) I could fallback on a backup, but I decided to do a fresh install wih the latest rPi OS. After that my PIR didn’t function anymore. Screen didn’t went of and back on again.

            In my case the solution to put the GL driver back to legacy.

            • sudo raspi-config
            • advanced options
            • GL driver
            • Legacy

            After that my Python script and the PIR worked as they should.p

            Interesting. Are you using the MMM-PIR-Sensor module?

            htilburgsH 1 Reply Last reply Reply Quote 0
            • htilburgsH Offline
              htilburgs @wyovino
              last edited by

              @wyovino No, I’m not using MMM-PIR.
              I’ve documented it on my website, but it is in Dutch ;-)

              https://magicmirror.tilburgs.com/pir-configuratie/

              (still trying to learn JS, but not afraid to ask) ☺

              S 1 Reply Last reply Reply Quote 2
              • S Offline
                sdetweil @htilburgs
                last edited by

                @htilburgs easy to translate these days

                nice write up

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • W Offline
                  wyovino @htilburgs
                  last edited by

                  @htilburgs said in PIR problem RPi 4B, Bullseye 64 bit:

                  I had issues that look the same. After a system crash (defect SD card after 6 years) I could fallback on a backup, but I decided to do a fresh install wih the latest rPi OS. After that my PIR didn’t function anymore. Screen didn’t went of and back on again.

                  In my case the solution to put the GL driver back to legacy.

                  • sudo raspi-config
                  • advanced options
                  • GL driver
                  • Legacy

                  After that my Python script and the PIR worked as they should.p

                  My Advanced Options menu doesn’t contain a reference to GL Driver

                  W 1 Reply Last reply Reply Quote 0
                  • W Offline
                    wyovino @wyovino
                    last edited by

                    Update. I started fresh with Buster instead of Bullseye and followed these instructions to get MMM-PIR-SENSOR working.

                    https://www.reddit.com/r/MagicMirror/comments/u1eq9u/problem_setting_up_pirsensor_with_magicmirror/

                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 3
                    • 2 / 3
                    • First post
                      Last post
                    Enjoying MagicMirror? Please consider a donation!
                    MagicMirror created by Michael Teeuw.
                    Forum managed by Sam, technical setup by Karsten.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy