siren_play
Trigger a siren on a UniFi Protect device to sound a physical alarm. Supply host and siren ID, set confirm to true, and choose optional duration of 5, 10, 20, or 30 seconds.
Instructions
Sound a siren (POST /v1/sirens/{id}/play). WARNING: physical alarm sound.
host: console name, ID, or composite ID (MAC:numericId format).
siren_id: REQUIRED. Obtain it from list_sirens (its id field).
confirm: must be true to execute. duration: seconds (5/10/20/30; defaults to 5
upstream). Governed by UNIFI_PROTECT_MUTATIONS_ENABLED.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| confirm | No | ||
| duration | No | ||
| siren_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||