diff --git a/configuration.yaml b/configuration.yaml index dc624ee2..86d099fe 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -14,6 +14,16 @@ utility_meter: shell_command: cleanup_blink_snapshots: "find /media /config/www -name 'blink_*.jpg' -mmin +360 -delete" +# Rest Commands (OctoPrint nozzle extrusion) +rest_command: + octoprint_extrude_10: + url: "https://ender5pro.duckdns.org/api/printer/command" + method: POST + content_type: "application/json" + headers: + X-Api-Key: !secret octoprint_api_key + payload: '{"commands": ["G91", "G1 E10 F300", "G90"]}' + # Load ffmpeg ffmpeg: