Add motion detection support