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

Motion Detector

Scheduled Pinned Locked Moved Utilities
213 Posts 38 Posters 357.9k Views
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
    danielis
    last edited by Jan 8, 2017, 6:02 PM

    Not working here. Only either one or the other.
    But paviro said he will include a motion detection to the facial recognition module at some time.
    I will try to do it also. Will report if I have success

    1 Reply Last reply Reply Quote 0
    • O
      oscarkindberg
      last edited by Jan 8, 2017, 6:29 PM

      Hi!

      I’m trying to get this to work, have a USB cam attached to the RPI3 and installed the .js.
      But when I add the code:

      {
      module: ’motiondetector’,
      config:
      }
      }

      Am I missing something? Because it only give me errors… :(

      (new to this)

      I 1 Reply Last reply Jan 8, 2017, 6:52 PM Reply Quote 0
      • I
        in_a_days @oscarkindberg
        last edited by Jan 8, 2017, 6:52 PM

        @oscarkindberg Try this instead:

                    {
                            module: 'motiondetector',
                            config: {
                                    timeout: 300000 // time in milliseconds for to switch off the display after last movement is detected.
                            }
                    },
        

        This is set for a 5 minute delay. Modify the timeout value if you want a longer or shorter delay before your screen turns off.

        What ship would bear me ever back across so wide a Sea?

        O 1 Reply Last reply Jan 8, 2017, 8:18 PM Reply Quote 0
        • O
          oscarkindberg @in_a_days
          last edited by Jan 8, 2017, 8:18 PM

          @in_a_days Hit! Works now, BUT next issue.
          After 5-6 min the screens goes white, can’t find anything in the code that would cause that.

          D 1 Reply Last reply Jan 9, 2017, 5:28 AM Reply Quote 0
          • P
            phoenixrising
            last edited by Jan 9, 2017, 3:49 AM

            I apologize if this a very noob question but I am having trouble getting the motion detector module running. I have clone the files to the module folder. I have modified the config file but maybe I dont have it correct. Could some one show me how the config file be modified to get the module running. Any other pointers? Thank you,

            D 1 Reply Last reply Jan 9, 2017, 9:51 AM Reply Quote 0
            • D
              danielis @oscarkindberg
              last edited by Jan 9, 2017, 5:28 AM

              @oscarkindberg try hdmi_blanking=1in /boot/config.txt

              O 1 Reply Last reply Jan 9, 2017, 8:15 PM Reply Quote 0
              • D
                danielis @phoenixrising
                last edited by Jan 9, 2017, 9:51 AM

                @phoenixrising look at the last reply of in_a_days.
                If that is not working post your config.js here.

                1 Reply Last reply Reply Quote 0
                • O
                  oscarkindberg @danielis
                  last edited by Jan 9, 2017, 8:15 PM

                  @danielis Where do I fint that? I’ve searched all the .js files in the module and config.

                  D 1 Reply Last reply Jan 9, 2017, 8:38 PM Reply Quote 0
                  • D
                    danielis @oscarkindberg
                    last edited by Jan 9, 2017, 8:38 PM

                    @oscarkindberg it is the file config.txt in the folder /boot/
                    type ‘sudo nano /boot/config.txt’ without ’
                    add as last line:
                    hdmi_blanking=1

                    O 1 Reply Last reply Jan 9, 2017, 8:45 PM Reply Quote 0
                    • O
                      oscarkindberg @danielis
                      last edited by Jan 9, 2017, 8:45 PM

                      @danielis Actually got it to work now, changed to “updateInterval: 10000” from “updateInterval: 1000” and in diff-cam-engine.js I changed captureIntervalTime to 1000 instead of 100.

                      Made it easier on the RBP3 i think.
                      Downloaded MMM-SystemStats to keep check on sysload during config and it’s lookin’ good now.
                      Thanks for the help! I’ll comeback with a picture of the mirror as soon as my mirrorglas arrives.

                      P 1 Reply Last reply Jan 10, 2017, 3:03 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 21
                      • 22
                      • 5 / 22
                      5 / 22
                      • First post
                        146/213
                        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
                        This website uses cookies to ensure you get the best experience on our website. Learn More