You need the IR-Sensor, and a little circuit.
I will upload the Files soon.
The Link for the IR-Sensor: EVL ITR9608-F: Gabelkoppler, 0,4 V, 20 mA bei reichelt elektronik
The author marked this model as their own original creation.