Page 1 of 1

PTZ control functions causes the motion detection to record

Posted: Mon Feb 11, 2008 9:02 pm
by rwalker
I have a TrendNet IP-400W which has a PT (no zoom) that works fine in Zoneminder 1.22.3. Only issue is when I use the control page I would think it would momentarily pause (like 2 seconds or so) the motion detection so you would not get events from moving the camera (I am using the controls in ZM, not on the camera).

Is this just not possible with ZM or is the control script supposed to do this when you use the controls (I am using Peters' script, so not familiar with it).

Thanks,
Roy

Posted: Wed Feb 13, 2008 8:55 pm
by zoneminder
This is not implemented directly though all the pieces are there. You need to suspend motion detection and then resume it afterwards (or if ZM_MAX_SUSPEND_TIME is time, it will resume automatically). The sample zmtrack.pl script shows you one way to do this, or you can use zmu. However at present you would have to edit the zmcontrol.pl script and insert a call to suspend the monitor prior to any motion. You would then need to allow the monitor to build up a new reference image before resuming, in this case just letting the timeout expire would probably be sufficient.