Skip to main content

SimplyPrint Duet3d integration

Many thanks to Tim Schneider at https://github.com/Meltingplot/duet-simplyprint-connector/ for originally creating this integration and allowing us to use it.

This package acts as a bridge between Duet-based 3D printers and the SimplyPrint.io cloud service.

It communicates with the printer using the Duet HTTP API. For more information, visit https://github.com/Duet3D/RepRapFirmware/wiki/HTTP-requests.

Communication with SimplyPrint.io is handled via the simplyprint-ws-client.

Status

Supported features:

  • Printer registration

  • Printer status update

  • Webcam snapshots and MJPEG livestreaming via the simplyprint-ws-client camera pool

  • GCode receiving

  • File downloading

  • Printer control (start, pause, resume, cancel)

  • Self upgrading via G-Code M997

  • Device health update

  • Bed leveling

  • Filament sensor

  • Duet auto discovery with tracking based on BoardID

  • Leave a cookie on the printer to identify the printer in the future (0:/sys/simplyprint-connector.json)

  • Grab the webcam URL from DWC settings file from the printer

  • Webcam URL can be a snapshot endpoint or MJPEG stream

Missing features:

  • PSU Control

  • GCode Macros / Scripts [not yet implemented by SimplyPrint.io for Duet]

  • GCode terminal [not yet implemented by SimplyPrint.io for Duet]

  • Receive messages from Printer in SimplyPrint.io [not yet implemented by SimplyPrint.io for Duet]

Installation

Open an SSH session to your SimplyPrint-connected device, such as a Raspberry Pi 4B.

source <(curl -sSL https://raw.githubusercontent.com/simplyprint/integration-duet3d/refs/heads/main/install.sh)

Content of DuetConnector.json

The default password for the Duet is reprap, even if the web interface does not require a login.

[
    {
        "id": null,
        "token": null,
        "name": null,
        "in_setup": true,
        "short_id": null,
        "public_ip": null,
        "unique_id": "...",
        "duet_uri": "http://192.168.1.0",
        "duet_password": "reprap",
        "duet_unique_id": "YOUR_DUET_BOARD_ID",
        "duet_name": "YOUR_DUET_NAME",
        "webcam_uri": "http://URI_OF_WEBCAM_SNAPSHOT_ENDPOINT/webcam",
        "duet_om_include": null,
        "duet_om_exclude": null,
        "duet_om_frequent": null,
        "duet_poll_interval": null
    }
]

Object model polling options (all optional, null selects the built-in defaults):

  • duet_om_include: list of object model paths (e.g. "heat", "move.compensation") the connector is allowed to fetch. Anything outside these subtrees is never requested from the printer, which keeps M409 / rr_model traffic (and the DCS<->Duet SPI link in SBC mode) small. Use ["*"] to disable filtering and fetch the full object model. The paths seqs and state.status are always fetched on top of a custom list.

  • duet_om_exclude: list of paths that are never fetched, wins over duet_om_include.

  • duet_om_frequent: subtrees polled with the M409 “frequently” flag on every tick (default: heat, job, sensors.filamentMonitors, state). Only paths allowed by the include/exclude filter are polled.

  • duet_poll_interval: seconds between polls (default 1.0, minimum 0.1). Raise this to further reduce load on the printer.

Usage of Meltingplot Duet SimplyPrint Connector

  • Create a configuration with simplyprint-duet3d autodiscover

  • Optional Edit the configuration file ~/.config/SimplyPrint/DuetConnector.json

  • Start the duet simplyprint connector with simplyprint-duet3d start or systemctl start simplyprint-duet3d.service

  • Add the printer via the SimplyPrint.io web interface.

Metadata

Release files for simplyprint-duet3d 1.5.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simplyprint-duet3d 1.5.7
File Size Uploaded Provenance Actions
simplyprint_duet3d-1.5.7.tar.gz 52.0 kB Without provenance Details for simplyprint_duet3d-1.5.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for simplyprint-duet3d 1.5.7
File Interpreter ABI Platform Actions
simplyprint_duet3d-1.5.7-py3-none-any.whl Python 3 none any Details for simplyprint_duet3d-1.5.7-py3-none-any.whl

Total release size: 115.3 kB

Release files / simplyprint_duet3d-1.5.7.tar.gz

Download URL simplyprint_duet3d-1.5.7.tar.gz
Size 52.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9f6311d737341642817cc0a180061393677b1313786dba56d466d58c55c7e92f
BLAKE2b-256 checksum
How to use checksums
23cc7f981d1054996beff40ec0815b3a37b574053b597d1ca7d6c0165ca6ba4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / simplyprint_duet3d-1.5.7-py3-none-any.whl

Download URL simplyprint_duet3d-1.5.7-py3-none-any.whl
Size 63.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a54dbebaf1348f1b80e9eef2d242f6bc71742e938d2146856883aa5bf7c8ea4
BLAKE2b-256 checksum
How to use checksums
d79def1a791b991d77bdfddab445af721e7440dd952e46c515d6eb15b7020654
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Security for simplyprint-duet3d 1.5.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page