智能摄像机(sp)标准指令集

更新时间:2022-01-18 06:29:13下载pdf

Code 名称 数据类型 取值约束
ipc_work_mode 工作模式 Enum {“range”:[“0”,“1”]}
basic_device_volume 音量控制 Integer {“min”:1,“max”:10,“scale”:0,“step”:1}
floodlight_lightness 灯光亮度 Integer {“min”:1,“max”:100,“scale”:0,“step”:1}
wireless_batterylock 电池锁 Boolean {}
siren_switch 警笛 Boolean {}
zoom_stop 停止变焦 Boolean {}
cry_detection_switch 哭声侦测 Boolean {}
decibel_switch 声音侦测报警开关 Boolean {}
record_switch SD 卡录像开关 Boolean {}
motion_record SD 卡录像模式 Boolean {}
sd_umount 卸载存储卡 Boolean {}
sd_format 存储卡格式化 Boolean {}
device_restart 远程重启 Boolean {}
basic_indicator 状态指示灯 Boolean {}
basic_private 隐私模式 Boolean {}
basic_flip 反面翻转 Boolean {}
basic_osd 时间水印 Boolean {}
basic_wdr 宽动态范围模式 Boolean {}
basic_shimmer 微光全彩 Boolean {}
ptz_calibration 云台校准 Boolean {}
ptz_stop 停止转动 Boolean {}
cruise_switch 巡航开关 Boolean {}
motion_tracking 移动追踪 Boolean {}
motion_switch 移动报警开关 Boolean {}
motion_timer_switch 移动侦测-模式选择 Boolean {}
flight_warn_switch 警示开关 Boolean {}
flight_pir_a PIR 传感器1 Boolean {}
flight_pir_b PIR 传感器2 Boolean {}
flight_pir_c PIR 传感器3 Boolean {}
floodlight_switch Boolean {}
zoom_control 焦距控制 Enum {“range”:[“0”,“1”]}
decibel_sensitivity 声音侦测灵敏度 Enum {“range”:[“0”,“1”]}
record_mode 录像模式 Enum {“range”:[“1”,“2”]}
basic_nightvision 红外夜视 Enum {“range”:[“0”,“1”,“2”]}
basic_anti_flicker 抗闪烁 Enum {“range”:[“0”,“1”,“2”]}
ptz_control 云台转动 Enum {“range”:[“0”,“1”,“2”,“3”,“4”,“5”,“6”,“7”]}
motion_interval 报警间歇 Enum {“range”:[“1”,“3”,“5”]}
motion_sensitivity 移动侦测灵敏度 Enum {“range”:[“0”,“1”,“2”]}
flight_bright_mode 亮度模式 Enum {“range”:[“0”,“1”]}
pir_sensitivity PIR 灵敏度 Enum {“range”:[“0”,“1”,“2”]}

ipc_work_mode

IPC 工作模式:

  • 0:低功耗模式
  • 1:连续工作模式

代码示例:

{
    "commands":[
        {
            "code":"ipc_work_mode",
            "value":"0"
        }
    ]
}

zoom_control

变焦控制:

  • 0:减焦距
  • 1:加焦距

decibel_sensitivity

声音侦测报警开关灵敏度:

  • 0:低灵敏度
  • 1:高灵敏度

record_mode

录像模式:

  • 1:为事件录像(检测到移动再录像到SD卡)
  • 2:为连续录像

basic_nightvision

红外夜视设置:

  • 0:自动
  • 1:关
  • 2:开

basic_anti_flicker

抗闪烁设置:

  • 0:关闭功能
  • 1:50Hz
  • 2:60Hz

ptz_control

云台转动设置:

  • 0:上
  • 1:右上
  • 2:右
  • 3:右下
  • 4:下
  • 5:左下
  • 6:左
  • 7:左上

motion_interval

报警间歇,单位为分钟。 枚举值,根据枚举值的数值显示对应的分钟选项。

  • 1:1分钟
  • 3:3分钟
  • 5:5分钟

motion_sensitivity

移动侦测灵敏度:

  • 0:低灵敏度
  • 1:中灵敏度
  • 2:高灵敏度

flight_bright_mode

亮度模式:

  • 0:手动模式
  • 1:自动模式

pir_sensitivity

PIR 灵敏度:

  • 0:低灵敏度
  • 1:中灵敏度
  • 2:高灵敏度