mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 17:25:22 +03:00
add comment
This commit is contained in:
parent
18b735d8d8
commit
76a7386335
@ -879,6 +879,7 @@ class TrackedObjectProcessor(threading.Thread):
|
|||||||
frame_time, current_tracked_objects, motion_boxes, regions
|
frame_time, current_tracked_objects, motion_boxes, regions
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# publish if motion is currently being detected
|
||||||
self.client.publish(
|
self.client.publish(
|
||||||
f"{self.topic_prefix}/{camera}/motion/detected",
|
f"{self.topic_prefix}/{camera}/motion/detected",
|
||||||
True if motion_boxes else False,
|
True if motion_boxes else False,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user