More fswebcam
I finished setting up Watchdog and decided to test it by unplugging the camera. Watchdog should detect no image captured after ten minutes and reboot the Pi. And, hooray, it works.
However, in the midst of that I was surprised to see that fswebcam returns 0 even when there is no camera. However, I shouldn't have been surprised because I raised the issue almost exactly five years ago: fswebcam returns zero even on error.
So, it looks like I need to build fswebcam after all.
Edit: ==========
Oddly, I was unable to download the source from here: https://github.com/fsphil/fswebcam
curl should have worked, but didn't. So, I used curl to download the source to a MacBook and then used scp to copy the source to the Pi. I was able to build it with no problems. It's working fine.
Well, I thought about it and will continue posting.I'll think about it. As I said, I'm almost done
I finished setting up Watchdog and decided to test it by unplugging the camera. Watchdog should detect no image captured after ten minutes and reboot the Pi. And, hooray, it works.
However, in the midst of that I was surprised to see that fswebcam returns 0 even when there is no camera. However, I shouldn't have been surprised because I raised the issue almost exactly five years ago: fswebcam returns zero even on error.
So, it looks like I need to build fswebcam after all.
Edit: ==========
Oddly, I was unable to download the source from here: https://github.com/fsphil/fswebcam
curl should have worked, but didn't. So, I used curl to download the source to a MacBook and then used scp to copy the source to the Pi. I was able to build it with no problems. It's working fine.
Statistics: Posted by Ratsima — Sat Nov 16, 2024 8:17 am