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.5k 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

      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 Reply Quote 0
      • S Offline
        sdetweil @reallykeene
        last edited by

        @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 Offline
          sdetweil
          last edited by

          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 Reply Quote 0
          • R Offline
            reallykeene @sdetweil
            last edited by

            @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 Reply Quote 0
            • S Offline
              sdetweil @reallykeene
              last edited by

              @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 Offline
                sdetweil @reallykeene
                last edited by sdetweil

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