• 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 sensor problem after restart Raspi

Scheduled Pinned Locked Moved Solved Troubleshooting
20 Posts 4 Posters 4.4k Views 4 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.
  • J Offline
    JoeFranz @Egnos
    last edited by Sep 10, 2022, 6:15 AM

    @Egnos The sensor is correctly connected

    S 1 Reply Last reply Sep 10, 2022, 10:44 AM Reply Quote 0
    • S Offline
      sdetweil @JoeFranz
      last edited by Sep 10, 2022, 10:44 AM

      @JoeFranz and does it works correctly outside mm?

      there are python scripts that will show it working

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      J 1 Reply Last reply Sep 10, 2022, 12:21 PM Reply Quote 0
      • J Offline
        JoeFranz @sdetweil
        last edited by Sep 10, 2022, 12:21 PM

        @sdetweil How can I test this?

        S 1 Reply Last reply Sep 10, 2022, 12:33 PM Reply Quote 0
        • S Offline
          sdetweil @JoeFranz
          last edited by Sep 10, 2022, 12:33 PM

          @JoeFranz Google search is your friend

          https://github.com/raspberrypilearning/physical-computing-guide/blob/master/test-pir-python.md

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          J 1 Reply Last reply Sep 10, 2022, 12:55 PM Reply Quote 0
          • J Offline
            JoeFranz @sdetweil
            last edited by Sep 10, 2022, 12:55 PM

            @sdetweil Ok, that tests the PIR sensor. But since the Raspi doesn’t even let the monitor go into standby, I suspect that it’s due to Raspian. Screen blanking is activated in Raspi-Config, so the monitor should switch off after 10 minutes, right? But that doesn’t work either. Or does that have nothing to do with the PIR function of MM?

            S 1 Reply Last reply Sep 10, 2022, 1:47 PM Reply Quote 0
            • S Offline
              sdetweil @JoeFranz
              last edited by Sep 10, 2022, 1:47 PM

              @JoeFranz well, its shouldn’t go off by itself… as then u would have two things fighting for on or off…

              do this, i assume you have pm2 controlling mm at boot

              so, do

              pm2 status

              should only be one thing… defined

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              J 1 Reply Last reply Sep 11, 2022, 7:23 AM Reply Quote 0
              • J Offline
                JoeFranz @sdetweil
                last edited by Sep 11, 2022, 7:23 AM

                @sdetweil ┌─────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
                │ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
                ├─────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
                │ 0 │ MagicMirror │ default │ 2.20.0 │ fork │ 12738 │ 64s │ 0 │ online │ 0% │ 2.6mb │ pi │ disabled │
                └─────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
                pi@raspberrypi:~ $

                S 1 Reply Last reply Sep 11, 2022, 11:56 AM Reply Quote 0
                • S Offline
                  sdetweil @JoeFranz
                  last edited by Sep 11, 2022, 11:56 AM

                  @JoeFranz ok, it’s not a second process getting in the way

                  next to test the sensor w the python script

                  stop mm

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  J 1 Reply Last reply Sep 11, 2022, 4:08 PM Reply Quote 0
                  • J Offline
                    JoeFranz @sdetweil
                    last edited by Sep 11, 2022, 4:08 PM

                    @sdetweil Nothing happens in the window. :-( PIR sensor broken?

                    Bildschirmfoto 2022-09-11 um 18.05.41.png

                    J 1 Reply Last reply Sep 13, 2022, 3:39 PM Reply Quote 0
                    • J JoeFranz referenced this topic on Sep 13, 2022, 8:49 AM
                    • J Offline
                      JoeFranz @JoeFranz
                      last edited by sdetweil Sep 13, 2022, 5:28 PM Sep 13, 2022, 3:39 PM

                      @JoeFranz It is probably because of the current firmware 5.15
                      With

                      rpi-update b976c54917e240630c05a9b383010f1492bc61b4 
                      

                      I installed version 5.10. It now works again with the standby on the HDMI connection.

                      Greetings Joerg
                      edited due to wrong quotes outside code block

                      1 Reply Last reply Reply Quote 1
                      • S sdetweil referenced this topic on Sep 15, 2022, 8:38 PM
                      • S sdetweil referenced this topic on Jan 6, 2023, 11:54 PM
                      • S sdetweil referenced this topic on Jan 7, 2023, 6:56 PM
                      • 1
                      • 2
                      • 2 / 2
                      2 / 2
                      • First post
                        11/20
                        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