bi_get_ptz_status
Retrieve PTZ status for a specific camera, including presets, active preset, brightness, contrast, IR mode, and power mode, to verify camera positioning and configuration.
Instructions
PTZ state for one camera. All fields BI returns are passed through (presets[], presetnum, brightness, contrast, irmode, powermode, talksamplerate). Adds two derived helpers: 'preset_map' = {N: description, ...} keyed by preset number (UI3 source: presets[] is 1-indexed by position; "(undefined)" and empty descriptions are dropped), and 'active_preset' = {num, description} when presetnum is set. Camera must have PTZ enabled in BI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | If true, return the raw Blue Iris JSON instead of the shaped view. | |
| camera | Yes | PTZ camera short name. Required. |