Glad that the switch to 5V made the interrupt operational. ![]()
Since the output of the sensor is sensitive to ambient light levels, adding the comparator is still a good idea. And you can add some hysteresis to the comparator with a feedback resistor circuit. This will prevent the interrupt from false triggering if the light levels are changing slowly.