• 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 432.4k 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.
  • C Offline
    chrisvanlaar @chrisvanlaar
    last edited by chrisvanlaar Nov 7, 2016, 2:23 PM Nov 7, 2016, 12:48 PM

    @chrisvanlaar said in Motion Detector:

    After reading here the motion works on my MM.
    Now ik want to go out of the sleep mode when a new mail or i get a phonecall. (it reads from my Fritzbox).
    Can i build in this option also? or is it better in the phone/mail module.

    Chris

    I mean that i have the camera module connected to my PI3. In the /boot/config.txt i had the (@reboot sudo modprobe bcm2835-v4l2 ) and it works! :-)

    Chris

    1 Reply Last reply Reply Quote 0
    • A Offline
      alexyak
      last edited by alexyak Dec 19, 2016, 6:16 PM Dec 19, 2016, 6:15 PM

      Hi All,

      I’ve revamped the motiondetector module to use a more optimised code to detect the motion from the web camera. The old one was performing very poorly. The new code works many times better. Just pull the latest from

      https://github.com/alexyak/motiondetector

      • Alex
      1 Reply Last reply Reply Quote 1
      • T Offline
        trividar
        last edited by Dec 19, 2016, 11:36 PM

        Hi Alex,
        thank you so much for your work! Unfortunately my MM start with a black screen after the update. I tried to reboot my Raspi but it didn’t help. Should I make a npm install after the update?
        THX

        1 Reply Last reply Reply Quote 0
        • T Offline
          trividar
          last edited by Dec 20, 2016, 7:03 AM

          and this is the error:
          error

          A 1 Reply Last reply Dec 20, 2016, 4:34 PM Reply Quote 0
          • A Offline
            alexyak @trividar
            last edited by Dec 20, 2016, 4:34 PM

            @trividar My apologies. This should be fixed. Just pull the latest.

            1 Reply Last reply Reply Quote 0
            • T Offline
              trividar
              last edited by Dec 20, 2016, 8:48 PM

              @alexyak Now my MM start. But after awhile (2 min) i got this error and my MM freeze:

              alt text

              I disabled the DHT module but than i got this error:

              alt text

              Do you have also a solution for this? THX a lot!

              A 1 Reply Last reply Dec 20, 2016, 10:10 PM Reply Quote 0
              • A Offline
                alexyak @trividar
                last edited by Dec 20, 2016, 10:10 PM

                @trividar I don’t see anything related to the motiondetector in your logs. It seems the error coming from the mmm-systemperature/node_helper.js

                1 Reply Last reply Reply Quote 0
                • T Offline
                  trividar
                  last edited by Dec 20, 2016, 10:25 PM

                  I disabled mmm-systemperature and now I have no errors on my log but after first deactivation of the monitor my raspberry freeze completely. Before the pull everything works perfekt beside DHT, now nothing works ;o( strange…

                  J 1 Reply Last reply Jan 5, 2017, 11:35 PM Reply Quote 0
                  • J Offline
                    jdahli1 @trividar
                    last edited by Jan 5, 2017, 11:35 PM

                    @trividar I’m having a similar issue. My mirror will turn on and off a few times, but after a few minutes it will peg the RAM and completely lock up the pi. Not sure what to try next.

                    I 1 Reply Last reply Jan 6, 2017, 5:09 AM Reply Quote 0
                    • I Offline
                      in_a_days @jdahli1
                      last edited by in_a_days Jan 6, 2017, 5:39 AM Jan 6, 2017, 5:09 AM

                      @jdahli1

                      I have also experienced something similar, always while running under a heavy load. Are you running a lot of modules, or anything that is very intensive? Some tasks like video streaming are incredibly demanding on the CPU.

                      My working solution was to modify my module selection so I’m not overworking the processor, and to increase the ‘updateInterval’ in my SystemStats section of config.js. Maybe try 15000 or 20000ms, see if it the crash occurs less often. I also run WatchDog and it would register the SystemStats failure. I don’t see WatchDog in these logs so this may not apply, but I also added increased ‘interval’ and ‘timeout’ settings to config.js. I have not seen this SystemStats crash for quite a while.

                      FWIW - after this crash WatchDog/pm2 does NOT restart my mm shell. All the other failures auto-restart, but something about this one crashes to the desktop. Also - sorry for threadjacking a “Motion Detection” thread!

                      What ship would bear me ever back across so wide a Sea?

                      J 1 Reply Last reply Jan 6, 2017, 11:26 PM Reply Quote 0
                      • 1
                      • 2
                      • 11
                      • 12
                      • 13
                      • 14
                      • 15
                      • 21
                      • 22
                      • 13 / 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