mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 04:05:26 +03:00
Log camera name and volume in addition to label and score when hearing sound
This commit is contained in:
parent
c5819478d3
commit
eeb7e61543
@ -211,7 +211,7 @@ class AudioEventMaintainer(threading.Thread):
|
||||
audio_detections = []
|
||||
|
||||
for label, score, _ in model_detections:
|
||||
logger.debug(f"Heard {label} with a score of {score}")
|
||||
logger.debug(f"Heard {label}; camera: {self.config.name}, score: {score}, volume: {rms}")
|
||||
|
||||
if label not in self.config.audio.listen:
|
||||
continue
|
||||
|
||||
Loading…
Reference in New Issue
Block a user