Applies to: Wisenet Device Manager
Summary:
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.
Figure 1
Where can you obtain a list of CGI commands?
As a Hanwha Step Partner you can download the CGI manuals from the Step Partner Website. If you do not have a login, you will need to enroll to become a member.
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)
Figure 2
The CGI command to change the lens reset schedule was taken from the SUNAPI_image_2.6.3 document. (Figure 3)
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:
stw-cgi/image.cgi?msubmenu=focus&action=set&LensResetSchedule=Manual
Open Wisenet Device Manager, highlight all the cameras that you need to send the CGI command to and select
"CGI Sender"
Enter CGI command:
stw-cgi/image.cgi?msubmenu=focus&action=set&LensResetSchedule=Manual Click apply. (Figure 4)
Figure 34
The CGI Sender should show "Success" if the CGI command was successfully sent to the cameras (Figure 5)
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)
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.