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 Troubleshooting
    28 Posts 5 Posters 9.0k Views 5 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.
    • C Offline
      c1olli @sdetweil
      last edited by

      I use a mini pir sensor like this:
      https://www.ebay.de/itm/133654306312
      That switches the monitor directy completely off without any programming.
      That solution works on my MagicMirror since one year without any problems.

      M 1 Reply Last reply Reply Quote 0
      • cowboysdudeC Offline
        cowboysdude Module Developer @MDLefevere
        last edited by cowboysdude

        @mdlefevere No real answer for this… I’ve tried several times. I can turn it off but not back on…

        Are you running a pi4 or pi3?

        This was my answer to the pi3 and it works… cannot figure out the pi4

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

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          MDLefevere @c1olli
          last edited by

          @c1olli

          That might be nice.
          But how about the startup?. Do you get the ugly brand boot screen first?. How longt to fire up?

          C 1 Reply Last reply Reply Quote 0
          • M Offline
            MDLefevere @cowboysdude
            last edited by

            @cowboysdude
            @sdetweil

            I’m running a 8GB PI4.
            I’ve installed NewPIR and configured it like this:

            		{
            			module: 'MMM-NewPIR',
            			position: 'top_left',
            			configDeepMerge: true,
            			config: {
            				screen: {
            					delay: 20000,
            					turnOffDisplay: true,
            					mode: 1,
            						},
            				pir: {
            					gpio: 17
            				}, 
            			}
            		},
            

            Strange enough it’s working now on another monitor. No sleepy “No Signal” text on screen but just a monitor turning in stand-by.
            It’s not a new monitor --> Fujitsu L20T-4 connected with DVI

            I can’t get my hands on it…

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @MDLefevere
              last edited by

              @mdlefevere that monitor is not energy star compliant.

              the monitor doesn’t actually turn off, but enters some lower power mode. or they turn off backlight.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                MDLefevere @sdetweil
                last edited by

                @sdetweil

                Ah i see.
                But on the other hand: It goes into stand-by so the front light turns orange, and the screen goes all black (no backlight).

                S 1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @MDLefevere
                  last edited by

                  @mdlefevere yes… getting harder and harder to find monitors that do this…
                  none of mine do.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  M 1 Reply Last reply Reply Quote 0
                  • M Offline
                    MDLefevere @sdetweil
                    last edited by

                    @sdetweil

                    So. I came home after work frustrated that it didn’t work.
                    After connecting another HDMI cable everything is working as expected 🙄.

                    I had a MicroHDMI to HDMI convertor and a HDMI cable after that.

                    I ordered a Micro to HDMI so i could get rid of the convertor.

                    Strange enough it is working with the convertor cable.

                    S 1 Reply Last reply Reply Quote 1
                    • S Do not disturb
                      sdetweil @MDLefevere
                      last edited by sdetweil

                      @mdlefevere never a dull moment!
                      so not all cables are the same…

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        MDLefevere @sdetweil
                        last edited by

                        @sdetweil
                        Defenitly not.
                        Although it’s weird at the end it’s working.

                        Going to test this a couple of days to see if it stays this way…

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          c1olli @MDLefevere
                          last edited by

                          @mdlefevere
                          It takes 2 seconds for the startup of the monitor.
                          There is also no start screen , because the Raspberry Pi is still running.

                          cowboysdudeC 1 Reply Last reply Reply Quote 1
                          • cowboysdudeC Offline
                            cowboysdude Module Developer @c1olli
                            last edited by

                            @c1olli NICE!!!

                            M 1 Reply Last reply Reply Quote 0
                            • M Offline
                              maptecnet @cowboysdude
                              last edited by maptecnet

                              @MDLefevere
                              Check out this post and see if it helps
                              https://forum.magicmirror.builders/post/88444

                              1 Reply Last reply Reply Quote 0
                              • cowboysdudeC Offline
                                cowboysdude Module Developer
                                last edited by

                                Sorry for being late to the party but as of 8/8/2021 I can confirm that this is working on my RPI3…NOT the 4!

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

                                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