Read the statement by Michael Teeuw here.
Motion Detector
-
-
@DirkS Thank you. Pi doesn’t die over nights :D
But before I mess it up:
Would the motion detection with the common script work or not?
How did you realize it? Where did you enter your new script?And don’t you want to make an additional motion detector module for those who have the same problem? :)
I don’t see the original programmer caring to much. ;)cheers
done -
@done as discribed above by @cpramhofer (thanks to you :) ) i created the monitor_on and off.sh script.
With FHEM i’m polling the PIR status and use a DOIF to call on or off. Because my homeautomation depends in FHEM i have much more control instead of using a MM module, i switch much more devices with the PIR as well. I have several Pi’s with FHEM installed so it is also on the PI for the Mirror. -
@bib you are providing a bit less information to give you some tipp.
-
@DirkS ok here you go. 1st: when the Pi is started the screen directly goes into sleep. it’s a bit annoying but i can live with that as i will not reboot it everyday. 2nd: to wake up the system with a motion during this sleep mode, it takes quite a while (don’t know why) 3rd: when motion is detected, screen wakes up and stays up accordingly the time defined in config.js and goes sleep again (this is fine) but suddently it wakes up again without motion and this last behavior is unpredictable. i hope it’s enough info for you but don’t hesitate to ask more if needed. thx
moreover your script is i guess different from the one of this pull… -
@DirkS and i see now after few hours, it won’t wake up anymore :(
-
@DirkS forget my last posts… i restarted (reinstall MM) everything and i m trying to figure out how to avoid the black screen now…
-
This post is deleted! -
@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
-
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