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.

    Alexyak/motiondetector... how to?

    Scheduled Pinned Locked Moved Troubleshooting
    9 Posts 2 Posters 3.9k Views 2 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.
    • C Offline
      Centurion
      last edited by Centurion

      https://github.com/alexyak/motiondetector

      First let me start by saying that I know nothing about coding… I’m barely IT literate, so go n00b with the answers please! :)

      I’ve managed to get MagicMirror installed and running on the rPi, I have the rPi camera which I would like to use as to detect when someone is in front of the mirror and come on for a minute or so.

      The module linked above didn’t come with any documentation that I could find, so other than downloading the files into my MM modules directory on the rPi and adding this to my MM config file:

      	{
      		module: "motiondetector"
      	},
      

      I don’t know what to do. The screen just stays on indefinitely. Are there some settings I’m missing?

      Also, I did verify that the camera is plugged in and working, the rPi had no trouble using it to take a picture.

      I’ve been trying to find mm log files or something so that I could even see if the motiondetector module was working, but I don’t know where to look or how to access those either.

      Thanks for any pointers or troubleshooting steps!

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

        Anyone have any advice???

        Is there some way to check system logs or something?

        1 Reply Last reply Reply Quote 0
        • S Offline
          Sultan91
          last edited by

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

            Hello! I guess waht module is doing it tells to other modules (via sensocketnotification method) kind of “hey I detected motion”. But first of all, after launching npm start keep looking at the console and check for module errors.

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              Centurion @Sultan91
              last edited by

              @Sultan91

              Ok, so what is npm and what’s the console? Sorry!

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

                I’ve been reading lots of other modules and they all have instructions that say to use the " npm install" command… Do I need to do that for this mod?

                I’m sorry but there were NO instructions with this mod, and I’m NOT a technical person.

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  Sultan91 @Centurion
                  last edited by

                  @Centurion I haven’t used that module though. But for what purposes do you wanna use motion sensor - just to trigger screen on/off in case human body detected? If so check out PIR-motion sensor from 3rd party modules on github.
                  I guess these module is still under development.
                  P.S: In RPi terminal - is your console (you opening Terminal (black window) and in order to launch MagicMirror software you type into Terminal - “npm start”)

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    Centurion @Sultan91
                    last edited by

                    @Sultan91 Thanks, I ordered those parts on Amazon too since I haven’t gotten much response here.

                    Really hope that one’s easier to figure out.

                    I launch MM by typing “pm2 start mm”. How do people watch the console after they launch it? Someone said to check the logs…?

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      Sultan91 @Centurion
                      last edited by

                      @Centurion To watch cromium console hit crt+shift+I, to check Terminal just push alt+Tab

                      1 Reply Last reply Reply Quote 0

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