Frigate icon

Frigate

Control Frigate over its real-time /ws API

Set Motion Contour Area

AI-generated

Summary

Set a Frigate camera’s minimum motion contour size by publishing the configured integer to its motion contour area topic. Optionally wait for a state read-back to check whether the value matches.

Inputs

  • Camera (required) — Camera name as configured in Frigate.
  • Contour Area (required) — Integer from 0 to 10000; default is 10. Frigate counts motion contours at or above the configured minimum size.
  • Await State Confirmation — Defaults to false. When enabled, waits for the camera’s state read-back after publishing.
  • Confirmation Timeout (Ms) — Shown when confirmation is enabled. How long to wait, from 0 to 600000 ms; default is 5000 ms.

Output shape

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

Publishes the contour area as a string to <camera>/motion_contour_area/set. Confirmation listens for <camera>/motion_contour_area/state; confirmed is true only when a read-back arrives and its value matches. If no read-back arrives before the timeout, received and confirmed are false and stateValue is null.

Links

Discussion