Frigate icon

Frigate

Control Frigate over its real-time /ws API

Set PTZ Autotracker

AI-generated

Summary

Enable or disable PTZ autotracking for a Frigate camera by publishing the selected ON/OFF value to that camera’s PTZ autotracker topic.

Inputs

  • Camera (required) — Camera name as configured in Frigate.
  • Value (required) — Choose ON or OFF; ON is the default.
  • Await State Confirmation — When enabled, keep the WebSocket open and wait for the camera’s PTZ autotracker state read-back. Disabled by default.
  • Confirmation Timeout (Ms) — How long to wait for the read-back when confirmation is enabled. Defaults to 5000 ms; clamped to 0–600000 ms.

Output shape

A single n8n item per input item, with a JSON object describing the publish.

Without confirmation, the object contains operation, topic, payload, and published: true. With confirmation, it also contains received, confirmed, stateTopic, and stateValue. A timeout returns received: false, confirmed: false, and stateValue: null; it does not fail the operation.

Links

Discussion