mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-11 02:47:37 +03:00
33 lines
742 B
TypeScript
33 lines
742 B
TypeScript
import type { SectionConfigOverrides } from "./types";
|
|
|
|
const motion: SectionConfigOverrides = {
|
|
base: {
|
|
fieldOrder: [
|
|
"enabled",
|
|
"threshold",
|
|
"lightning_threshold",
|
|
"improve_contrast",
|
|
"contour_area",
|
|
"delta_alpha",
|
|
"frame_alpha",
|
|
"frame_height",
|
|
"mask",
|
|
"mqtt_off_delay",
|
|
],
|
|
fieldGroups: {
|
|
sensitivity: ["enabled", "threshold", "contour_area"],
|
|
algorithm: ["improve_contrast", "delta_alpha", "frame_alpha"],
|
|
},
|
|
hiddenFields: ["enabled_in_config", "mask", "raw_mask"],
|
|
advancedFields: [
|
|
"lightning_threshold",
|
|
"delta_alpha",
|
|
"frame_alpha",
|
|
"frame_height",
|
|
"mqtt_off_delay",
|
|
],
|
|
},
|
|
};
|
|
|
|
export default motion;
|