Add 3rd Party Webcams into Mainsail
⚠️ This is Experimental! No support will be provided! Expect performance degradations while using third-party webcams on your machine. ⚠️
The machine will most likely only accept USB webcams that do not require additional drivers.
Tested Webcams:
- EMEET Full HD Webcam - C960 1080P ✅
Adding a USB Webcam to Mainsail¶
-
Connect your webcam via USB to the printer.
-
Reboot the printer after connecting the cable.
-
SSH into the machine using the standard credentials:
-
Use the command
dmesg | grep -i usb
to check if your webcam is initialized.You should see a list of connected USB devices. Look for the vendor of your webcam. In my case, it is Deepstech.
Configuring the Webcam in Mainsail¶
-
Open the Device Tab in OrcaSlicer.
-
Access your Mainsail WebUI, which should look similar to this:
-
Click the Settings Icon in the Mainsail UI and scroll down to the Webcam Section.
-
You will see the printer's internal webcam. Update the URLs for the Webcam Stream and Snapshot functions.
/webcam/
is always the internal webcam. Try/webcam1/
, and if that doesn't work, increment the number up to/webcam3/
.Eventually, you should see the webcam feed from the connected USB webcam, which will look like this:
-
Use the "Adaptive MJPEG-Streamer (experimental)" service and click "Save Webcam".
-
Switch to your Dashboard and set the webcams to "All." You should now see both webcams working.
Note
Do not use the stream option! It will spike your CPU usage. ⚠️
🎉 You have successfully added a webcam! Happy Printing! 😃