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.4k 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.
    • T
      trividar
      last edited by

      Thank you guys for having a look!!

      A 1 Reply Last reply Reply Quote 1
      • A
        alexyak @trividar
        last edited by alexyak

        @trividar before I spend some time creating a dev branch, could you please run the magic mirror from the terminal on RPI with the following command line:

        npm start dev
        

        The magic mirror will be started with dev tools enabled. Switch to the 'Console" tab in the dev tools and you should be able to see the following output:

        “compare result=Infinity,Infinity;0,0” when there’s no movement before your camera and something like “compare result=49,44;31,47” when there’s some movement.

        Also if you could also look for errors in this console as well (red colored lines).

        1 Reply Last reply Reply Quote 0
        • cowboysdudeC
          cowboysdude Module Developer
          last edited by paviro

          For me the I get the compare result=Infinity,Infinity:0,0 but it’s not sensing any movement… so it’s the camera that’s the problem here…

          I did get an error its says:

          NavigatorUserMediaError {name: "DeviceNotFoundError", message "", constaintName: ""}

          That tells me it can’t access the camera…

          How does one fix that?

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

            @cowboysdude this is what I had suspected. What kind of camera do you have? Web camera over usb?

            1 Reply Last reply Reply Quote 0
            • T
              trividar
              last edited by

              I use the pi NoIR camera V1. Sorry for the bad image!

              0_1472392762422_99c1caef-3623-4baa-b42a-0ca7c613d088.jpg

              1 Reply Last reply Reply Quote 0
              • strawberry 3.141S
                strawberry 3.141 Project Sponsor Module Developer
                last edited by

                this sounds that your cam is not getting recognized as a valid webcam

                Please create a github issue if you need help, so I can keep track

                cowboysdudeC 1 Reply Last reply Reply Quote 0
                • cowboysdudeC
                  cowboysdude Module Developer @strawberry 3.141
                  last edited by

                  @strawberry-3.141 said in Motion Detector:

                  this sounds that your cam is not getting recognized as a valid webcam

                  I am using the NOIR Picamera that’s interesting because outside the module the camera works fine LOL

                  Hummmmmmm…

                  1 Reply Last reply Reply Quote 0
                  • strawberry 3.141S
                    strawberry 3.141 Project Sponsor Module Developer
                    last edited by

                    can you guys try sudo modprobe bcm2835-v4l2 in the console before starting the mirror

                    Please create a github issue if you need help, so I can keep track

                    1 Reply Last reply Reply Quote 1
                    • T
                      trividar
                      last edited by

                      I got this error:

                      0_1472394318714_Bildschirmfoto 2016-08-28 um 16.25.03.png

                      1 Reply Last reply Reply Quote 0
                      • strawberry 3.141S
                        strawberry 3.141 Project Sponsor Module Developer
                        last edited by

                        strange this is the driver for the camera module

                        do you have enabled the camera module?

                        Please create a github issue if you need help, so I can keep track

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