-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timelapse: Take the first photo immediately #82
Comments
Set up pi-timolo for 24 hrs between images per config.py settings below with whatever image, text values you want.
pi-timolo will look after the interval between images eg 24 hours Set up crontab to start pi-timolo the day before you want the timelapse cycle to begin since pi-timolo will start the timelapse cycle at the end of the timer interval. Then run pi-timolo.sh start
This will run run every day at midnight but pi-timolo.sh will not restart pi-timolo.py if it is already running so as long as pi-timolo continues to run in the background you will get an image at midnight since pi-timolo.sh will detect that it is already running. If pi-timolo does stop for some reason then there will be a delay of 24 hours before first image is taken. I will look at changing the logic to start take an initial timelapse image at the start of the interval. Please note the camera startup time takes a little while so you will probably have to set cron to start a little before midnight. I will let you know when I change logic to start an initial timelapse image and maybe implement a timelapse initial start time to force start of first image at a particular time as long as the RPI clock is accurate. Claude .. |
Thanks Claude, this is exactly what I've done. (Except the motionTrackOn = True, Typo?) Another approach of mine would be to shut down the Pi after taking a picture at 12 o'clock. In this approach again it would be helpful to have the option to take an initial photo right after starting pi-timolo.sh And your idea of implementing a start time for the first image is even more great! thx! |
I am roughing out the code for setting a time and or date/time to start timelapse based on variable settings. If the date is in the past the timelapse would start on the specified hour/minute. This would allow a restart and still have the same start time. I was also thinking it would be helpful if timelapse timer could be set using names for values like minutes, hours, days, etc to avoid large seconds values but just a thought. |
pi-timolo.py release ver 9.2 now takes an image at start of sequence and timelapse will continue per timer settings. This should solve your original issue. I am also working on setting a scheduled date/time for start of timelapse sequence and will issue when ready. You can do a quick upgrade per
|
I have released pi-timolo ver 10.0 that now includes scheduled StartAt variables for motion, timelapse and video repeat. See Wiki for details How to Schedule Motion, Timelapse or VideoRepeat |
Hi there.
Thanks a lot for this great piece of software, genius man!
This a huge time saver, thanks again!
My issue:
pi-timolo takes the first photo after the first loop of the Timer.
I have set the Timer on 86400 seconds since I want to take one photo every 24h.
Therefore I start pi-timolo.sh via cron exactly at 12 o'clock (and check every day at the same time, if it's still running).
But: Now it takes another 24h till the first photo is taken.
How would i (you?) change this?
Thanks in advance
thibault
The text was updated successfully, but these errors were encountered: