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.

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.3.11rc1.tar.gz.

File metadata

File hashes

Hashes for meltingplot_duet_simplyprint_connector-1.3.11rc1.tar.gz
Algorithm Hash digest
SHA256 d31dfb865c1ece8b4e10c84e50b90297e904fdc74ccf30743dee9f8f56f7a439
MD5 abe21beaf048665ffd1d55e565154750
BLAKE2b-256 ec649b1f8c23278057d736a58d7dcc5535f8ce9704afcd88b8fbf95476822d4d

See more details on using hashes here.

Provenance

The following attestation bundles were made for meltingplot_duet_simplyprint_connector-1.3.11rc1.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.3.11rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for meltingplot_duet_simplyprint_connector-1.3.11rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 a8891804ba4d3af070174457cf0ccb6b0989b75e6e4b697d377ed5a699950241
MD5 71ff565fc43d9cbcd8f9ff9c4ca91d6b
BLAKE2b-256 01576f39672037574fe0f2d3df24a6fc25267f87df331e4c99c4a4fea60d858c

See more details on using hashes here.

Provenance

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