MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    working module Raspberry Pi 4 and PIR?

    Forum
    7
    13
    438
    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.
    • D
      DariBer last edited by

      I’m looking for a way (module) if possible to somehow black the screen and then light it up with a motion sensor (PIR) together with Raspberry Pi 4, if that’s not possible, then is there any module that works with RPi 4 that turn of the HDMI and turns on the HDMI port with motion sensor.

      I have tried some but seems it doesn’t work with RPi4.

      M H pugsly 3 Replies Last reply Reply Quote 0
      • M
        Murky3057 @DariBer last edited by

        @DariBer
        The simplest way to do this is to use a presence sensor that lights up lamps, and connect the sensor to the monitor’s power.
        When someone approaches it turns on, and turns off the monitor when no one is around.
        It can be done in other ways, but it will be much more complex.

        D 1 Reply Last reply Reply Quote 0
        • D
          DariBer @Murky3057 last edited by

          @Murky3057
          Not sure I understand you here.
          Could you please describe the thing with “connect the sensor to the monitor’s power”? You mean to connect the monitor to a remote witch like a zigbee or z-wave (or wifi) and power on/off that switch? So basic cut the power to the monitor?

          M 1 Reply Last reply Reply Quote 0
          • M
            Murky3057 @DariBer last edited by

            @DariBer
            Yes, that’s what I imagined.
            To be as simple as possible.

            Sorry for my english, I’m using a translator.

            D 1 Reply Last reply Reply Quote 0
            • D
              DariBer @Murky3057 last edited by

              @Murky3057

              OK, I had that in mind, my problem is, when my monitor turnes on, it start some kind of splash screen that is pink/purple with Benq logo before it’s totally tuned on, I find that so annoying to see. That’s the reason I’m not going that path 🙂

              M 1 Reply Last reply Reply Quote 0
              • M
                Murky3057 @DariBer last edited by

                @DariBer
                Another solution is to create a script to run the command “xset dpms force off” to turn off the monitor and “xset dpms force on” to turn it on.
                Use this video as an example to create something similar.

                https://youtu.be/Tw0mG4YtsZk

                B 1 Reply Last reply Reply Quote 2
                • B
                  bugsounet @Murky3057 last edited by

                  I give a lot of courage for find 😉


                  I am not a reference in this forum
                  I am not a magician
                  I'm just a developer

                  Please DON'T ADS ANY of My Modules There !

                  Follow new support of 4th party modules on https://forum.bugsounet.fr

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

                    @bugsounet your standalone solution is archived, so not very helpful .

                    Sam

                    Create a working config
                    How to add modules

                    B 1 Reply Last reply Reply Quote -1
                    • B
                      bugsounet @sdetweil last edited by

                      @sdetweil because I’m kind 😉

                      I purpose to try this

                      Work with rpi 3a -> rpi 4
                      (not tested with rpi < 3a)
                      tested OS : Buster and Bulleyes

                      My actual config is:
                      ce5e8b4f-7673-489e-8d5c-876dec5e6954-image.png

                      My actual modules and plugins are:
                      8037b242-a4ae-43b2-8c2e-89c7af1de8de-image.png

                      And works since 116 days on Bulleyes with an RPI 4 😉


                      I am not a reference in this forum
                      I am not a magician
                      I'm just a developer

                      Please DON'T ADS ANY of My Modules There !

                      Follow new support of 4th party modules on https://forum.bugsounet.fr

                      1 Reply Last reply Reply Quote 0
                      • H
                        hpgraphia @DariBer last edited by

                        @DariBer

                        https://github.com/paviro/MMM-PIR-Sensor
                        I’m using it with raspi zero W with sensor and works great

                        D 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy