If you wish for your lights to activate on/off within the close proximity of a person, this can be done. However, we strongly suggest that you avoid wiring the sensor to your Driver's 240V primary input (240V AC). This is because of an Inrush Current risk, which might trip your MCB.
Therefore, in order to avoid circuitry issues, we advise that you connect your sensor relay to 24V output of the LED power supply.
For more information about Inrush Current, please see our detailed guide.