Standard Status Set

Last Updated on : 2022-01-13 06:04:02download

This topic describes the standard status set of smart cameras (sp).

Support reporting instructions to the cloud and sending instructions to the device

Code Name Data type Value constraint
ipc_work_mode Working mode Enum {“range”:[“0”,“1”]}
basic_device_volume Volume control Integer {“min”:1,“max”:10,“scale”:0,“step”:1}
floodlight_lightness Floodlight brightness Integer {“min”:1,“max”:100,“scale”:0,“step”:1}
wireless_batterylock Battery lock Boolean {}
siren_switch Siren Boolean {}
zoom_stop Stop zooming Boolean {}
cry_detection_switch Cry detection Boolean {}
decibel_switch Sound detection alarm switch Boolean {}
record_switch SD card video recording switch Boolean {}
motion_record SD card video recording mode Boolean {}
sd_umount Unmount the SD card Boolean {}
sd_format SD card formatting Boolean {}
device_restart Remote restart Boolean {}
basic_indicator Status indicator light Boolean {}
basic_private Privacy mode Boolean {}
basic_flip Flip Boolean {}
basic_osd Time watermark Boolean {}
basic_wdr Wide dynamic range (WDR) mode Boolean {}
basic_shimmer Shimmer full color Boolean {}
ptz_calibration PTZ calibration Boolean {}
ptz_stop Stop PTZ Boolean {}
cruise_switch Cruise switch Boolean {}
motion_tracking Motion tracking Boolean {}
motion_switch Motion alarm switch Boolean {}
motion_timer_switch Motion detection mode selection Boolean {}
flight_warn_switch Warning switch Boolean {}
flight_pir_a PIR sensor 1 Boolean {}
flight_pir_b PIR sensor 2 Boolean {}
flight_pir_c PIR sensor 3 Boolean {}
floodlight_switch Floodlight Boolean {}
zoom_control Zoom control Enum {“range”:[“0”,“1”]}
decibel_sensitivity Sound detection sensitivity Enum {“range”:[“0”,“1”]}
record_mode Video recording mode Enum {“range”:[“1”,“2”]}
basic_nightvision IR night vision Enum {“range”:[“0”,“1”,“2”]}
basic_anti_flicker Anti-flicker Enum {“range”:[“0”,“1”,“2”]}
ptz_control PTZ control Enum {“range”:[“0”,“1”,“2”,“3”,“4”,“5”,“6”,“7”]}
motion_interval Alarm interval Enum {“range”:[“1”,“3”,“5”]}
motion_sensitivity Motion detection sensitivity Enum {“range”:[“0”,“1”,“2”]}
flight_bright_mode Brightness mode Enum {“range”:[“0”,“1”]}
pir_sensitivity PIR sensitivity Enum {“range”:[“0”,“1”,“2”]}

ipc_work_mode

IPC working mode:

  • 0: low power mode
  • 1: continuous working mode

Code example:

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

zoom_control

Zoom control:

  • 0: decrease the focal length
  • 1: increase the focal length

decibel_sensitivity

The sensitivity of the sound detection alarm switch:

  • 0: low sensitivity
  • 1: high sensitivity

record_mode

Video recording mode:

  • 1: record videos for events (motion is detected and then recorded to SD card)
  • 2: continuous recording

basic_nightvision

IR night vision setting:

  • 0: auto
  • 1: off
  • 2: on

basic_anti_flicker

Anti-flicker setting

  • 0: disable
  • 1: 50 Hz
  • 2: 60 Hz

ptz_control

PTZ setting:

  • 0: up
  • 1: upper right
  • 2: right
  • 3: lower right
  • 4: down
  • 5: lower left
  • 6: left
  • 7: upper left

motion_interval

The alarm interval in minutes. Enumeration value. The corresponding minute option is displayed according to the enumeration value.

  • 1: 1 minute
  • 3: 3 minutes
  • 5: 5 minutes

motion_sensitivity

Motion detection sensitivity:

  • 0: low sensitivity
  • 1: medium sensitivity
  • 2: high sensitivity

flight_bright_mode

Brightness mode:

  • 0: manual mode
  • 1: automatic mode

pir_sensitivity

PIR sensitivity:

  • 0: low sensitivity
  • 1: medium sensitivity
  • 2: high sensitivity

Support reporting instructions to the cloud only

Code Name Data type Value constraint
wireless_electricity Battery capacity Integer {“min”:0,“max”:100,“scale”:0,“step”:1}
wireless_powermode Power supply Enum {“range”:[“0”,“1”]}
sensor_humidity Humidity Integer {“min”:0,“max”:100,“scale”:0,“step”:1}
sensor_temperature Temperature Integer {“min”:0,“max”:50,“scale”:0,“step”:1}
sd_format_state Formatting status Integer {“min”:-20000,“max”:100,“scale”:0,“step”:1}
sd_status SD card status Integer {“min”:1,“max”:5,“scale”:0,“step”:1}
sd_storge Get the capacity of SD card String {“maxlen”:255}

wireless_powermode

Power supply:

  • 0: Battery
  • 1: utility power (or battery is being charged)

sd_format_state

Formatting status:

Note: A positive value indicates the formatting progress, and a negative value indicates a specific error code.

  • 0–100: If the value is from 0 to 100, it means the current formatting progress.
  • -2000: the SD card is being formatted.
  • -2001: the SD card formatting exception.
  • -2002: no SD card.
  • -2003: SD card error.

sd_status

The current status of the SD card:

  • 1: normal
  • 2: exception
  • 3: no enough space
  • 4: formatting
  • 5: no SD card

sd_storge

SD card capacity in kb.

  • The first string: total capacity
  • The second string: used capacity
  • The third string: remaining capacity

Format example: 3503775744|778977280|2718158848