Skip to content

OctoPrint Plugin stores all print-job informations of a print in a database

Notifications You must be signed in to change notification settings

rob4226/OctoPrint-PrintJobHistory-ExternalDatabase

 
 

Repository files navigation

This fork adds the ablity to use an external database instead of a local SQLite3 database. PostgreSQL has been added first but MySQL/MariaDB is possible also using either database driver MySQLdb or pymysql.

In order to use this plugin with PostgreSQL, the database driver psycopg2 must be installed in the Python environment you are running OctoPrint in. ex:

../venv37/pip install psycopg2

OctoPrint-PrintJobHistory

Version Released GitHub Releases (by Release)

The OctoPrint-Plugin stores all print-job informations of a print in a local database. These informations were collected from OctoPrint itself, but also from other plugins. See below for more information abaut these plugins.

Support my Efforts

This plugin, as well as my other plugins were developed in my spare time. If you like it, I would be thankful about a cup of coffee :)

More coffee, more code

Included features

  • Print result (success, fail, cancel)
  • Start/End datetime -> duration
  • Temperatures Bed/Extruder -> HINT: Only single Extruder-Temperature is currently collected
  • Username
  • Filename, filesize
  • Note (WYSIWYG-Editor)
  • Image (single Image)
  • Printed Layers/Height
  • Spoolname
  • Material
  • Used/Calculated length
  • Used weight
  • Filament cost
  • Slicer Settings (look here for "how to use it")
  • Export all data from PrintHistory-Plugin as CSV

UI features

  • List all printjobs
  • Edit single printjob
  • Capture/Upload Image
  • Filter history table (only print result)
  • Sort history table (printdate, filename)
  • Table column visibility
  • Capture image after print
  • Take Thumbnail from UltimakerFormatPackage and PrusaSlicer Thumbnails
  • Export all printjobs as CSV
  • Import printjobs from CSV
  • Better error-feedback (more then just the "happy-path")

Not included

  • No report diagramms

Optional Plugins

Planning Release #2, ...

.. see:

Screenshots

plugin-tab editPrintJob-dialog plugin-settings missingplugins-dialog

Setup

Install via the bundled Plugin Manager or manually using this URL:

https://github.com/OllisGit/OctoPrint-PrintJobHistory/releases/latest/download/master.zip

Roadmap

see Planning-Board

Versions

see Release-Overview

About

OctoPrint Plugin stores all print-job informations of a print in a database

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 74.8%
  • Python 10.6%
  • CSS 7.9%
  • HTML 6.7%