Frigate icon

Frigate

Control Frigate over its real-time /ws API

Set Audio Detection

AI-generated

Summary

Set audio detection ON or OFF for a named Frigate camera by publishing to its /audio/set topic over the Frigate WebSocket API.

Inputs

  • Camera (required) — The camera name as configured in Frigate; used to form the topic <camera>/audio/set.
  • Value (required) — Choose ON or OFF. This value is sent as the command payload.
  • Await State Confirmation — When enabled, keep the socket open and wait for a message on <camera>/audio/state after publishing.
  • Confirmation Timeout (Ms) — How long to wait for the state message when confirmation is enabled; defaults to 5000 ms and is clamped to 0–600000 ms.

Output shape

One output item per input item, containing a JSON object.

Without confirmation, the object includes operation, topic, payload, and published: true. With confirmation, it also includes received, confirmed, stateTopic, and stateValue; a timeout returns received: false, confirmed: false, and stateValue: null. Connection and publish errors fail the operation unless Continue On Fail is enabled, in which case an error item is returned.

Links

Discussion