2.7、Algorithm Sensitivity Control

Control the sensitivity of the device AI detection

Supported Algorithm Types

Algorithm Name algorithm_type Description
Flame Alarm fire_alarm
Smoke Alarm smoke_alarm
Human Detection human_detection
Motion Detection human_movement
POSTProduction: https://open.eye4cloud.com/{{open_id}}/open/v1/device/sensitivity
Request Data
Field Name Required Type Description
device_id Yes string Device ID
timestamp Yes int64 Timestamp in seconds
nonce Yes string Random string, 8-20 characters
sign Yes string See "Sign Generation Examples" for the implementation details
password No string Device password; if omitted, the password registered for the device on the Open Platform is used
algorithm_type Yes string See the table above for algorithm types
sensitivity_type Yes string Sensitivity: 0=low, 1=medium, 2=high
data No string Device DATA; an empty string can be passed
imei No string Device IMEI; an empty string can be passed
CURL Request Example
CURL
curl 'https://open.eye4cloud.com/{{open_id}}/open/v1/device/sensitivity' \
  -H 'Content-Type: application/json' \
  --data-raw '{
    "device_id": "DEMO_DEVICE_001",
    "timestamp": 1758867195,
    "nonce": "",
    "sign": "",
    "password": "",
    "algorithm_type": "fire_alarm",
    "sensitivity_type":1
}'
Response Data
Field Name Type Description
error_code int Status code: 0 indicates success; other values indicate an error
error_message string Error message; success indicates a normal response
data object {}

Example:

JSON
{
    "error_code": 0,
    "error_message": "success",
    "error_tips": "",
    "data": {

    }
}