Skip to main content

Simplyprint.io connector for 3D printers running Duet firmware.

Project description

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.

Minimum supported RepRapFirmware version: 3.5.4

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

Camera support uses the simplyprint-ws-client camera system with an HttpCameraProtocol that handles both single JPEG snapshot endpoints and multipart MJPEG streams.

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/Meltingplot/duet-simplyprint-connector/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"
    }
]

Usage of Meltingplot Duet Simplyprint Connector

  • Create a configuration with simplyprint autodiscover

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

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

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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meltingplot_duet_simplyprint_connector-1.4.1.tar.gz (92.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file meltingplot_duet_simplyprint_connector-1.4.1.tar.gz.

File metadata

File hashes

Hashes for meltingplot_duet_simplyprint_connector-1.4.1.tar.gz
Algorithm Hash digest
SHA256 0e435f63d9cbf4429332407ff35deb86c62a2375e1af9ae21422d2e78543f177
MD5 6a72f43830b95004f44d0fc25bb6418e
BLAKE2b-256 8f8f0f4359d6b09c073ec224b3c24b9a02bf2669505dbfbf263bd9896c3dc01a

See more details on using hashes here.

Provenance

The following attestation bundles were made for meltingplot_duet_simplyprint_connector-1.4.1.tar.gz:

Publisher: python-publish.yml on Meltingplot/duet-simplyprint-connector

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file meltingplot_duet_simplyprint_connector-1.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for meltingplot_duet_simplyprint_connector-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ac792f3134ee1300ba8a9b6c0a5267de6e2ba1de93bca82822f2d4591700f4e4
MD5 66debd6f55ee316cfde742b0c74515bb
BLAKE2b-256 05c12f2d50c8e85ee283fa2efdf1252daf6e95272c9801222359efdfd43bb537

See more details on using hashes here.

Provenance

The following attestation bundles were made for meltingplot_duet_simplyprint_connector-1.4.1-py3-none-any.whl:

Publisher: python-publish.yml on Meltingplot/duet-simplyprint-connector

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page