Applies to: Wisenet Device Manager
Wisenet Device Manager has a built in tool called "CGI Sender". (Figure 1) This tool can be used to send CGI commands to our cameras and is very useful in case a command needs to be sent to multiple cameras (or a batch of cameras) at the same time instead of going to each camera to adjust the individual setting.
Where can you obtain a list of CGI commands?
Step by Step Example:
The following steps will show you how to change the PTZ setting "Focus -> Lens Reset" from its default setting "1 day" to "Manual". This, in effect, will stop the PTZ camera from automatically resetting the focus daily.
By default, our PTZ Cameras have "Focus > Lens Reset" enabled to 1 day.
This is enabled by default to ensure that the camera focus is properly calibrated and does not deviate from its factory calibrated values. To check the current setting, in the camera's Web UI, navigate to
Settings -> Video and Audio -> Camera Setup -> Focus / Lens Reset (Figure 2)
The CGI command to change the lens reset schedule was taken from the SUNAPI_image_2.6.3 document. (Figure 3)
To change the preset to manual we will use the base CGI command stw-cgi/image.cgi?msubmenu and we will add the lens reset schedule =focus&action=set&LensResetSchedule=Manual
The complete string should be like this:
Open Wisenet Device Manager, highlight all the cameras that you need to send the CGI command to and select
Enter CGI command:
stw-cgi/image.cgi?msubmenu=focus&action=set&LensResetSchedule=Manual Click apply. (Figure 4)
The CGI Sender should show "Success" if the CGI command was successfully sent to the cameras (Figure 5)
To verify that the setting in the cameras changed, follow these steps:
Login to the camera's Web UI, check if the lens reset changed to "Manual": (Figure 6)
NOTE: If you have access to other API's, you can use those with CGI
Sender as well. This article is simply an example of what you can
accomplish with CGI Sender in Wisenet Device Manager.