• 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 432.5k Views 39 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.
  • A Offline
    alexyak
    last edited by Aug 11, 2016, 11:25 PM

    I’ve published the Motion detector module that I’ve been using for a while. It uses a web camera connected to a Raspberry Pi.

    You can find it here:

    https://github.com/alexyak/motiondetector

    The configuration should be pretty straightforward.

    M 1 Reply Last reply Jul 6, 2017, 8:33 PM Reply Quote 2
    • P Offline
      plumcraft
      last edited by Aug 12, 2016, 7:18 AM

      Hi,

      Thanks for your module, that’s a great idea to use the Pi camera for that.

      I’ve tried your module and it looks like it does not work for me. My screen stay black even if i’m in the front of the camera, it is compatible with Paviro’s facial recognition module ?

      C 1 Reply Last reply Aug 27, 2016, 4:03 AM Reply Quote 1
      • C Offline
        Cato Module Developer
        last edited by paviro Sep 11, 2016, 5:39 PM Aug 12, 2016, 11:15 AM

        @alexyak Same here, blank screen.

        I notice that Chrome debugger complains that “Uncaught ReferenceError: MotionDetector is not defined” on this line in motiondetector.js:

        var core = new MotionDetector.Core(function (detected) {

        Something missing?


        Note from admin: Please use Markdown on code snippets for easier reading!

        1 Reply Last reply Reply Quote 0
        • A Offline
          alexyak
          last edited by Aug 12, 2016, 2:42 PM

          Sorry, guys, the problem should be fixed now. Just pull the latest.

          C 1 Reply Last reply Aug 12, 2016, 3:33 PM Reply Quote 1
          • C Offline
            Cato Module Developer @alexyak
            last edited by Aug 12, 2016, 3:33 PM

            @alexyak Thanks, works now!

            1 Reply Last reply Reply Quote 0
            • P Offline
              plumcraft
              last edited by Aug 12, 2016, 5:02 PM

              Works for me too, thanks :)

              Is there a way to wake up faster the screen ? On my RPI it tooks around 30 secondes to turn back on, i might have a configuration issue…

              A 1 Reply Last reply Aug 12, 2016, 5:03 PM Reply Quote 0
              • A Offline
                alexyak @plumcraft
                last edited by Aug 12, 2016, 5:03 PM

                @plumcraft which RPI you have?

                1 Reply Last reply Reply Quote 0
                • P Offline
                  plumcraft
                  last edited by Aug 12, 2016, 5:04 PM

                  The latest, RPI 3.

                  A 1 Reply Last reply Aug 12, 2016, 5:20 PM Reply Quote 0
                  • A Offline
                    alexyak @plumcraft
                    last edited by alexyak Aug 12, 2016, 5:21 PM Aug 12, 2016, 5:20 PM

                    @plumcraft strange, I’ve RPI 3 as well and I don’t see this problem … This may be related to which monitor/TV your RPI is connected.

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      Cato Module Developer
                      last edited by Aug 12, 2016, 5:57 PM

                      I assume too that the behaviour is different between TV’s. On my LG the screen turns blue with a big message of lost signal on HDMI after 10 seconds after the screen turns off. Not so nice - but then again, nobody should be in the room anyway…? ;-)

                      1 Reply Last reply Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 21
                      • 22
                      • 1 / 22
                      1 / 22
                      • First post
                        6/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