Site Navigation

Your Account

Choose Language

How to include a web camera image in Duet Web Control

Duet electronics does not support a directly-connected web camera. However, you can buy a suitable WiFi or Ethernet IP camera and then configure Duet Web Control to include an image from the camera on the Print page.

Important: You must choose a camera that has the facility to return a static JPEG image in response to a HTTP request. Not all IP cameras have this facility. Sadly, none of the major browsers supports including a RTSP camera video stream in a web page.

Generic setup instructions ¶ 

*Connect the camera to your WiFi or Ethernet network according to the manufacturer's instructions.

*Identify your camera's IP address and the HTTP port and URL that return a static JPEG image. You may find useful.

  • In Duet Web Control, go to Settings, User Interface. At the bottom right is the Webcam Integration panel. Configure the URL there.

Specific cameras ¶ 

Raspberry Pi with camera add-on ¶ 

This is known to work. You can use OctoPrint to host a video camera feed. However there is a lighter weight solution. Here is a summary of the process of installing MotionEyeOS on a RaspberryPi with a camera attached.

  • Find the IP address of your Raspberry Pi using app (e.g.
  • Visit that IP address in your web browser.
  • Click on the Person icon (in the upper left side of the page) and enter admin for the username, and left the password field blank. Then click the Login button.
  • Now would be a good time to use the menu button (in the upper left) to create your admin password, You also might even want to give your Pi a nice hostname by enabling the "advanced settings" option (e.g. 3dcam).

For more details on this setup process please visit!

Sannce I21AG ¶ 

  • Download and install the Sannce Cam app on your smartphone.
  • Connect the camera to your WiFi network using the smartphone app.
  • Use the app to configure an admin password and also a user-mode ID and password. The camera will reset and take a minute or two to connect again.
  • Download and run the Sannce search tool, Select your camera from the list, then it will show the IP address and port number to use.
  • Enter the following URL in the DWC webcam settings, substituting the IP address and port numbers you just found: http://''ip-address:port''/snapshot.cgi
  • Check "Do not append extra HTTP qualifier" (I don't know whether this matters or not).
  • You may wish to experiment with Webcam Update Interval - 0.1 seconds gives a decent video effect.
  • Your browser will ask for a login ID and password for the camera. Give it the user-mode ID and password and tell it to remember them.
  • To avoid your router possibly allocating a different IP address to the camera when it reconnects, if possible configure your router to make that IP address allocation permanent.
  • An alternative method (which may not be supported by all browsers) to using snapshot.cgi, is to use http://''ip-address:port/videostream.cgi?loginuse=YourUserName&loginpas=YourPassword''. This embeds a video stream directly from the camera in your browser.
  • Note - if you go to http://''ip-address:port''/index.htm and click on Videostream mode, you can use the motors onboard the camera to focus on various parts of your print.


Add Comment

View Statistics:

Past 24 Hours: 7

Past 7 Days: 103

Past 30 Days: 450

All Time: 3,568