Frigate icon

Frigate

Control Frigate over its real-time /ws API

Publish to Custom Topic

AI-generated

Summary

Publishes a custom topic and payload envelope to Frigate over its WebSocket API. Use the bare topic without the frigate/ prefix; Frigate does not echo /set command topics.

Inputs

  • Topic (required) — The topic to publish, without the frigate/ prefix (for example, front_door/detect/set).
  • Payload — Payload to publish; defaults to an empty string. JSON-formatted strings are normalized as JSON values, while scalar strings and numbers are sent bare.

Output shape

One output item per input item, containing a single JSON record.

The record includes operation, topic, the normalized payload, and published: true. The WebSocket session is closed after processing.

Links

Discussion