{ "label": "Motion detection", "description": "Default motion detection settings applied to cameras unless overridden per-camera.", "enabled": { "label": "Enable motion detection", "description": "Enable or disable motion detection globally; per-camera settings can override this." }, "threshold": { "label": "Motion threshold", "description": "Pixel difference threshold used by the motion detector; higher values reduce sensitivity (range 1-255)." }, "lightning_threshold": { "label": "Lightning threshold", "description": "Threshold to detect and ignore brief lighting spikes (lower is more sensitive, values between 0.3 and 1.0)." }, "improve_contrast": { "label": "Improve contrast", "description": "Apply contrast improvement to frames before motion analysis to help detection." }, "contour_area": { "label": "Contour area", "description": "Minimum contour area in pixels required for a motion contour to be counted." }, "delta_alpha": { "label": "Delta alpha", "description": "Alpha blending factor used in frame differencing for motion calculation." }, "frame_alpha": { "label": "Frame alpha", "description": "Alpha value used when blending frames for motion preprocessing." }, "frame_height": { "label": "Frame height", "description": "Height in pixels to scale frames to when computing motion (useful for performance)." }, "mask": { "label": "Mask coordinates", "description": "Ordered x,y coordinates defining the motion mask polygon used to include/exclude areas." }, "mqtt_off_delay": { "label": "MQTT off delay", "description": "Seconds to wait after last motion before publishing an MQTT 'off' state." }, "enabled_in_config": { "label": "Original motion state", "description": "Indicates whether motion detection was enabled in the original static configuration." }, "raw_mask": { "label": "Raw Mask" } }