• 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.

Pi camera use for turning on mirror

Scheduled Pinned Locked Moved Unsolved Troubleshooting
cameramotion-sensorpythonmodules
6 Posts 2 Posters 1.4k Views 3 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.
  • R Offline
    reallykeene
    last edited by Mar 28, 2020, 9:48 PM

    I have read multiple forums about motion detector and facial recognition for turning on the magic mirror. Is there one that is plug and play, or has a good walkthrough? I’m having difficulties with python and the motion software.

    S 1 Reply Last reply Mar 29, 2020, 5:58 AM Reply Quote 0
    • S Away
      sdetweil @reallykeene
      last edited by Mar 29, 2020, 5:58 AM

      @reallykeene i use a logitech webcam for my camera… and I use the motion project for interfacing to the camera

      https://motion-project.github.io/

      sudo apt-get install motion

      i didn’t want to try to interface a module to lots of different camera… motion handles that.
      I didn’t want to deal with coding for all the different options I might needs (sensitivity, lightswitch flash. …

      you name it… motion handles it…

      i don’t know how it interfaces with face reco, but it can capture images, and forward those on for matching

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil
        last edited by Mar 29, 2020, 6:05 AM

        i wrote my own module as I use TV and it can’t turn off, and I wanted webcam…

        https://github.com/sdetweil/MMM-SleepWake

        uses the motion module discussed above…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        R 1 Reply Last reply Mar 31, 2020, 7:05 PM Reply Quote 0
        • R Offline
          reallykeene @sdetweil
          last edited by Mar 31, 2020, 7:05 PM

          @sdetweil ok I now have motion working. Tested with vlc. But I’m unable to get your module to work. What screen shots might you need to help?
          I changed the time to 1min but the screen will not hide.

          S 2 Replies Last reply Mar 31, 2020, 9:07 PM Reply Quote 0
          • S Away
            sdetweil @reallykeene
            last edited by Mar 31, 2020, 9:07 PM

            @reallykeene did u set the motion config to trigger my script?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Away
              sdetweil @reallykeene
              last edited by sdetweil Mar 31, 2020, 11:34 PM Mar 31, 2020, 11:26 PM

              @reallykeene also, if u look in /var/log/motion.log to see motion events

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              1 / 1
              • First post
                2/6
                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