• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.6k 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 Jul 6, 2023, 2:33 PM

    @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 Jul 6, 2023, 6:22 PM Reply Quote 0
    • S Offline
      sdetweil @wyovino
      last edited by Jul 6, 2023, 6:22 PM

      @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
      • H Offline
        htilburgs
        last edited by htilburgs Jul 10, 2023, 3:34 PM Jul 10, 2023, 3:33 PM

        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 Jul 17, 2023, 1:15 AM Reply Quote 0
        • W Offline
          wyovino @htilburgs
          last edited by Jul 17, 2023, 1:15 AM

          @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?

          H 1 Reply Last reply Jul 17, 2023, 6:02 PM Reply Quote 0
          • H Offline
            htilburgs @wyovino
            last edited by Jul 17, 2023, 6:02 PM

            @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 Jul 17, 2023, 8:22 PM Reply Quote 2
            • S Offline
              sdetweil @htilburgs
              last edited by Jul 17, 2023, 8:22 PM

              @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 Aug 5, 2023, 4:45 PM

                @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 Aug 11, 2023, 5:03 AM Reply Quote 0
                • W Offline
                  wyovino @wyovino
                  last edited by Aug 11, 2023, 5:03 AM

                  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