Use a rangefinder instead of the PIR motion sensor