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

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.5.0rc2.tar.gz.

File metadata

File hashes

Hashes for meltingplot_duet_simplyprint_connector-1.5.0rc2.tar.gz
Algorithm Hash digest
SHA256 c5242ac30d01f65fc89c7d1671379491523072857b638a7a4ea097cee24c59c5
MD5 3309e2563794eedc49dad6764f6ed48d
BLAKE2b-256 898f6a21b6f6651546ea5950a5ce7b2b596a1e35871baf72128bf361fddb97b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for meltingplot_duet_simplyprint_connector-1.5.0rc2.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.5.0rc2-py3-none-any.whl.

File metadata

File hashes

Hashes for meltingplot_duet_simplyprint_connector-1.5.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 dd8aa2f9267f879400c0862b071a0f96a9e9788742fa99a0b563cb6590caef8f
MD5 6099099d97eb41fc65a2c310ea8eff25
BLAKE2b-256 7d24b42301592b219fa8f2b0e38c2cb48c9b25493ae663f23abefe3910b3f6ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for meltingplot_duet_simplyprint_connector-1.5.0rc2-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