TimJuni / raspistillWeb

Little python web interface for raspistill to take photos with the RaspberryPi
GNU General Public License v3.0
20 stars 11 forks source link

Time Lapse Features: Overview and Stop #4

Open torstenhaase opened 10 years ago

torstenhaase commented 10 years ago

Hi Tim,

as written in #3 it would be great if you could cancel a time lapse and if you see the current status of the time lapse. I'll copy the points from #3:

1) It would be great if you could cancel a time lapse 2) Another idea is that when you click on the time lapse button and there is a time lapse running that you show the newest picture and maybe "Picture 356/1000" and time remaining 1h 53min 3) Before you start the time lapse you show the values for interval and time. It would be great if you could show the other settings like size as well.

For the progress I don't think that you'll need separate raspistill calls: You'll get the current picture from the name of the latest pictures because there is a counter in the name. You can also show it as an thumbnail. You'll get the total amount of picture dividing the total time / interval between pictures. You'll get the remaining time with total time - (current picture * interval).

I'am not sure about canceling. You can cancel the time lapse with "Ctrl+C" in the terminal. I don't know if there is something similar. However you can use the "kill" command. Check http://stackoverflow.com/questions/160924/how-can-i-kill-a-process-by-name-instead-of-pid for details.

Take Care Torsten