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 definable PTZ control
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.
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.
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.
Sorry if I not understood correctly your answer.
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.
I think you refer to the perl script control (like AxisV2.pm)cordel wrote:Create the perl module defining the functions with the correct camera controls
How? Manually?cordel wrote:then setup the module in the database
This is because my question. Web inteface not has a button named "Contrast"cordel wrote:and check the functions available to the web interface
Sorry if I not understood correctly your answer.