Frigate icon

Frigate

Control Frigate over its real-time /ws API

Set Improve Contrast

AI-generated

Summary

Set Frigate’s motion contrast improvement for a specified camera to ON or OFF by publishing the value to that camera’s /improve_contrast/set topic over the Frigate WebSocket API. Optionally wait for the matching state broadcast and report whether it confirms the requested value.

Inputs

  • Camera (required) — Camera name as configured in Frigate.
  • Value (required) — ON or OFF; defaults to ON.
  • Await State Confirmation — When enabled, wait for a read-back on the camera’s /improve_contrast/state topic; defaults to false.
  • Confirmation Timeout (Ms) — How long to wait for the state read-back, from 0 to 600000 ms; shown when confirmation is enabled and defaults to 5000 ms.

Output shape

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

A timeout returns received=false, confirmed=false, and stateValue=null; confirmation compares the returned value with the requested ON/OFF value.

Links

Discussion