Manual Preset scripts

Forum for questions and support relating to the 1.24.x releases only.
Locked
brononius
Posts: 15
Joined: Thu Aug 16, 2012 5:10 am

Manual Preset scripts

Post by brononius »

Hey,

I've got several IP-camera's (IPCAM02) that are working great with zoneminder.

The camera's don't have presets, but with some scripts, i'm able to move them to specific views. And i was thinking to put these scripts in a kind of crontab, so that from time-to-time they capture zoneA, and from time-to-time zoneB.

But the problem i've got with this, is that zoneminder thinks that there's movement when i change the camera's position. So my events will be filling up with these 'false' alarms'. Is there a way to temporary disable a camera when i move the camera?


more /scripts/ipcam_videre_view_globaal.sh (i replaced http with ht_p for spam reasons)

Code: Select all

# Reset camera to center
# --------------------------
curl --user 'viewer:v13w3r' 'ht_tp://videre/decoder_control.cgi?command=25'
sleep 75

# Go right
# ---------
curl --user 'viewer:v13w3r' 'ht_tp://videre/decoder_control.cgi?command=4&onestep=1'
sleep 2
curl --user 'viewer:v13w3r' 'ht_tp://videre/decoder_control.cgi?command=4&onestep=1'
sleep 2
curl --user 'viewer:v13w3r' 'ht_tp://videre/decoder_control.cgi?command=4&onestep=1'
sleep 2
curl --user 'viewer:v13w3r' 'ht_tp://videre/decoder_control.cgi?command=4&onestep=1'
sleep 2

# Go up
# -------
curl --user 'viewer:v13w3r' 'ht_tp://videre/decoder_control.cgi?command=2&onestep=1'
sleep 2
curl --user 'viewer:v13w3r' 'ht_tp://videre/decoder_control.cgi?command=2&onestep=1'
sleep 2
curl --user 'viewer:v13w3r' 'ht_tp://videre/decoder_control.cgi?command=2&onestep=1'
sleep 2
Locked