User definable PTZ control

Anything you want added or changed in future versions of ZoneMinder? Post here and there's a chance it will get in! Search to make sure it hasn't already been requested.
Post Reply
User avatar
Normando
Posts: 219
Joined: Sun Aug 17, 2008 5:34 am
Location: Rosario - Argentina

User definable PTZ control

Post 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.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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.
User avatar
Normando
Posts: 219
Joined: Sun Aug 17, 2008 5:34 am
Location: Rosario - Argentina

Post 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.
Post Reply