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

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    27 Posts 8 Posters 10.9k Views 10 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.
    • T Offline
      tanvir586 @sdetweil
      last edited by

      @sdetweil Hi mate. Sorry I don’t know how to do that. I’m not a programming person. I’m copy past person actually 🤣

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

        @tanvir586 https://projects.raspberrypi.org/en/projects/parent-detector/3

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        T 1 Reply Last reply Reply Quote 0
        • pugslyP Offline
          pugsly
          last edited by pugsly

          This is what I use to put my monitor to sleep using a PIR sensor. I have a 3D printed case for the sensor that hangs under the mirror itself. The sensor does not have anything to do with the magic mirror software at all, in fact it just puts the monitor to sleep when no one is in the area.

          https://github.com/cowboysdude/Pir-Sensor

          S T 2 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil @pugsly
            last edited by

            @pugsly right, just trying to help w the debug. lots of things can go wrong, so, it’s best to start at the beginning before getting MM involved.

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • T Offline
              tanvir586 @pugsly
              last edited by

              @pugsly I’ll give it a try tomorrow. Thanks

              1 Reply Last reply Reply Quote 0
              • T Offline
                tanvir586 @sdetweil
                last edited by

                @sdetweil thanks mate. Will check this in detail once I go home

                1 Reply Last reply Reply Quote 0
                • T Offline
                  tanvir586
                  last edited by

                  Thanks guys for your help. But I recovered my old sd card which had magicmirror 2.19 installed. Pir sensor work with that version. I’m back on truck.

                  S 1 Reply Last reply Reply Quote 0
                  • J Offline
                    j.e.f.f Project Sponsor Module Developer
                    last edited by

                    If you’re still looking for a working PIR sensor module, I’m using EXT-Pir and it has been great
                    https://github.com/bugsounet/EXT-Pir

                    T 2 Replies Last reply Reply Quote 0
                    • S Offline
                      sdetweil @tanvir586
                      last edited by

                      @tanvir586 might be the os firmware, which has reported problems w gpio interrupts

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        tanvir586 @j.e.f.f
                        last edited by

                        @j-e-f-f Hi do I need MMM-GoogleAssistant for this? Or works on its own?

                        J 1 Reply Last reply Reply Quote 0
                        • J Offline
                          j.e.f.f Project Sponsor Module Developer @tanvir586
                          last edited by

                          @tanvir586 No need for google assistant. Works fine without it.

                          T 1 Reply Last reply Reply Quote 0
                          • T Offline
                            tanvir586 @j.e.f.f
                            last edited by

                            @j-e-f-f Feb… making another smart mirror soon. I’ll give it a try. Thanks 😊

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              tanvir586 @j.e.f.f
                              last edited by

                              @j-e-f-f Hi mate. Thinking to install EXT-Pir now. Just one question do I need EXT-Screen to make it work. If yes how can I configure both module? Thanks

                              J 1 Reply Last reply Reply Quote 0
                              • J Offline
                                j.e.f.f Project Sponsor Module Developer @tanvir586
                                last edited by

                                @tanvir586 no need to install Ext-Screen. You can use Ext-PIR on its own.

                                bugsounetB T 2 Replies Last reply Reply Quote 0
                                • bugsounetB Offline
                                  bugsounet Banned @j.e.f.f
                                  last edited by

                                  @j-e-f-f ah ? So cool so! Give me a sample or tuto?

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    MyMirror @tanvir586
                                    last edited by

                                    @tanvir586 said in Pir sensor:

                                    @sdetweil it work like https://github.com/paviro/MMM-PIR-Sensor
                                    mmm-pir-sensor is not working anymore that’s why I wanted to use the light one. but this one is not working looks like

                                    But of course the module still works.7
                                    I have this running on my Pi 3b, Bullseye and MM 2.21.0 …

                                    P 1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      tanvir586 @j.e.f.f
                                      last edited by

                                      @j-e-f-f Thanks will try soon

                                      1 Reply Last reply Reply Quote 0
                                      • P Offline
                                        Peter @MyMirror
                                        last edited by

                                        @MyMirror unfortunately it does not work here.
                                        Pi3, Bullseye, MM2.22: PIR-Sensor does not work at all, PIR-Sensor-Light counts down from 15 minutes, but starts again without turning off the screen.
                                        No idea what to do.
                                        My MM has been working flawlessly for 5 years, but after the new fresh install with 2.22 I am having this problem.
                                        Can anybody help?
                                        Peter

                                        T 1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          tanvir586 @Peter
                                          last edited by

                                          @Peter didn’t worked for me either. Recovered my old sd card with mm 1.19 and MMM-PIR-Sensor installed. Not updating my mm now.

                                          1 Reply Last reply Reply Quote 0
                                          • K Offline
                                            kaoshunter
                                            last edited by

                                            So I have my PIR working through a python script, from an old install but am using xrandr, which if run in terminal works great, I don’t know scripting well and would like to know if someone could make a module, utilising a PIR and xrandr codes below

                                            Monitor off: xrandr --display :0.0 --output HDMI-1 --off
                                            Monitor on: xrandr --display :0.0 --output HDMI-1 --rotate left --auto

                                            S 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • 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