add comment

This commit is contained in:
Nick Mowen 2022-04-26 18:56:06 -06:00
parent 18b735d8d8
commit 76a7386335

View File

@ -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,