Skip to main content

Simplyprint.io connector for 3D printers running Duet firmware.

Project description

This package provides a connector between a Duet based 3D printer and the Simplyprint.io cloud service.

The communication is using the Duet HTTP API. See https://github.com/Duet3D/RepRapFirmware/wiki/HTTP-requests for more details.

Status

This package is in an early stage of development. It is not yet feature complete and may contain bugs.

Supported features:

  • Printer registration

  • Printer status update

  • Webcam snapshot livestream

  • GCode receiving

  • File downloading

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

Missing features:

  • GCode Macros / Scripts

  • Device healts update

  • Bed leveling

  • Filament Sensor

  • PSU Control

  • GCode terminal

  • Receive messages from Printer in Simplyprint.io

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 simplyprint_ws_client@git+https://github.com/SimplyPrint/printer-ws-client.git@main
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

[
    {
        "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. Start the duet simplyprint connector. 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-0.0.4.tar.gz.

File metadata

File hashes

Hashes for meltingplot_duet_simplyprint_connector-0.0.4.tar.gz
Algorithm Hash digest
SHA256 ed12b7b736ae56da3072242841bb2aa076bc9729a895e403cd9ac2bac6f35218
MD5 b36c173c58c9899f4be43eaec11480bf
BLAKE2b-256 98ae8a76529dc09be2fccfb051966ace7eb85e48ceec88afd85167f53bbf2262

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for meltingplot.duet_simplyprint_connector-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 616d44ecec304960f8856b539c1b1f88f24293c6226ae75c4192a76d223e59cc
MD5 601ba4f41b024b0c8ae0157253d97b76
BLAKE2b-256 a77a47248a95a2ee53a2fa3c921f9f6aab14ed3b167859b8ed32a4b5f17287ba

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