Frigate icon

Frigate

Control Frigate over its real-time /ws API

Set Snapshots

AI-generated

Summary

Turn snapshots on or off for a Frigate camera by publishing the selected value to its /snapshots/set WebSocket topic. Optionally wait for the matching /snapshots/state read-back and report whether it confirms the requested value.

Inputs

  • Camera (required) — Camera name as configured in Frigate; used to form the topic <camera>/snapshots/set.
  • Value (required) — Choose ON or OFF for snapshot capture.
  • Await State Confirmation — When enabled, keep the WebSocket open after publishing and wait for the camera’s /snapshots/state message.
  • Confirmation Timeout (Ms) — Wait duration in milliseconds for the read-back, from 0 to 600000; shown when state confirmation is enabled. Defaults to 5000 ms.

Output shape

One output item per input item, containing operation details as JSON.

Without confirmation, the output includes operation, topic, payload, and published: true. With confirmation enabled, it also includes received, confirmed, stateTopic, and stateValue; a timeout yields received: false, confirmed: false, and stateValue: null. The node sends the change over Frigate’s /ws API using its configured credentials.

Links

Discussion