As you say, it is not desirable to pause motion detection while uploading files.
But doing that is at least a patch.
Performing uploads from cron every 3 minutes is a test.
Doing that every 30 mins would be enough.
So I would add some lines in File2.py (runs from cron): stop File1.py process; proceed to convert and upload files; at the end relaunch motion sensor (File1.py)
But doing that is at least a patch.
Performing uploads from cron every 3 minutes is a test.
Doing that every 30 mins would be enough.
So I would add some lines in File2.py (runs from cron): stop File1.py process; proceed to convert and upload files; at the end relaunch motion sensor (File1.py)
Statistics: Posted by marciano — Fri Apr 26, 2024 1:03 pm