Capturing light data with light sensor plugin.