This commit is contained in:
Josh Hawkins
2026-02-27 09:40:20 -06:00
parent 637a38fc0f
commit eecc00865d
9 changed files with 31 additions and 13 deletions
+1 -1
View File
@@ -786,7 +786,7 @@
"description": "Skip TLS verification and disable digest auth for ONVIF (unsafe; use in safe networks only)."
},
"autotracking": {
"label": "PTZ config",
"label": "Autotracking",
"description": "Automatically track moving objects and keep them centered in the frame using PTZ camera movements.",
"enabled": {
"label": "Enable Autotracking",
@@ -29,7 +29,7 @@
"description": "Score threshold used to change the classification state."
},
"save_attempts": {
"label": "Saved attempts",
"label": "Save attempts",
"description": "How many classification attempts to save for recent classifications UI."
},
"object_config": {
@@ -30,7 +30,7 @@
"description": "Minimum number of face recognitions required before applying a recognized sub-label to a person."
},
"save_attempts": {
"label": "Saved attempts",
"label": "Save attempts",
"description": "Number of face recognition attempts to retain for recent recognition UI."
},
"blur_confidence_filter": {
+1 -1
View File
@@ -22,7 +22,7 @@
"description": "Skip TLS verification and disable digest auth for ONVIF (unsafe; use in safe networks only)."
},
"autotracking": {
"label": "PTZ config",
"label": "Autotracking",
"description": "Automatically track moving objects and keep them centered in the frame using PTZ camera movements.",
"enabled": {
"label": "Enable Autotracking",
@@ -19,6 +19,11 @@ export const CameraMqttSection = createConfigSection({
hiddenFields: [],
advancedFields: ["height", "quality"],
overrideFields: [],
uiSchema: {
required_zones: {
"ui:widget": "zoneNames",
},
},
},
});
@@ -13,12 +13,25 @@ export const OnvifSection = createConfigSection({
"user",
"password",
"tls_insecure",
"autotracking",
"ignore_time_mismatch",
"autotracking",
],
hiddenFields: ["autotracking.enabled_in_config"],
advancedFields: ["tls_insecure", "autotracking", "ignore_time_mismatch"],
hiddenFields: [
"autotracking.enabled_in_config",
"autotracking.movement_weights",
],
advancedFields: ["tls_insecure", "ignore_time_mismatch"],
overrideFields: [],
uiSchema: {
autotracking: {
required_zones: {
"ui:widget": "zoneNames",
},
track: {
"ui:widget": "objectLabels",
},
},
},
},
});
@@ -7,12 +7,12 @@ export const TimestampSection = createConfigSection({
sectionPath: "timestamp_style",
i18nNamespace: "config/timestamp_style",
defaultConfig: {
fieldOrder: ["position", "format", "color", "thickness", "effect"],
fieldOrder: ["position", "format", "color", "thickness"],
fieldGroups: {
appearance: ["color", "thickness", "effect"],
appearance: ["color", "thickness"],
},
hiddenFields: ["enabled_in_config"],
advancedFields: ["thickness", "effect"],
advancedFields: [],
},
});