User Manual
Table Of Contents
- Overview
- Ready to Use
- Accessing the Network Camera
- Using VIVOTEK Recording Software
- Using 3GPP-compatible Mobile Devices
- Using RTSP Players
- Main Page
- Client Settings
- Configuration
- System > General settings
- System > Homepage layout
- System > Logs
- System > Parameters
- System > Maintenance
- Media > Image
- Media > Video
- Media > Audio
- Network > General settings
- Network > Streaming protocols
- Network > SNMP (Simple Network Management Protocol)
- Network > FTP
- Bonjour
- Security > User accounts
- Security > HTTPS (Hypertext Transfer Protocol over SSL)
- Security > Access List
- PTZ > PTZ settings
- PTZ
- Mechanical PTZ Operation
- Event > Event settings
- Applications > Motion detection
- Applications > DI and DO
- Applications > Tampering detection
- Applications > Audio detection
- Applications > Shock detection
- Applications > Package management - a.k.a., VADP (VIVOTEK Application Development Platform)
- Recording > Recording settings
- Storage > Storage management
- Storage > Content management
- Appendix
VIVOTEK
User's Manual - 417
© 2019 VIVOTEK INC. All Right Reserved
282
8.36 Optimized IR control
(capability_daynight_c<0~(n-1)>_optimizedir > 0)
Note: This request requires Administrator privileges.
Method: GET/POST
Syntax:
http://<servername>/cgi-bin/admin/optimizedir.cgi?function=<value>[&channel=<value>]
PARAMETER
VALUE
DESCRIPTION
channel
0~"capability_nvideoin"-1
Channel of the video source.
function
getstatus,
onetimeauto
"onetimeauto": Camera will automatically adjust the IR
zone one time only.
"getstatus": Information of optimized IR control status and
return value as below:
optimizedir_c<0~(n-1)>_irmode:
Indicate the IR current mode, available value is “auto” and
“manual” mode.
optimizedir_c<0~(n-1)>_irnum:
The number of IR that camera supports.
optimizedir_c<0~(n-1)>_irstrength:
Only available when irmode is set as manual. It’s a set of
integers, which indicate the strength of each IR LED (e.g.
23,45,100,100).
optimizedir_c<0~(n-1)>_irstatus:
Current IR status, normal / adjusting:
"normal": the IR LED strength has been fixed.
"adjusting": the IR LED strength is adjusting.
optimizedir_c<0~(n-1)>_supportmode:
“auto”: automatically adjust the IR control.
“manual”: manual adjustment.
Example:
© 2019 VIVOTEK INC. All Right Reserved
283
http://myserver/cgi-bin/admin/optimizedir.cgi?function=getstatus
Response:
HTTP/1.0 200 OK\r\n
Cache-control: no-cache\r\n
Pragma: no-cache\r\n
\r\n
"optimizedir_c0_irmode='auto'"
"optimizedir_c0_irnum='5'"
"optimizedir_c0_irstrength='1,97,100,100,100'"
"optimizedir_c0_irstatus='normal'"
Syntax: (for control API)
http://<servername>/cgi-bin/admin/optimizedir.cgi
?channel=<value>&operation=<value>&irmode=
manual[&strength=<value>] – Set IR strength
PARAMETER VALUE DESCRIPTION
channel 0~"capability_nvideoin"-1 Channel of the video source.
operation set,
settoall
"set": set the strength of each IR LED separately
"settoall": use fixed strength for all IR LED
irmode auto,
manual
Irmode needs to be set as manual for adjusting IR
LED strength.
strength 1~100 If the operation is set as "set", the number of
strength values need to be the same as it of
irnum. However, it needs only one value for
strength when the operation is set as "settoall".
Example:
http://myserver/cgi-bin/admin/optimizedir.cgi?channel=0&operation=set&irmode=manual&
strength=50,70,50,50,50
Response:
HTTP/1.0 200 OK\r\n
Cache-control: no-cache\r\n
Pragma: no-cache\r\n
\r\n
"optimizedir_c0_irstrength='50,70,50,50,50'"
"optimizedir_c0_irmode='manual'"