I am running Octoprint manually on my Rpi4 which also runs Pihole/PiVPN. Since this isn't an image, I had to configure the webcam differently and did not work out of the box. I run the following script to manually start the camera in terminal
cd mjpg-streamer/mjpg-streamer-experimental ./mjpg_streamer -i "./input_uvc.so" -o "./output_http.so"
This turns on the camera and it works fine but the focus is off and I was trying to turn off the autofocus based on a guide (linked below). however, when I run the code I do not get the camera's focus to change.
sudo v4l2-ctl --set-ctrl=focus_auto=0 unknown control 'focus_auto'
Focus Issue - Screenshot by Lightshot
What is the problem?
I have a few errors when I try to turn off auto exposure as seen in these instructions: [Octoprint] Configure an USB webcam - Myzhar's MyzharBot and more...
What did you already try to solve it?
sudo uvcdynctrl -s 'Exposure, Auto' 1
sudo uvcdynctrl -s 'White Balance Temperature, Auto' 0
sudo v4l2-ctl --set-ctrl=focus_auto=0
**Additional information about your setup** (OctoPrint version, OctoPi version, ...) * <small>OctoPrint 1.5.3</small> * <small>Python 3.7.3</small> RPi4[octoprint.log|attachment](upload://7pizSsg5eZaP8ms2FC5EkySYnRN.log) (126.3 KB) Logs attached. I see errors but not sure what they mean.[octoprint.log|attachment](upload://7pizSsg5eZaP8ms2FC5EkySYnRN.log) (126.3 KB)