bi_audit_actions
Compare action-row configurations across cameras and surface outlier values for review. Grouped by type and description, the audit flags per-camera deviations worth confirming as intentional.
Instructions
Informational tool — surfaces cross-camera action-row outliers for user review. Walks every camera's .reg export, buckets action rows into cohorts by (type, description, type-specific key), and reports fields where one camera's value deviates from the cohort's modal value under 'outliers'. Per-camera path tokens (e.g. 'ai/SecCam_3/motion') are templated to '' before comparison so legitimate per-camera substitution doesn't false-positive. The 'enabled' field is reported separately under 'disabled_outliers' so a row left disabled by accident is easy to spot. Outliers are NOT necessarily bugs — they may be intentional per-camera customizations (e.g. one camera filtering different trigger sources, or running a narrower profile set). Present findings to the user as 'values worth confirming' and ask whether each is intentional. Pure read; no live BI connection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | If true, return the raw Blue Iris JSON instead of the shaped view. | |
| hook | No | Which hook(s) to audit: 'on_trigger', 'on_reset', or 'both' (default). | |
| cameras | No | Optional list of camera short names to audit. Defaults to every camera with a .reg export. | |
| min_cohort | No | Minimum cohort size before outliers are computed. Cohorts smaller than this are listed under 'unbucketed' for visibility but not analyzed. Default 3. |