Frigate icon

Frigate

Control Frigate over its real-time /ws API

Set Recordings

AI-generated

Summary

Enables or disables recordings for a Frigate camera by publishing an ON or OFF value to that camera’s recordings setting. Optionally waits for Frigate’s state read-back and reports whether it matches the requested value.

Inputs

  • Camera (required) — Camera name as configured in Frigate.
  • Value (required) — Choose ON to enable recordings or OFF to disable them. Defaults to ON.
  • Await State Confirmation — When enabled, waits for the camera’s recordings state topic to publish a read-back after the setting is sent. Defaults to false.
  • Confirmation Timeout (Ms) — Maximum wait for the read-back, from 0 to 600000 ms; shown when confirmation is enabled. Defaults to 5000 ms.

Output shape

A single output item per input item, containing an operation result record.

The result includes the operation, published topic, payload, and published: true. With state confirmation enabled, it also includes received, confirmed, stateTopic, and stateValue. A timeout sets received and confirmed to false and stateValue to null; the WebSocket session closes after processing.

Links

Discussion