• 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.3k 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.
  • E Offline
    Egnos @JoeFranz
    last edited by Sep 9, 2022, 9:44 AM

    @JoeFranz I can recommend these two modules for the PIR (I just installed them, they also work with the S.O. bullseye):

    MMM-GPIO-Notifications: https://github.com/Tom-Hirschberger/MMM-GPIO-Notifications
    MMM-Screen-Powersave-Notification: https://github.com/Tom-Hirschberger/MMM-Screen-Powersave-Notification

    My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

    J 1 Reply Last reply Sep 9, 2022, 1:24 PM Reply Quote 0
    • J Offline
      JoeFranz @Egnos
      last edited by Sep 9, 2022, 1:24 PM

      @Egnos Doesn’t work either, the monitor doesn’t go into standby :-( The Raspbian screensaver function does not seem to work. Can this be reinstalled?

      E 1 Reply Last reply Sep 9, 2022, 1:29 PM Reply Quote 0
      • E Offline
        Egnos @JoeFranz
        last edited by Sep 9, 2022, 1:29 PM

        @JoeFranz have you tried to run the two modules following this guide written by @wishmaster270 ?
        https://github.com/Tom-Hirschberger/MMM-GPIO-Notifications/blob/master/examples/HC-SR501/HC-SR501-GPIO4-README-EN.md

        Which PIR sensor do you have?

        My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

        J 1 Reply Last reply Sep 9, 2022, 1:52 PM Reply Quote 0
        • J Offline
          JoeFranz @Egnos
          last edited by Sep 9, 2022, 1:52 PM

          @Egnos I did it according to this guide (in German) have the same pir sensor as in the guide.

          E 1 Reply Last reply Sep 9, 2022, 5:40 PM Reply Quote 0
          • E Offline
            Egnos @JoeFranz
            last edited by Sep 9, 2022, 5:40 PM

            @JoeFranz said in PIR sensor problem after restart Raspi:

            I did it according to this guide (in German) have the same pir sensor as in the guide.

            Have you checked that the PIR is on the correct pins of the GPIO?

            My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

            J 1 Reply Last reply Sep 10, 2022, 6:15 AM Reply Quote 0
            • 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 Away
                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 Away
                    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
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        10/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