Frigate icon

Frigate

Control Frigate over its real-time /ws API

Set Zone

AI-generated

Summary

Enable or disable a named zone for a Frigate camera by publishing the selected value to that zone’s /set topic over Frigate’s WebSocket API.

Inputs

  • Camera (required) — Camera name as configured in Frigate.
  • Value (required) — Select ON or OFF for the zone.
  • Zone Name (required) — Configured zone name.
  • Await State Confirmation — When enabled, wait for a read-back on the zone’s /state topic after publishing. Defaults to false.
  • Confirmation Timeout (Ms) — When confirmation is enabled, how long to wait for the read-back, from 0 to 600000 ms; defaults to 5000 ms.

Output shape

One output item per input item, with operation, topic, payload, and published fields; when confirmation is enabled, also includes received, confirmed, stateTopic, and stateValue.

Publishes to <camera>/zone/<zone_name>/set with the selected ON/OFF payload. Confirmation listens for <camera>/zone/<zone_name>/state; confirmed indicates whether the received value matches the requested value. A timeout yields received=false and stateValue=null. Errors stop execution unless Continue On Fail is enabled, in which case that item contains an error field.

Links

Discussion