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

Missing features:

  • Duet auto discovery with tracking based on BoardID

  • 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
# see next section for content of config.json
simplyprint config new
vi ~/.config/SimplyPrint/DuetConnector.json
sudo ln -s ~/mp_duet_simplyprint_connector/venv/bin/simplyprint /usr/local/bin/simplyprint
sudo cp ~/mp_duet_simplyprint_connector/venv/simplyprint-connector.service /etc/systemd/system
# change service file to match user and group and working dir, e.g. tim tim /home/tim/mp_duet_simplyprint_connector
sudo vi /etc/systemd/system/simplyprint-connector.service
sudo systemctl enable simplyprint-connector.service
sudo systemctl start simplyprint-connector.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": "IP_OF_YOUR_DUET",
        "duet_password": "reprap",
        "webcam_uri": "http://URI_OF_WEBCAM_SNAPSHOT_ENDPOINT/snapshot"
    }
]

Usage of Meltingplot Duet Simplyprint Connector

  • Create a configuration with simplyprint config new

  • 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


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

File details

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

File metadata

File hashes

Hashes for meltingplot_duet_simplyprint_connector-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c2c1f24d4eb76a138cd9e1515dffbd2be404b804a044d60be149f957134f11dc
MD5 8ef53902d35fad6b7b6a4ba415295233
BLAKE2b-256 58bf650c71468f62a2421b3ad40a4711cb63b2ce9d80a64acc757423ef9b6c8f

See more details on using hashes here.

File details

Details for the file meltingplot.duet_simplyprint_connector-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for meltingplot.duet_simplyprint_connector-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 31cd9572bf7053518e8666104220827707b596a482bd0b4a53f081fe5fe16edf
MD5 cfe918e1c67ebd00b25ad55260fb94cb
BLAKE2b-256 2090ff96d162cfeb8b68c11a6a8e1936969ab4530fc334e4f4bb5eff4338b8e7

See more details on using hashes here.

Supported by

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