Motion sensors are triggered by light changes ... they work the same way: You mount the sensor high up on a wall or on the ceiling and ask it for automation to use motion as a trigger.