making motion_detection aggregate motion over 30 frames before publishing
clustering, timing, and tuning