How to disable temporarily the snapshots on some but not all cameras
Question
I have six network cameras with the global config option set: snapshot_interval 60
I currently control which ones are doing motion detection using the web interface like: wget
http://10.4.0.45:8399/${x}/detection/pause -O -
How can I do a similiar thing, on a per-camera-basis, to turn off/on the snapshot feature.
Something like this: wget
http://10.4.0.45:8399/4/snapshots/pause -O -
and then later to turn it back on for cam 4, something like this: wget
http://10.4.0.45:8399/4/snapshots/resume -O -
Is this a new feature request, or is there a way to already do this ???
Thanks. g.s.
Please put your console output, config file text, text from logs etc
between the two VERBATIM tags and not outside to ensure that you get
the text shown with line breaks.
Environment
Motion version: |
3.2.4 snap 5 |
ffmpeg version: |
not used |
Libraries: |
ffmpeg, mysql, postgresql |
Server OS: |
Fedora Core 4 , kernel 2.6.15-1.1831_FC4 |
--
GregSwift - 13 Feb 2006
Answer
Yes there's already a way to do it just setting snapshot_interval to 0.
http://www.lavrsen.dk/twiki/bin/view/Motion/ConfigOptionSnapshotInterval
This should do the trick:
wget 'http://10.4.0.45:8399/4/config/set?snapshot_interval=0'
--
AngelCarpintero - 14 Feb 2006