motioneye-project / motioneye

A web frontend for the motion daemon.
GNU General Public License v3.0
3.85k stars 647 forks source link

raspberry with MotionEyeos and PIR Sensor #2506

Open jrm0316 opened 2 years ago

jrm0316 commented 2 years ago

Hi, I have a raspberry zero with MotionEyeos in the hallway of my building. It works very well, but during the day, leaves something to be desired, as it cannot always catch whoever is passing in the hallway. The night is different, in view, that the hallway has a light that automatically turns on when someone is present. I want it to be more accurate during the day too, so I wanted to connect a pir sensor HC-SR501 (it's a presence sensor from the raspberry itself), but I plugged it in and at first it didn't work. How do I get MotionEyeos to use the pir to detect the presence? Has anyone here tested this pir sensor with MotionEye?

Thank you so much.

zagrim commented 2 years ago

There's no direct support for PIR sensors, but there have been several issues with that topic with some workarounds and/or partial solutions: