Page 1 of 1

User definable PTZ control

Posted: Mon Sep 08, 2008 10:40 pm
by Normando
I hope this time I have no repeated the post :) (I have searched)

I think this make more flexible scripts to allow user to define your own controls, because not all cameras capability has the same control ZM has.

For example:

Name: (any name)
Type: (button, map, checkbox, etc)
Parameter passed to script: (xcoord, ycoord, step, panspeed, etc)
Then at the edit control window the user can assign values for each object, like buttons, etc.

I know there is more dificult to making than this, but this will be a great feature!

For example, with something like this I will can adjust contrast at my IP camera with two buttons who send an http command.

Posted: Mon Sep 08, 2008 10:52 pm
by cordel
Already done:
http://www.zoneminder.com/wiki/index.ph ... ra_Control

Create the perl module defining the functions with the correct camera controls, then setup the module in the database and check the functions available to the web interface.

Posted: Mon Sep 08, 2008 11:10 pm
by Normando
Cordel, I know this text, and I have setup my camera with this guideline, but how to create a new web control like buttons Contrast(+) and Contrast(-) without hacking the code?
ZM has a limited number of web controls available, but not all, and this make sense because can't support all the cameras available at the market.
Because this I think there is more usesul creating a minimal framework to create a user definable controls, adding the more used, like those ZM already has.
cordel wrote:Create the perl module defining the functions with the correct camera controls
I think you refer to the perl script control (like AxisV2.pm)
cordel wrote:then setup the module in the database
How? Manually?
cordel wrote:and check the functions available to the web interface
This is because my question. Web inteface not has a button named "Contrast"

Sorry if I not understood correctly your answer.