Read the statement by Michael Teeuw here.
Motion Detector
-
@natacha3 - It’s been a really long time since I wrote that Motion post. But I’ll try to help. IIRC, the
lastsnap.jpg
is intended to be a capture of the last image that the Motion system grabbed. It will continually overwrite that file. You may (or maybe not) have disabled the “capture screenshots to folder” functionality and left the “save last image to folder” feature running. Or not. I’d have to see yourmotion.conf
file to be sure.Motion never did close gracefully, to my knowledge. It seems that motion is definitely detecting motion of some form and writing to the
lastsnap.jpg
file. So that’s a plus. If you read the whole thread that @Hawking linked, you’ll see that I had problems with Motion crashing. When it crashes, it stops detecting properly and never runs the script to wake up the monitor.I suspect that if you check the
lastsnap.jpg
timestamp, you’ll see that it was created at some point between “works fine” and “won’t turn the monitor on”. That would be the last time that motion successfully wrote to the disk before the process crashed.Try starting Motion with pm2. I found that pm2 will detect when the Motion process crashes and restart it for you. That should keep the detection active.
-
@bhepler, you’re my hero !
Thank you so much for your kind advice !
Starting motion with pm2 solves the issue.
I just did not dare to start also the magic mirror with it as I’ve read somewhere that they would start simultaneously and as a consequence everything would fail… I will try but later on !Thank you agin !
Nat -
trying to use a variant of this module…my camera works fine and the module works fine…bt after aout 10 min…the camera turns off ( still has power but stops recieveing video)