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 450.0k 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

      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.

      mickyasM 1 Reply Last reply Reply Quote 2
      • P Offline
        plumcraft
        last edited by

        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 ?

        cowboysdudeC 1 Reply Last reply Reply Quote 1
        • CatoC Offline
          Cato Module Developer
          last edited by paviro

          @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

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

            CatoC 1 Reply Last reply Reply Quote 1
            • CatoC Offline
              Cato Module Developer @alexyak
              last edited by

              @alexyak Thanks, works now!

              1 Reply Last reply Reply Quote 0
              • P Offline
                plumcraft
                last edited by

                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 Reply Quote 0
                • A Offline
                  alexyak @plumcraft
                  last edited by

                  @plumcraft which RPI you have?

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    plumcraft
                    last edited by

                    The latest, RPI 3.

                    A 1 Reply Last reply Reply Quote 0
                    • A Offline
                      alexyak @plumcraft
                      last edited by alexyak

                      @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
                      • CatoC Offline
                        Cato Module Developer
                        last edited by

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