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.0.tar.gz (92.1 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.0.tar.gz.

File metadata

File hashes

Hashes for meltingplot_duet_simplyprint_connector-1.4.0.tar.gz
Algorithm Hash digest
SHA256 0235b5d64b3ad2cce50a74d509389c25f23a69b01dbe8bc5fd149ce3883e3a89
MD5 cf174a8e1cee920f7cf4e2165bf8d4ae
BLAKE2b-256 07023682f5dba8af61e3c491e8fec4335a593eead554c528c6da1009ad4434cc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for meltingplot_duet_simplyprint_connector-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1e5965a5733f0c28d82ec9c51c839b9b26967f10bd852443dfd7a87008657e79
MD5 74013328b75bc66b438ec5572344a379
BLAKE2b-256 1a9cb45ed9dbbc9be00d92cb6483328b7b757173b6a7aa4cf46771fd0e1c2b14

See more details on using hashes here.

Provenance

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