v3.7

Spyglass Webcam Server

Duet3D
Download v0.19.0

This plugin runs the Spyglass webcam streaming service as a DSF plugin ยท by Duet3D

Spyglass Plugin

Description

This plugin runs the Spyglass webcam streaming service as a DSF plugin. The main spyglass.conf file is accessible via 0:/sys/spyglass.conf.

Depending on your choice of camera, extra customizations may be required.

This plugin requires DSF >= 3.5 and Python >= 3.8 (i.e. Debian Bookworm or newer).

The WebRTC settings in spyglass.conf have no effect unless the python3-aiortc package is installed, which this plugin does not pull in. Without it, only the MJPEG stream and snapshot endpoints are served.

Setup in DWC

To configure this service in DWC, go to the Settings -> Webcam page and make the following changes:

  • Enable Show webcam feed
  • Set Image URL to http://[HOSTNAME]:8080/stream
  • Set Update interval to 0
  • Go to the Job -> Webcam page to see your live stream

For snapshots it is also possible to use http://[HOSTNAME]:8080/snapshot instead.

Build instructions

Create a ZIP file of every file in the src directory and make sure plugin.json is at the root level. Once created, the ZIP can be installed as a third-party plugin. If a Debian package is supposed to be generated, check out to the pkg/build.sh script.

Logging

Unfortunately this service outputs info and warning log messages even if the log level is initially set, so by default this plugin's configuration suppresses all the log messages and only sends them to the duetpluginservice journal log.

Checking the journald log (recommended way)

To view the log of the Spyglass service, open a Linux console (or connect over SSH) and run

journalctl -u duetpluginservice -f

Then restart the Spyglass Webcam Server plugin and look for potential errors.

Modify plugin manifest to see all messages in DWC

To see all the output messages from the Spyglass service directly in DWC, open plugin.json and set sbcOutputRedirected from false to true. Then build the plugin again and overwrite the existing installation. Once the plugin is restarted, all the log messages are written to the DWC console.

Details
1280 downloads
8 this week
GPL-3.0-only
Licence
2024-02-21
Listed since
spyglass
webcam
server

Listed plugins are made and maintained by third parties. Duet3D Plugin Repository(38 plugins, updated 2026-12-01, site v1.1.0, 9c088c6)