Raspberry creates photos when motion detected