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 531.1k 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 @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 Offline
        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 Offline
          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 Offline
            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 Offline
              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 Offline
                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 Offline
                  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
                  • T Offline
                    trividar
                    last edited by

                    Yes I have… And the camera works, i can take picutres abd see live pictures.

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

                      then it’s really strange that you can’t find the driver, did you wrote v412 or v4l2 ?

                      looks like you typed 1 but it should be a lowercase L

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

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

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          trividar
                          last edited by

                          Now It works… juhuuuuuuuuuuu;o) My monitor turn off… and recognize motion and turns on. In dev Mode i see now also motions!

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

                            hopefully this works for @cowboysdude as well

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

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

                              I just typed in the sudo modprobe bcm2835-v4l2 and it returned nothing so I’m guessing that’s a good thing LOL

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

                                So this is what I’ve done and it solved it…

                                I took your sudo modprobe bcm2835-v4l2 and entered before I started the mirror and no more error so I started the mirror in dev and it was registering movement…Great!

                                So I closed the mirror and restarted… same error, driver not loaded…

                                so I did this in case of a power out,e tc…in a terminal window:

                                sudo crontab -e

                                Enter this on the last line:

                                @reboot sudo modprobe bcm2835-v4l2

                                Saved and exited.
                                Reboot
                                Restart mirror in dev mode
                                NO error and tracks movement
                                close mirror and restart in dev
                                NO error and tracks movement.

                                PROBLEM SOLVED!! Thank you guys for being patient!! It’s working.

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

                                  Thank you guys! you are amazing!

                                  1 Reply Last reply Reply Quote 1
                                  • S Offline
                                    sero
                                    last edited by

                                    Same here, works like a charm!
                                    Thanks guys :)

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

                                      Huge thank you to @strawberry-3-141 for helping to troubleshoot this issue and suggesting the solution! While I know all kinds of dev languages and tools, I am pretty new RPI and Linux.

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

                                        Hi guys,
                                        I have a problem. My MM do not turn on the display in the morning. I is possible that my pi camera is in a kind of sleepmode or standby? I have to restart with pm2 stop mm and start again an than it works fine.

                                        cowboysdudeC 1 Reply Last reply Reply Quote 0
                                        • cowboysdudeC Offline
                                          cowboysdude Module Developer @trividar
                                          last edited by cowboysdude

                                          @trividar said in Motion Detector:

                                          Hi guys,
                                          I have a problem. My MM do not turn on the display in the morning. I is possible that my pi camera is in a kind of sleepmode or standby? I have to restart with pm2 stop mm and start again an than it works fine.

                                          I have encountered that MANY times… don’t exactly know why myself… It’s not just this module it happens with most of them… I believe once it sleeps long enough the PI doesn’t want to wake up LOL

                                          1 Reply Last reply Reply Quote 0
                                          • C Offline
                                            cpramhofer
                                            last edited by paviro

                                            Hi Guys,

                                            had exactly the same problem with mit Raspi NOIR Cam V2.1.
                                            the sudo modprobe bcm2835-v4l2 command solved my problem.

                                            maybe you should add this Tipp in your Readme as many people out there have the same problem.

                                            greets
                                            Christoph

                                            1 Reply Last reply Reply Quote 1

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 10
                                            • 11
                                            • 1 / 11
                                            • 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