Motion sensor help

Please read the sticky post which includes information on how to correctly format your post.