When motion is detected, log the event in a spreadsheet.