• 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 473.3k 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.
  • H Offline
    Hawking @jdahli1
    last edited by Aug 3, 2017, 8:44 PM

    @jdahli1
    Can you just execute /opt/vc/bin/tvservice --preferred to see if it is tvservice or chvt that does not respond?

    Here https://news.screenly.io/how-to-automatically-turn-off-and-on-your-monitor-from-your-raspberry-pi-5f259f40cae5 also problems with turning the screen back on using tvservice are mentioned. Maybe the other methods mentioned in the article are worth a try. If they work you can simply change the commands used in ~/MagicMirror/modules/motiondetector/node_helper.js

    J 1 Reply Last reply Aug 4, 2017, 2:51 AM Reply Quote 0
    • J Offline
      jdahli1 @Hawking
      last edited by Aug 4, 2017, 2:51 AM

      @Hawking So running that command has the same result - nothing happens until I ctrl + c. I have been messing with the hdmi_* commands, but no luck so far.

      J 1 Reply Last reply Sep 7, 2017, 2:24 AM Reply Quote 0
      • R Offline
        reaper81
        last edited by reaper81 Aug 24, 2017, 12:26 PM Aug 24, 2017, 11:29 AM

        Can I use the Pi-Camera for Motion Detection and Face-Recognition at the same time or have I to use seperate cameras for each module?

        L B 2 Replies Last reply Aug 24, 2017, 5:28 PM Reply Quote 0
        • L Offline
          Lange @reaper81
          last edited by Aug 24, 2017, 5:28 PM

          @reaper81 said in Motion Detector:

          Can I use the Pi-Camera for Motion Detection and Face-Recognition at the same time or have I to use seperate cameras for each module?

          This uses a pir-sensor

          1 Reply Last reply Reply Quote 0
          • B Offline
            bhepler Module Developer @reaper81
            last edited by Aug 29, 2017, 1:23 PM

            @reaper81 You can use the same camera for both, but you’ll want to use a different module for motion detection. If you check out my posts, I put up a tutorial on using the PiCam for motion detection outside of the MirrorMirror framework. There’s no reason you can’t use my tutorial to get motion detection to turn your mirror display on and then the facial recognition module to switch the layout.

            At least… no reason that I know of.

            1 Reply Last reply Reply Quote 0
            • J Offline
              jdahli1 @jdahli1
              last edited by Sep 7, 2017, 2:24 AM

              @jdahli1 Anyone have any thoughts as to what else to try? I have had no luck so far. Mirror continues to not turn back on randomly. Nothing I have changed so far seems to have worked. Any thoughts are appreciated.

              1 Reply Last reply Reply Quote 0
              • N Offline
                Natacha3
                last edited by Natacha3 Sep 11, 2017, 9:39 AM Sep 11, 2017, 9:37 AM

                Hello all,
                I m totally new to Raspberry Pi and it’s an absolute miracle that I succeed to make it works and to add some modules .
                So I feel sorry to ask and I beg your pardon if my request hurts some of you but can someone could explain me how to install this module ?
                So far I’ve only installed the ones in the MichMich page (https://github.com/MichMich/MagicMirror/wiki/MagicMirror²-Modules)
                Sorry again to ask but I’m so affraid to “break” my magic mirror which works fine now !
                if I disturb let me know I will delete my post.

                Thanks for your help

                Nat

                ? M 2 Replies Last reply Sep 11, 2017, 9:54 AM Reply Quote 0
                • ? Offline
                  A Former User @Natacha3
                  last edited by A Former User Sep 11, 2017, 9:55 AM Sep 11, 2017, 9:54 AM

                  @Natacha3

                  cd ~/MagicMirror/modules 
                  git clone https://github.com/alexyak/motiondetector
                  

                  In your config.js

                  {
                    module: "motiondetector"
                  },
                  

                  I think it would work, maybe…

                  1 Reply Last reply Reply Quote 0
                  • N Offline
                    Natacha3
                    last edited by Sep 11, 2017, 10:06 AM

                    Thank you so much Sean, I will try this at home tonight !
                    Thanks again for your patience and quick reply !
                    Nat

                    J 1 Reply Last reply Sep 11, 2017, 2:24 PM Reply Quote 0
                    • M Offline
                      Mykle1 Project Sponsor Module Developer @Natacha3
                      last edited by Sep 11, 2017, 11:03 AM

                      @Natacha3 said in Motion Detector:

                      I’m so affraid to “break” my magic mirror which works fine now !

                      Suggestion:

                      Make a backup image of your mirror’s SD card.

                      You’ll sleep better. :^)

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 1
                      • 1
                      • 2
                      • 18
                      • 19
                      • 20
                      • 21
                      • 22
                      • 20 / 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