mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-10-18 07:29:45 +00:00
axelera: report Metis temperature only on the NPU card
The same board readout was surfaced twice on the System page: once as the detector temperature (get_hardware_temperatures) and once on the NPU card (npu_usages). Keep the NPU card, where the value belongs.
This commit is contained in:
parent
4e2e6bdc28
commit
5cd1350067
@ -484,11 +484,5 @@ def get_hardware_temperatures(detector_type: str) -> list[float | None]:
|
||||
elif detector_type == "hailo8l":
|
||||
hailo_temps = get_hailo_temps()
|
||||
return [hailo_temps[name] for name in sorted(hailo_temps.keys())]
|
||||
elif detector_type == "axelera":
|
||||
# Metis reports one board temperature through the SDK's axcmd tool
|
||||
board_temp = get_axelera_board_temp()
|
||||
|
||||
if board_temp is not None:
|
||||
return [board_temp]
|
||||
|
||||
return []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user