diff --git a/frigate/detectors/plugins/hailo10h.py b/frigate/detectors/plugins/hailo10h.py index d93074292..f03054707 100755 --- a/frigate/detectors/plugins/hailo10h.py +++ b/frigate/detectors/plugins/hailo10h.py @@ -401,10 +401,10 @@ class HailoDetector(DetectionApi): # ----------------- HailoDetectorConfig Class ----------------- # class HailoDetectorConfig(BaseDetectorConfig): - """Hailo-8/Hailo-8L detector using HEF models and the HailoRT SDK for inference on Hailo hardware.""" + """Hailo10H detector using HEF models and the HailoRT SDK for inference on Hailo hardware.""" model_config = ConfigDict( - title="Hailo-8/Hailo-8L", + title="Hailo-10H", ) type: Literal[DETECTOR_KEY] diff --git a/frigate/stats/util.py b/frigate/stats/util.py index 07b410ad2..e22f5c98f 100644 --- a/frigate/stats/util.py +++ b/frigate/stats/util.py @@ -123,6 +123,15 @@ def get_detector_temperature( if index < len(hailo_device_names): device_name = hailo_device_names[index] return hailo_temps[device_name] + elif detector_type == "hailo10h": + # Get temperatures for Hailo devices + hailo_temps = get_hailo_temps() + if hailo_temps: + hailo_device_names = sorted(hailo_temps.keys()) + index = detector_index_by_type.get("hailo10h", 0) + if index < len(hailo_device_names): + device_name = hailo_device_names[index] + return hailo_temps[device_name] elif detector_type == "rknn": # Rockchip temperatures are handled by the GPU / NPU stats # as there are not detector specific temperatures