pageauc / pi-timolo

Raspberry PI-TIMOLO ( PI-TImelapse, MOtion, LOwLight ) uses RPI picamera and OpenCV for Remote Headless Security Monitoring using Motion Tracking, Rclone Auto Sync files with remote storage services. Auto Twilight Transitions and Low Light Camera Settings. Panoramic images using PanTiltHat and More. This project is featured on GitHub Awesome software.
MIT License
548 stars 101 forks source link

New Release 10.0 Adds optional Scheduled Start to Motion, Timelapse and Video Repeat #84

Closed pageauc closed 6 years ago

pageauc commented 6 years ago

I have implemented an optional scheduled start feature.
or details See How to Schedule Motion, Timelapse or Video

malialis commented 6 years ago

Hello.

Thank you for all your amazing work. Since I upgraded i now get the following error when I try run it.

Traceback (most recent call last): File "./pi-timolo.py", line 173, in from dateutil.parser import parse ImportError: No module named dateutil.parser

Any ideas what I could of done wrong?

pageauc commented 6 years ago

Funny I tested this on several machines and it ran fine. I have added install of dateutil.parser to the pi-timolo-install.sh script. Rerun the curl upgrade and test again. Let me know if this fixes the problem Thanks for your feedback. Claude

malialis commented 6 years ago

Hello.

Thank you. That fixed it. It is now working again.

Thank you so much.

pageauc commented 6 years ago

You are welcome. I appreciate your feedback. Claude ...

On Sun, Jan 14, 2018 at 8:13 AM, malialis notifications@github.com wrote:

Hello.

Thank you. That fixed it. It is now working again.

Thank you so much.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pageauc/pi-timolo/issues/84#issuecomment-357514561, or mute the thread https://github.com/notifications/unsubscribe-auth/AFr1ZN62f-ydEi7rpTraaThDaBtSY4Lxks5tKguKgaJpZM4RdUwd .

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

malialis commented 6 years ago

Hello.

Sorry, once again. It is working kinda. It takes a photo right away in timelapse. Then nothing. I have even reimaged my rpi. Fresh install. Fully updated. Reinstalled Pi-TiMoLo and it runs no errors. After taking one photo it sits there

2018-01-14 11:12:07 INFO postImageProcessing Next Counter=1001 /home/pi/pi-timolo/tl-pi-timolo.dat 2018-01-14 11:12:07 INFO timolo Restart PiVideoStream ....

I have tried timelapse at various time lengths. and nothing. Any ideas?

Sorry for bugging. And thank you so much for all your help.

pageauc commented 6 years ago

My Stupid Error. Accidentally turned off timelapse after initial image and did not notice during testing since I did get initial image and default is 5 minute interval. Just impatient. You can. Download pi-timolo.py ver 10.1

wget -O pi-timolo.py https://raw.github.com/pageauc/pi-timolo/master/source/pi-timolo.py

Thanks for your help. greatly appreciated. Let me know if this works OK now.

Claude ...

On Sun, Jan 14, 2018 at 4:31 PM, malialis notifications@github.com wrote:

Hello.

Sorry, once again. It is working kinda. It takes a photo right away in timelapse. Then nothing. I have even reimaged my rpi. Fresh install. Fully updated. Reinstalled Pi-TiMoLo and it runs no errors. After taking one photo it sits there

2018-01-14 11:12:07 INFO postImageProcessing Next Counter=1001 /home/pi/pi-timolo/tl-pi-timolo.dat 2018-01-14 11:12:07 INFO timolo Restart PiVideoStream ....

I have tried timelapse at various time lengths. and nothing. Any ideas?

Sorry for bugging. And thank you so much for all your help.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pageauc/pi-timolo/issues/84#issuecomment-357548224, or mute the thread https://github.com/notifications/unsubscribe-auth/AFr1ZFi4lwRbkBQcynGxRGpQdqoK97eQks5tKoBUgaJpZM4RdUwd .

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

pageauc commented 6 years ago

Sorry. I think I finally have the issue resolved. Problem was with allow a first image and not mess up the other restrictions.

Download release 10.2

wget -O pi-timolo.py https://raw.github.com/pageauc/pi-timolo/master/ source/pi-timolo.py

Had a rush day Thanks for your patience.

Claude ...

On Sun, Jan 14, 2018 at 5:41 PM, Claude Pageau pageauc@gmail.com wrote:

My Stupid Error. Accidentally turned off timelapse after initial image and did not notice during testing since I did get initial image and default is 5 minute interval. Just impatient. You can. Download pi-timolo.py ver 10.1

wget -O pi-timolo.py https://raw.github.com/pageauc/pi-timolo/master/ source/pi-timolo.py

Thanks for your help. greatly appreciated. Let me know if this works OK now.

Claude ...

On Sun, Jan 14, 2018 at 4:31 PM, malialis notifications@github.com wrote:

Hello.

Sorry, once again. It is working kinda. It takes a photo right away in timelapse. Then nothing. I have even reimaged my rpi. Fresh install. Fully updated. Reinstalled Pi-TiMoLo and it runs no errors. After taking one photo it sits there

2018-01-14 11:12:07 INFO postImageProcessing Next Counter=1001 /home/pi/pi-timolo/tl-pi-timolo.dat 2018-01-14 11:12:07 INFO timolo Restart PiVideoStream ....

I have tried timelapse at various time lengths. and nothing. Any ideas?

Sorry for bugging. And thank you so much for all your help.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pageauc/pi-timolo/issues/84#issuecomment-357548224, or mute the thread https://github.com/notifications/unsubscribe-auth/AFr1ZFi4lwRbkBQcynGxRGpQdqoK97eQks5tKoBUgaJpZM4RdUwd .

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

malialis commented 6 years ago

Hello.

Updated and it is working as intended. Thank you so much.

Most appreciated.

tibaultbordeaux commented 6 years ago

Just a quick - but HUGE - thank you for this fast implementation of my feature request. This is amazing!

And as a side note for other users: If I'm using plugins like TLlong.py I have to manually add

timelapseStartAt = "12:00:00"

in the respective file.

pageauc commented 6 years ago

FYI

I have added StartAt="" to several plugins where I thought it made sense. Upgrade will not overwrite plugins unless you rename or delete one but new installs will see the variable. User would have to then set desired date/time.

Also I am quite pleased with the new changes to the webserver that uses a < BACK button and no longer opens selected folder in a separate browser tab. It took me while to figure out but only took two lines of code. I also added a bottom < BACK link on the bottom if there are more than 35 entries in the right hand listing. Two more lines of code..

Claude ....

On Sat, Jan 20, 2018 at 3:35 PM, tibaultbordeaux notifications@github.com wrote:

Just a quick - but HUGE - thank you for this fast implementation of my feature request. This is amazing!

And as a side note for other users: If I'm using plugins like TLlong.py I have to manually add

timelapseStartAt = "12:00:00"

in the respective file.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pageauc/pi-timolo/issues/84#issuecomment-359204005, or mute the thread https://github.com/notifications/unsubscribe-auth/AFr1ZN7SdVrMAlKY3lbRcTqgWNlSOdCsks5tMlwygaJpZM4RdUwd .

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

malialis commented 6 years ago

Hello.

Thank you for this awesome resource it is amazing. I like the StartAt feature.

Was wondering if you could add a EndAt feature to it. If possible. This way I do not have to manually shut the Pi down durring the evenings. I could have it start timelapse at 8am and stop at 7 pm.

If possible.

Thank you again.

pageauc commented 6 years ago

Can you post both your requests as a separate GitHub issues. Start At only kicks in once during initialization and looks for date and/or time past. If date is past then time is used only if pi-timolo.py is restarted otherwise task continues. It might take me a while to figure out how to implement. There is already settings for

noNightShots = False # default= False True=No Night Images (Motion or Timelapse) noDayShots = False # default= False True=No Day Images (Motion or Timelapse)

These allow turning off day or night (not both or nothing is done and error message will remind you not to turn on both)

Thanks Claude ...

On Wed, Jan 24, 2018 at 12:11 PM, malialis notifications@github.com wrote:

Hello.

Thank you for this awesome resource it is amazing. I like the StartAt feature.

Was wondering if you could add a EndAt feature to it. If possible. This way I do not have to manually shut the Pi down durring the evenings. I could have it start timelapse at 8am and stop at 7 pm.

If possible.

Thank you again.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pageauc/pi-timolo/issues/84#issuecomment-360223753, or mute the thread https://github.com/notifications/unsubscribe-auth/AFr1ZAN452dGmAZ4JknB7ZMZgItJLccsks5tN3JngaJpZM4RdUwd .

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp