watch
Monitor a camera asynchronously until a condition such as motion, brightness change, or color is met, or timeout expires. Return status, timing, and before/after images.
Instructions
Asynchronously monitor the camera until a physical condition is met or timeout expires. Conditions: 'change', 'motion_start', 'motion_stop', 'brightness_above', 'brightness_below', 'color_present'. Returns fired status, timing, and before/after evidence images.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| camera | No | Camera ID | |
| region | No | Optional named region to watch | |
| condition | Yes | Condition to wait for | |
| threshold | No | Optional numeric threshold for the condition | |
| timeout_s | No | Maximum wait timeout in seconds (1-120) |