distance between magnet and sensor is critical, 50/1000 inches works well