list_cameras
list_cameras
Section titled “list_cameras”List every camera bonded to the Protect controller.
Side effects: None (read-only).
Returns one record per camera with id, name, model,
mac, host, state, isConnected, isDoorbell, plus
the nested recordingSettings, motionSettings, privacyMask,
and stats blocks the UniFi Protect API surfaces.
Example
Section titled “Example”list_cameras(controller="default")Parameters
Section titled “Parameters”| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
controller | string | no | ”default” | Name of the UniFi controller to target. Defaults to "default". |