You won't get enough pick up from the LED lead to give you a reliable operation, if you ramp up the sensitivity you will get switching from any electrical noise, so again it won't be reliable.