Dexi GPIO22 is always reading as true

Our dexi is always reading as true for the IR sensor even with nothing plugged into to the gpio22 port. Has anyone else experienced this? If so, how did you fix it?

That means it’s working properly. The receiver is open collector, which means we need to implement an internal pull-up resistor. See page 4 from the breakbeam sensor manual:

The receiver is open collector which means that you do need a pull up resistor. Most
microcontrollers have the ability to turn on a built in pull up resistor. If you do not,
connect a 10K resistor between the white wire of the receiver and the red wire.

So with the sensor not connected the value will be true. Once it’s connected it will be false and then when it detects a signal from the emitter it will be true.