I would like to use my outside cameras for an (approximate) light sensor for home automation purposes. Someone posted a script but I just can't find the link anymore. Does someone have it?