Does OctoPi use the camera automatically?

Camera model
Raspberry Pi camera modul v1.3 (probably third party)

What is the problem?
Cannot manually take pictures with command raspistill -v -o test.jpg. The error is quite common but i have not been able to fix it. Since this error can appear when 2 processes attempt to use the camera i wonder if OctoPi has a process that uses the camera automatically, so there would be 2 processes in total wanting to use it.

What did you already try to solve it?

  • raspi-config -> enable camera
  • get all updates
  • rpi update (fimware update)
  • checked whether camera is correctly plugged in -> red light shines and raspbian detects the camera successfully

Logs (/var/log/webcamd.log, syslog, dmesg, ... no logs, no support)

"raspistill" Camera App (commit bab9bf8790cd Tainted)

Camera Name ov5647
Width 2592, Height 1944, filename test.jpeg
Using camera 0, sensor mode 0

GPS output Disabled

Quality 85, Raw no
Thumbnail enabled Yes, width 64, height 48, quality 35
Time delay 5000, Timelapse 0
Link to latest frame enabled  no
Full resolution preview No
Capture method : Single capture

Preview Yes, Full screen Yes
Preview window 0,0,1024,768
Opacity 255
Sharpness 0, Contrast 0, Brightness 50
Saturation 0, ISO 0, Video Stabilisation No, Exposure compensation 0
Exposure Mode 'auto', AWB Mode 'auto', Image Effect 'none'
Flicker Avoid Mode 'off'
Metering Mode 'average', Colour Effect Enabled No with U = 128, V = 128
Rotation 0, hflip No, vflip No
ROI x 0.000000, y 0.000000, w 1.000000 h 1.000000
mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
mmal: camera component couldn't be enabled
mmal: main: Failed to create camera component
mmal: Failed to run camera app. Please check for firmware updates

Additional information about your setup (OctoPrint version, OctoPi version, ...)
latest (fresh installation)
camera is connected to camera port (csi), not usb

I just got my 3D printer recently and im currently trying to setup Octoprint for it.

Yep - the cam is used automatically.
Enter sudo service webcamd stop to turn it off.

Ah that explains it! thank you very much :slight_smile:

1 Like