OctoPrint is free, open-source software that allows you to remotely control and monitor your 3D printer. You need a computing device to run OctoPrint (a Raspberry Pi is the most popular), which sends files right from your browser to your 3D printer. With a host of tools and plug-ins, OctoPrint makes your 3D printing experience and workflow better.
Of the many things you can use OctoPrint for, one feature that stands out is the capability of remotely monitoring your 3D prints via a webcam. OctoPrint supports a wide variety of webcams that connect to your Raspberry Pi, including the standard or high-quality Raspberry Pi cam. There are also lots of other plug-ins in OctoPrint that take advantage of a connected webcam.
In this article, we’ll be looking into all you need to know about connecting a webcam to your OctoPrint setup, including why you’d want to, the process, camera troubleshooting, and tweaking settings.
Before we go into how to set up your webcam, let’s look a bit closer at what an OctoPrint-webcam combo can offer.
OctoPrint has built-in time-lapse functionality, which includes the possibility to configure if snapshots are taken “On Z change” or after a specified amount of time, and you can set a minimum amount of time between snapshots and specify time-lapse frame rates.
It also allows for adding time to the end of the time-lapse by displaying the last snapshot for longer, although it should be noted that snapshots aren’t stabilized. This means that pictures will be taken when the printer is moving.
On the other hand, if you add a plug-in, you’ll have even more options to play around with. As a refresher, or in case this is the first time you’re reading about them, plug-ins are third-party features that can be added to OctoPrint to improve existing functionality or add completely new features.
To start off, there’s there Octolapse plug-in. This adds settings to control how a time-lapse is filmed and what triggers each snapshot. With this, snapshots are stabilized, given that pictures will be taken when the printer comes to a stop. It also allows you to adjust webcam settings such as brightness, contrast, saturation, sharpness, focus, white balance, zoom, pan, tilt, and more! We’ll get to these later.
Among the other popular plug-ins to enhance your webcam setup, you can find Fullscreen Webcam, which opens the webcam feed into full-screen mode and shows details about the print job, while MultiCam allows you to use more than one webcam on OctoPrint. And Camera Settings does exactly what it sounds like: it allows you to adjust the settings more easily for the webcam or camera connected to your Raspberry Pi.
The last, but definitely not the least, noteworthy aspect of an OctoPrint webcam setup is remote monitoring – one of the defining features of OctoPrint. You can monitor the progress and the status of your ongoing 3D print without being glued to your 3D printer. Plug-ins like Obico will even stop a print if it detects that something is wrong.
Now that we’ve gone over a few popular ideas to up your OctoPrint game, let’s see how to get started with a camera.
To set up a webcam with OctoPrint, you’ll need the following things:
While not necessary, there are some optional accessories that are good to have.
Installing OctoPi on your Raspberry Pi is the first step in the webcam setup process.
The next step in the OctoPi installation process is configuring it to work best with your webcam, which we’ll go over in the next section.
Once OctoPi’s up and running, it’s time to move to the webcam. Here’s how to configure OctoPrint to use the correct settings for your webcam.
camera_usb_options="-r 640x480 -f 15"
by removing the ‘#’ symbol in front of it.-r 640x480 -f 15
with the settings that are specific to your webcam model. You can look at the settings in the OctoPrint camera guide.camera_http_webroot=''./www"
camera_http_options=""
That’s it! If you’re having trouble, next we’ll go over some troubleshooting tips.
In theory, things should work. In practice, sometimes they fail. Here are some steps to follow in case your webcam doesn’t show up on OctoPrint:
If your webcam isn’t mounted right side up, there are three settings to alter how the webcam stream is viewed. By going to “Settings > Webcam & Timelapse”, you can flip the webcam horizontally, vertically, or rotate the webcam 90 degrees counter-clockwise.
Obico also has a good article on troubleshooting webcam issues in OctoPrint that you could check out if you’re still having problems.
If you’ve added Octolapse, there are a few settings that you can tweak to create better time-lapses.
As mentioned, Octolapse allows you to customize what triggers a snapshot during a time-lapse, what stabilization type you want, and other things. Changing the trigger and stabilization type to suit your preference can give you the time-lapse that you’re looking for.
License: The text of "OctoPrint Webcam Setup: How to Set Up Your Camera" by All3DP is licensed under a Creative Commons Attribution 4.0 International License.