• 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 436.2k 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.
  • D Offline
    danielis @oscarkindberg
    last edited by Jan 9, 2017, 5:28 AM

    @oscarkindberg try hdmi_blanking=1in /boot/config.txt

    O 1 Reply Last reply Jan 9, 2017, 8:15 PM Reply Quote 0
    • D Offline
      danielis @phoenixrising
      last edited by Jan 9, 2017, 9:51 AM

      @phoenixrising look at the last reply of in_a_days.
      If that is not working post your config.js here.

      1 Reply Last reply Reply Quote 0
      • O Offline
        oscarkindberg @danielis
        last edited by Jan 9, 2017, 8:15 PM

        @danielis Where do I fint that? I’ve searched all the .js files in the module and config.

        D 1 Reply Last reply Jan 9, 2017, 8:38 PM Reply Quote 0
        • D Offline
          danielis @oscarkindberg
          last edited by Jan 9, 2017, 8:38 PM

          @oscarkindberg it is the file config.txt in the folder /boot/
          type ‘sudo nano /boot/config.txt’ without ’
          add as last line:
          hdmi_blanking=1

          O 1 Reply Last reply Jan 9, 2017, 8:45 PM Reply Quote 0
          • O Offline
            oscarkindberg @danielis
            last edited by Jan 9, 2017, 8:45 PM

            @danielis Actually got it to work now, changed to “updateInterval: 10000” from “updateInterval: 1000” and in diff-cam-engine.js I changed captureIntervalTime to 1000 instead of 100.

            Made it easier on the RBP3 i think.
            Downloaded MMM-SystemStats to keep check on sysload during config and it’s lookin’ good now.
            Thanks for the help! I’ll comeback with a picture of the mirror as soon as my mirrorglas arrives.

            P 1 Reply Last reply Jan 10, 2017, 3:03 AM Reply Quote 0
            • P Offline
              phoenixrising @oscarkindberg
              last edited by Jan 10, 2017, 3:03 AM

              @oscarkindberg where is the updateinterval located?

              O 1 Reply Last reply Jan 10, 2017, 6:17 PM Reply Quote 0
              • O Offline
                oscarkindberg @phoenixrising
                last edited by Jan 10, 2017, 6:17 PM

                @phoenixrising Sorry! I meant timeout: 10000 in config.js file. Copy pasted wrong part

                1 Reply Last reply Reply Quote 0
                • J Offline
                  Jhonte
                  last edited by Jhonte Feb 23, 2017, 8:03 PM Feb 23, 2017, 8:01 PM

                  @alexyak I’m using raspberry pi 3 with the camera module. And the motiondetection module.

                  Could not initiate the module before I ran sudo modprobe bcm2835-v4l2 but even after I never get any motion “score”.

                  I inspected the diffImageData it all contained 0,0,0,255 in series…

                  The camera works when using raspistill. Any hints of what I can test to debug the camera output within electro?

                  P 1 Reply Last reply Feb 23, 2017, 8:14 PM Reply Quote 0
                  • P Offline
                    phoenixrising @Jhonte
                    last edited by Feb 23, 2017, 8:14 PM

                    @Jhonte , post your config file.

                    J 1 Reply Last reply Feb 23, 2017, 8:15 PM Reply Quote 0
                    • J Offline
                      Jhonte @phoenixrising
                      last edited by Feb 23, 2017, 8:15 PM

                      @phoenixrising said in Motion Detector:

                      @Jhonte , post your config file.

                      /* Magic Mirror Config Sample
                       *
                       * By Michael Teeuw http://michaelteeuw.nl
                       * MIT Licensed.
                       */
                      
                      var config = {
                      	port: 8080,
                      	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
                      
                      	language: 'en',
                      	timeFormat: 24,
                      	units: 'metric',
                      
                      	modules: [
                      		{
                      			module: 'motiondetector'
                      		}
                      	]
                      
                      };
                      
                      /*************** DO NOT EDIT THE LINE BELOW ***************/
                      if (typeof module !== 'undefined') {module.exports = config;}
                      
                      P 1 Reply Last reply Feb 23, 2017, 8:35 PM Reply Quote 0
                      • 1
                      • 2
                      • 14
                      • 15
                      • 16
                      • 17
                      • 18
                      • 21
                      • 22
                      • 16 / 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