alarm_hub_trigger_output
Trigger a UniFi alarm-hub output to activate or toggle connected hardware. Provide host, alarm hub ID, and output ID; set confirm=true to execute.
Instructions
Trigger an alarm-hub output (POST /v1/alarm-hubs/{id}/outputs/{outputId}/trigger).
WARNING: physically triggers alarm-hub output hardware.
host: console name, ID, or composite ID (MAC:numericId format).
alarm_hub_id: REQUIRED. Obtain it from list_alarm_hubs (its id field).
output_id: REQUIRED output identifier on that hub.
confirm: must be true to execute. enable: true on / false off (omit to toggle).
delay: ms before activating. duration: ms to stay active (0 = indefinite).
Governed by UNIFI_PROTECT_MUTATIONS_ENABLED.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| delay | No | ||
| enable | No | ||
| confirm | No | ||
| duration | No | ||
| output_id | Yes | ||
| alarm_hub_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||