diff --git a/www/schema.json b/www/schema.json index 61c513a5..013712bc 100644 --- a/www/schema.json +++ b/www/schema.json @@ -338,12 +338,13 @@ "default": false }, "motion": { - "description": "Motion detection mode for HKSV: `api` (triggered via HTTP API), `continuous` (always report motion), or `detect` (automatic detection based on P-frame size analysis)", + "description": "Motion detection mode for HKSV: `api` (triggered via HTTP API), `continuous` (always report motion), `detect` (automatic detection based on P-frame size analysis), or `onvif` (use ONVIF event subscription from the camera)", "type": "string", "enum": [ "api", "continuous", - "detect" + "detect", + "onvif" ], "default": "api" }, @@ -352,6 +353,15 @@ "type": "number", "default": 2.0 }, + "motion_hold_time": { + "description": "Duration in seconds to keep motion active after the last trigger. Used with `onvif` mode to ensure Home Hub has enough time to start recording.", + "type": "number", + "default": 30 + }, + "onvif_url": { + "description": "ONVIF device URL for motion detection. If not set, auto-detected from `onvif://` stream sources.", + "type": "string" + }, "speaker": { "description": "Include Speaker service for 2-way audio (talk through the camera). Only enable if your camera has a physical speaker.", "type": "boolean",