Script for a capture
-
- Posts: 1
- Joined: Fri Aug 07, 2015 12:40 pm
Script for a capture
I'm looking to do a time lapse on some of my outdoor camera's. How would I have them take a photo at 10am every day and save that photo?
Re: Script for a capture
cron job that starts a PERL script that through zmTrigger.pl starts the camera at 9:59 and stops it 3 minutes later. then look through the stills for 10:00am.
an example string sent to zmTrigger.pl activated by cron would be 1|on+3|255|10am Photo|
turns on monitor 1 for 3 minutes adding the Cause as 10am Photo.
there most likely is a more elegant method but this may help get you started in the right direction.
an example string sent to zmTrigger.pl activated by cron would be 1|on+3|255|10am Photo|
turns on monitor 1 for 3 minutes adding the Cause as 10am Photo.
there most likely is a more elegant method but this may help get you started in the right direction.
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: Script for a capture
The simplest way to do that is described here:
viewtopic.php?f=32&t=23277&p=88518&hili ... jpg#p88475
This will put a snapshot jpeg into the folder of your choosing. Put it into a cronjob and run it as often as you desire.
viewtopic.php?f=32&t=23277&p=88518&hili ... jpg#p88475
This will put a snapshot jpeg into the folder of your choosing. Put it into a cronjob and run it as often as you desire.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
Re: Script for a capture
that is genius! opens up other possibilities.