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)
Self Upgrading VIA G-Code M997
Device healts update
Bed leveling
Missing features:
Duet auto discovery with tracking based on BoardID
Filament Sensor
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
[
{
"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
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
File details
Details for the file meltingplot_duet_simplyprint_connector-0.0.22.tar.gz
.
File metadata
- Download URL: meltingplot_duet_simplyprint_connector-0.0.22.tar.gz
- Upload date:
- Size: 45.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fbe8569621eaba473416b5e05e442a423baa3ecccd537f9a955e1036bea4e92 |
|
MD5 | b63166e7dc7395c34f6019a2cf32cb99 |
|
BLAKE2b-256 | afc228c8aeb46fd06405c649561f05d2cc748723e300bd309db132890b6df2a7 |
File details
Details for the file meltingplot.duet_simplyprint_connector-0.0.22-py3-none-any.whl
.
File metadata
- Download URL: meltingplot.duet_simplyprint_connector-0.0.22-py3-none-any.whl
- Upload date:
- Size: 25.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b6c7d9f499e9200036157b6fe2b3ac0e7caabd39c05483daa16171e64206416 |
|
MD5 | 4dc1ece236abaaa457d7552894c5e86f |
|
BLAKE2b-256 | 9d37d85269b169dbf50e470abccb19db5c790f9bd5b13259bbec03d477f08f3d |