NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
onvif: use preset token if name is unsupported (#8046)
Josh Hawkins67a5a7d21a12
diff --git a/frigate/ptz/onvif.py b/frigate/ptz/onvif.pyindex 32e55b748f..7ab13b9e9c 100644--- a/frigate/ptz/onvif.py+++ b/frigate/ptz/onvif.py@@ -175,7 +175,9 @@ class OnvifController:presets = []for preset in presets:- self.cams[camera_name]["presets"][preset["Name"].lower()] = preset["token"]+ self.cams[camera_name]["presets"][+ preset.get("Name", f"preset {preset['token']}").lower()+ ] = preset["token"]# get list of supported featuresptz_config = ptz.GetConfigurationOptions(request)