Depends on the motion sensor if that's possible. X10 MS series (e.g., MS16A) will send an ON command every time motion is seen which could be on the order of ~5 seconds. It keeps sending the ON command ever time and there is no way to control this. You can tell it how long to wait to send the OFF command, which is only sent once.