Skip to content

Python script to automatically log prints on your Ultimaker 3D printer

Notifications You must be signed in to change notification settings

teeffelen/ultilogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ulti-Logger

A useful python script that automaticaly logs the onboard sensors on your Ultimaker 3D printer during prints.

Note: This is still a work-in-progress, suggestions and PR's are welcome!

Data points

  • Local UTC time on printer (requires internet for NTP)
  • Target and current bed temperature
  • Target and current nozzle temperature(s)
  • XYZ position of the print head
  • Flow sensor data (like filament used)
  • Layer height

Future features

  • Option to select which data points to log
  • Option to use system time instead of requesting time from printer
  • Write code to add data points more easiliy

Supported printers

Model Supported Comments
S5 Yes Works best using Ethernet
S3 ? Not tested yet
3 ? Not tested yet
2+ Connect ? Not tested yet

Dependencies

Using the script

Note: Some people have said that the WiFi connection drops out regularly during printing, it is recommend to connect using an Ethernet cable for best results.

  1. Download this repository
  2. Open a terminal in the src/ directory
  3. Type python ultilogger.py -h, this will display the help page to get you started

Example of running the ultilogger.py script in the terminal:

$ python ultilogger.py -ip 192.168.10.102
+----------------------+
| Press CTRL+C to exit |
+----------------------+

- Using API address: http://192.168.10.102/api/v1
- Output directory: ./log/
- Connecting to API...

The script will automaticaly start logging once it connects to the API and a printjob starts printing.

Once the printjob is done, a CSV file will be created with the following format:

[Printer Name](start time of print) name of print.csv

This file can be opened in Microsoft Excel or LibreOffice Calc:

Result

REST API

The script uses the REST API on the printer, more information about the REST API can be found locally on the printer itself:

  • Connect the printer to your local network
  • Get the local IP of the printer from the touchscreen interface
  • Open a browser on a local PC and navigate to http://<your printer IP>/docs/api/

About

Python script to automatically log prints on your Ultimaker 3D printer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages