update_siren
Update siren settings such as name, volume, or LED on UniFi Protect. Reads current state first and writes only if something differs.
Instructions
Update siren settings (PATCH /v1/sirens/{id}) with read-before/no-op/read-after.
host: console name, ID, or composite ID (MAC:numericId format).
siren_id: REQUIRED. Obtain it from list_sirens (its id field).
settings: fields to change (name, volume 1-100, ledSettings). No write when all match.
Governed by UNIFI_PROTECT_MUTATIONS_ENABLED.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| settings | Yes | ||
| siren_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||