Has someone done this? Any ideas on how it might be possible? I was thinking about installing a light sensor outside but why do that when I should be able to pull an image from a security camera and figure it out
@bbrendon I think you will really struggle. The camera’s image will be nonlinear as it will automatically adjust the exposure. I see no way to calibrate the image’s brightness to actual brightness.
Good point. It appears I can set the shutter, exposure, etc statically in the URL to work around these issues for the camera but that should also have an effect on the recording. Hmm.
If you are able to set the image parameters to be static then you would overcome some of the issues but not all of them. You may still struggle as the sensor temperature is not stabilized so will very it’s reported luminosity with temperature. I’ve worked with peltier cooled CCD photometers which overcome this issue by cooling the sensor to a constant temperature (around 5 degree Celsius) Essentially you are trying to create a photometer with a CCTV camera. When looking for more information I would suggest using the words like for photometer, which may help find more information.
I threw together a quick shell script using imagemagick and made a command line sensor to see what will happen. Here is what I have so far. It’s cloudy right now.