added thread timer to allow motion logging to only happen on 15s intervals (at most)