When sensor is connected, please set the Sensor Divider parameter so that the value will represent count of the active magnets. Usually it is 1 or 2 magnets.