Magnetic Field Sensor?
The Hall effect doesn't depend on variations in the magnetic field (i.e., motion relative to the field or time-varying field), as far as I know, it only depends on the strength of the field, and the orientation relative to the sensor.

Alternately you could look into 'magnetic reed switches'.