From 395878ee9fe064c85de4382191410a58d1a5acc3 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Sun, 20 Feb 2022 07:51:14 -0700 Subject: [PATCH] Remove randome copy from rebase --- frigate/object_processing.py | 11 ----------- frigate/stats.py | 21 --------------------- 2 files changed, 32 deletions(-) diff --git a/frigate/object_processing.py b/frigate/object_processing.py index 22457629a..37d45e127 100644 --- a/frigate/object_processing.py +++ b/frigate/object_processing.py @@ -880,17 +880,6 @@ class TrackedObjectProcessor(threading.Thread): ) ) - # send info on this frame to the recordings maintainer - self.recordings_info_queue.put( - ( - camera, - frame_time, - tracked_objects, - motion_boxes, - regions, - ) - ) - # update zone counts for each label # for each zone in the current camera for zone in self.config.cameras[camera].zones.keys(): diff --git a/frigate/stats.py b/frigate/stats.py index af4d33095..bc92907cd 100644 --- a/frigate/stats.py +++ b/frigate/stats.py @@ -40,27 +40,6 @@ def read_temperature(path): return None -def get_temperatures(): - temps = {} - - # Get temperatures for all attached Corals - base = "/sys/class/apex/" - if os.path.isdir(base): - for apex in os.listdir(base): - temp = read_temperature(os.path.join(base, apex, "temp")) - if temp is not None: - temps[apex] = temp - - return temps - -def read_temperature(path): - if os.path.isfile(path): - with open(path) as f: - line = f.readline().strip() - return int(line) / 1000 - return None - - def get_temperatures(): temps = {}