Use wire from I2 terminal on Nano Controller (usually black color). This wire comes from the yellow infrared occupancy sensor.

ပုံရိပ်
Occupancy to IR2 input