bosch_camera_audio_detection_set
Update glass-break and/or fire-alarm detection for a Bosch Gen2 camera. Sends both settings together to avoid silent API reset.
Instructions
Update glass-break and/or fire-alarm sound detection for one Gen2 camera.
Gen2 Audio-Plus-only feature — raises hardware_unsupported for Gen1
cameras. At least one of glass_break or fire_alarm must be provided.
Read-modify-write: the current config is fetched first, only the provided
field(s) are merged in, and both detectGlassBreak and detectFireAlarm
are always sent together on the PUT — Bosch's API silently resets whichever
field is omitted (same requirement as intrusionDetectionConfig).
Returns the updated {glass_break, fire_alarm} after write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| camera | Yes | ||
| fire_alarm | No | ||
| glass_break | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fire_alarm | No | Whether smoke/fire-alarm sound detection is enabled (Bosch API field 'detectFireAlarm') | |
| glass_break | No | Whether glass-break sound detection is enabled (Bosch API field 'detectGlassBreak') |