Frigate icon

Frigate

Control Frigate over its real-time /ws API

Set Per-Camera Notifications

AI-generated

Summary

Enable or disable notifications for one Frigate camera by publishing an ON or OFF command over Frigate’s WebSocket API. Optionally wait for the camera’s notification state read-back and return whether it matches the requested value.

Inputs

  • Camera (required) — Camera name as configured in Frigate; the command topic is <camera>/notifications/set.
  • Value (required) — Choose ON or OFF to enable or disable notifications for that camera.
  • Await State Confirmation — When enabled, wait for a matching message on <camera>/notifications/state after publishing the command.
  • Confirmation Timeout (Ms) — When awaiting confirmation, maximum wait in milliseconds (0–600000; default 5000).

Output shape

One n8n item per input item, with operation, topic, payload, and published fields; when awaiting state, also includes received, confirmed, stateTopic, and stateValue.

The state wait can time out because Frigate only confirms when it broadcasts a matching state message. A timeout still returns the item with received and confirmed false and stateValue null.

Links

Discussion