I'm making a timelapse video with a Raspberry Pi and a Microsoft Lifecam HD-5000 webcam. Everything is working great except that I have to reset the camera every morning or I end up with totally white images. I think the light sensor gets stuck open overnight.
My image grabbing script runs every two minutes and uses fswebcam to take the pic. I'm using
luvcview to reset the camera in the morning, which isn't very elegant because it's not a command-line tool. It works, but I was wondering if there is a cleaner way. I've also tried using
sudo rmmod uvcvideo and then
sudo modprobe uvcvideo but that didn't work.