From 95f55b9c456c5d5c5ec9e196b5faf161da1220a9 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Fri, 6 May 2022 13:59:42 +0700 Subject: [PATCH] add config and plugins --- Dockerfile | 4 ++-- octoprint_config/cancel_gcode.gcode | 14 ++++++++++++++ octoprint_config/config.txt | 3 +++ 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 octoprint_config/cancel_gcode.gcode create mode 100644 octoprint_config/config.txt diff --git a/Dockerfile b/Dockerfile index 33f217f..ee61135 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,12 +49,12 @@ https://github.com/jneilliii/OctoPrint-BedLevelVisualizer/archive/master.zip \ https://github.com/OctoPrint/OctoPrint-MQTT/archive/master.zip \ https://github.com/birkbjo/OctoPrint-Themeify/archive/master.zip \ https://github.com/jneilliii/OctoPrint-Python3PluginCompatibilityCheck/archive/master.zip \ -https://github.com/OllisGit/OctoPrint-PrintJobHistory/releases/latest/download/master.zip \ https://github.com/marian42/octoprint-preheat/archive/master.zip \ https://github.com/OllisGit/OctoPrint-FilamentManager/releases/latest/download/master.zip \ https://github.com/OllisGit/OctoPrint-DisplayLayerProgress/releases/latest/download/master.zip \ https://github.com/jneilliii/OctoPrint-ConsolidateTempControl/archive/master.zip \ -https://github.com/TheSpaghettiDetective/OctoPrint-TheSpaghettiDetective/archive/master.zip +https://github.com/TheSpaghettiDetective/OctoPrint-TheSpaghettiDetective/archive/master.zip \ +https://github.com/eyal0/OctoPrint-PrintTimeGenius/archive/master.zip VOLUME /home/octoprint/.octoprint diff --git a/octoprint_config/cancel_gcode.gcode b/octoprint_config/cancel_gcode.gcode new file mode 100644 index 0000000..9bac45f --- /dev/null +++ b/octoprint_config/cancel_gcode.gcode @@ -0,0 +1,14 @@ +; move head out of the way +G91 +G0 Z10 +G28 X Y +G0 X0Y230 + +; disable motors +M84 + +;disable all heaters +{% snippet 'disable_hotends' %} +{% snippet 'disable_bed' %} +;disable fan +M106 S0 \ No newline at end of file diff --git a/octoprint_config/config.txt b/octoprint_config/config.txt new file mode 100644 index 0000000..757f365 --- /dev/null +++ b/octoprint_config/config.txt @@ -0,0 +1,3 @@ +OctoKlipper +config dir: /home/octoprint/.octoprint +log: /tmp/klippy.log \ No newline at end of file