[SOLVED] Patrol through preset positions possible?

Forum for questions and support relating to the 1.26.x releases only.
Post Reply
roadster
Posts: 17
Joined: Thu Dec 26, 2013 4:15 pm

[SOLVED] Patrol through preset positions possible?

Post by roadster » Mon Dec 30, 2013 7:19 pm

Hi there.
I am new to zoneminder, it´s an overwhelming set of programmes.
Since I have several IP Cameras (all foscam clones) that allow pan and tilt I would like to know wether zoneminder is possible to patrol through the different presets of an ip-camera?
E.g. I have several presets for cam1 in the garden: fence, gate, tree and so on. Can zoneminder patrol those points and keep an eye on intruders in my garden?
Regards
Roadster
Last edited by roadster on Fri Feb 07, 2014 5:16 pm, edited 1 time in total.

User avatar
knight-of-ni
Posts: 2129
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Patrol through preset positions possible?

Post by knight-of-ni » Wed Jan 01, 2014 11:55 pm

First check that the camera doesn't have support for this internally. If it does then you need to find/create a zoneminder ptz control script that supports that feature.

If that doesn't work, then you can still do the following.
Once you have the presets set up and working from Zoneminder, then you would call zmcontrol.pl, using the --preset paramter, from the command line.

zmcontrol.pl is defined here:
http://www.zoneminder.com/wiki/index.ph ... ol_Scripts

You could then write a script that cycles through all your presets.
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/

roadster
Posts: 17
Joined: Thu Dec 26, 2013 4:15 pm

Re: Patrol through preset positions possible?

Post by roadster » Wed Jan 15, 2014 10:38 pm

Thanks!
Right now I followed the instructions for foscam clones.
But the cameras won´t goto presets, pan or tilt... I am stuck...
I am using opensuse 12.1, zoneminder 1.26.4 and 4 wansview jw0004 cameras.
Everything works fine exept controlling the cameras.
Regards
Roadster

roadster
Posts: 17
Joined: Thu Dec 26, 2013 4:15 pm

Re: Patrol through preset positions possible?

Post by roadster » Fri Feb 07, 2014 5:15 pm

OK this is solved now.
The four cameras now pan and tilt as they should by a script using zmu and zmcontrol.pl in a batch file.
The batch runs an endless loop.
When I am not at home I sometimes take a look through cameras, it´s kinda fun with the cams panning but one could get a little sick staring at 4 moving camera pictures all the time....

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests