Autotracking improvements (#17955)

* add zoom time to movement predictions

* config migrator

* add space to face rename regex

* more debug

* only calculate zoom time of relative move

* fix test

* make migrated movement weight a zero

* check for str and bool for movestatus support
This commit is contained in:
Josh Hawkins
2025-04-29 10:17:56 -06:00
committed by GitHub
parent e57dde7bb0
commit c91c6970de
5 changed files with 110 additions and 19 deletions
+2 -2
View File
@@ -63,9 +63,9 @@ class PtzAutotrackConfig(FrigateBaseModel):
else:
raise ValueError("Invalid type for movement_weights")
if len(weights) != 5:
if len(weights) != 6:
raise ValueError(
"movement_weights must have exactly 5 floats, remove this line from your config and run autotracking calibration"
"movement_weights must have exactly 6 floats, remove this line from your config and run autotracking calibration"
)
return weights