enable turning clips on and off via mqtt

This commit is contained in:
Blake Blackshear
2020-12-23 08:54:08 -06:00
parent 80a5a7b129
commit e5399ae07a
4 changed files with 45 additions and 10 deletions

View File

@@ -119,7 +119,7 @@ class FrigateApp():
self.flask_app = create_app(self.config, self.db, self.camera_metrics, self.detectors, self.detected_frames_processor)
def init_mqtt(self):
self.mqtt_client = create_mqtt_client(self.config.mqtt)
self.mqtt_client = create_mqtt_client(self.config)
def start_detectors(self):
model_shape = (self.config.model.height, self.config.model.width)