• 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.

Independent display controller based on PIR sensor.

Scheduled Pinned Locked Moved Utilities
14 Posts 4 Posters 12.3k Views 6 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.
  • B Offline
    bibi
    last edited by Nov 28, 2016, 8:41 PM

    hi @Beh ! unfortunately your module is not working for me :( could you please help me to figure out why? i have bought the same PIR sensor and plug it in the gpio 14 (physical pin 8) thx!

    1 Reply Last reply Reply Quote 0
    • B Offline
      bibi
      last edited by Dec 4, 2016, 10:44 AM

      it’s solved ;-) thx anyway

      1 Reply Last reply Reply Quote 0
      • B Offline
        bibi
        last edited by Dec 30, 2016, 12:08 PM

        @beh hi! i was wondering if there was an easy way to add a fading effect when the mirror goes to sleep and wake up? would be interesting in this as well? thx

        B 1 Reply Last reply Jan 1, 2017, 11:20 PM Reply Quote 0
        • B Offline
          Beh @bibi
          last edited by Jan 1, 2017, 11:20 PM

          Hi @bibi, I hope, I understand that right.

          I don’t think that this is very easy. Because the script just turns the HDMI port of the RaspberryPi to on and off. So a fading effect wouldn’t be quite easy I think

          B 1 Reply Last reply Jan 1, 2017, 11:22 PM Reply Quote 0
          • B Offline
            bibi @Beh
            last edited by Jan 1, 2017, 11:22 PM

            @Beh i understand this. No problem and thx for reply! :)

            S 1 Reply Last reply Jan 7, 2017, 4:33 AM Reply Quote 0
            • S Offline
              shashank @bibi
              last edited by Jan 7, 2017, 4:33 AM

              @bibi hi can anyone help me with screenshots the file path where to enter the below commands to start it at boot time

              cp ./pir_sensor.service /lib/systemd/system

              systemctl daemon-reload

              systemctl start pir_sensor.service

              B 1 Reply Last reply Jan 8, 2017, 8:36 PM Reply Quote 0
              • B Offline
                bibi @shashank
                last edited by Jan 8, 2017, 8:36 PM

                @shashank hi! unfortunately you will not find the cmd line in the github to enable the service at boot time. As far as i have checked, the systemd should already run at boot but for strange reasons it was not the case for me. Therefore, i had to issue the command : sudo systemctl enable pir_sensor.service
                good luck!

                1 Reply Last reply Reply Quote 1
                • B Offline
                  Beh
                  last edited by Jan 9, 2017, 1:27 PM

                  Ok, maybe I forgot that in the readme file, or it worked straghtaway on my Pi.
                  I’m going to add sudo systemctl enable pir_sensor.service to the readme file!

                  thanks for the hint :)

                  1 Reply Last reply Reply Quote 1
                  • M Offline
                    McSorley
                    last edited by Jan 10, 2017, 9:46 PM

                    Sounds more effective than mine. I set an infinite loop to check for motion every second and if no motion is detected for 600 seconds the display goes to sleep.

                    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 Sam, technical setup by Karsten.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy