tpmullan / OctoPrint-DetailedProgress

28 stars 14 forks source link

OctoPrint-DetailedProgress

A plugin that sends M117 (and optionally M73) commands to the printer to display the progress of the print job being currently streamed. The message to display can be configured (some placeholders included). Example ETA Example ETL Example Percent Example M73 Prusa

Setup

Install manually using this URL:

https://github.com/tpmullan/OctoPrint-DetailedProgress/archive/master.zip

Dependencies for layer progress etc. [Optional]

If you also want to display layer progress, height progress or time to filament change, you will have to install the plugin DisplayLayerProgress. Follow setup instructions for that plugin.

You will probably want to disable 'Printer Display' in the settings for DisplayLayerProgress.

Configuration

Manual Config File

plugins:
  detailedprogress:
    # Number of seconds (minimum) to rotate the messages
    time_to_change: 10
    eta_strftime: "%H:%M:%S Day %d"
    etl_format: "{hours:02d}:{minutes:02d}:{seconds:02d}"
    # Send M73 progress commands 
    use_M73: true
    # Send the 'R' parameter for M73 commands (supported in Marlin when compiled with LCD_SET_PROGRESS_MANUALLY and Prusa firmware > 3.3.0)
    use_M73_R: true
    # Messages to display. Placeholders:
    # - completion : The % completed
    # - printTime : A string in the format "HH:MM:SS" with how long the print is going
    # - printTimeLeft : A string in the format "HH:MM:SS" with how long the print still has left
    # - ETA : The date and time formatted in "%H:%M:%S Day %d" that the print is estimated to be completed
    # - filepos: The current position in the file currently being printed
    # - filename: The filename of file currently being printed
    # - accuracy: Accuracy of the time estimates
    messages:
      - "{completion:.2f}% complete"
      - "ETL: {printTimeLeft}"
      - "ETA: {ETA}"
    print_done_message: "Print Done"

Plugin Settings menu

Example Settings

Time Variables:

Layer progress etc.

If you chose to install DisplayLayerProgress, enable one or all of: