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.

Status

Supported features:

  • Printer registration

  • Printer status update

  • Webcam snapshot livestream

  • GCode receiving

  • File downloading

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

  • Self Upgrading VIA G-Code M997

  • Device healts 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

  • Allow Webcam URL to be an 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

sudo apt-get install git ffmpeg python3-venv gcc g++ make python3-dev
cd ~
mkdir mp_duet_simplyprint_connector
cd mp_duet_simplyprint_connector
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip setuptools wheel
pip install meltingplot.duet_simplyprint_connector
simplyprint autodiscover --password=reprap --ipv4-range=192.168.1.0/24 --ipv6-range=::1/128
simplyprint install-as-service

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.1rc7.tar.gz.

File metadata

File hashes

Hashes for meltingplot_duet_simplyprint_connector-1.3.1rc7.tar.gz
Algorithm Hash digest
SHA256 7d98f6d5d0e043fc609ae9ae7b4d65d5cbec51a601a89fdaf5bace5aadec0c61
MD5 c48953521541614445cec32279f26f07
BLAKE2b-256 477e89bd3a78547bb15435f9e43bfe09cfda56fc7e43b6fce28a1ec919cc481c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for meltingplot.duet_simplyprint_connector-1.3.1rc7-py3-none-any.whl
Algorithm Hash digest
SHA256 0d003fe39ae0b33a122bbb7245333b414ddc870b6e8f9403da21057223f29fe0
MD5 fca38549198a8c70c0ddb2f0eb867402
BLAKE2b-256 e146e28d528f38795810dfef35a9439dd9f1db535d7e87c9d8acf07bf3bd4fe3

See more details on using hashes here.

Provenance

The following attestation bundles were made for meltingplot.duet_simplyprint_connector-1.3.1rc7-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