bosch_camera_darkness_threshold_set
Adjust the day/night darkness threshold and/or soft light fading for Gen2 Bosch cameras. Set a specific brightness percent or enable fading to control when the camera switches modes.
Instructions
Set the day/night lighting threshold and/or fading mode. Gen2 cameras only.
At least one of threshold_percent (0-100) or soft_light_fading must
be provided; the other field is preserved from the camera's current setting.
API: PUT /v11/video_inputs/{id}/lighting Body: {"darknessThreshold", "softLightFading"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| camera | Yes | ||
| soft_light_fading | No | ||
| threshold_percent | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| soft_light_fading | Yes | Whether lights fade smoothly (True) or snap on/off (False) | |
| threshold_percent | Yes | Ambient-darkness trigger threshold, 0=always day .. 100=always night |