This commit is contained in:
Home Assistant Version Control
2026-08-15 22:52:36 +00:00
parent 86a566cbf7
commit 8686cddb73
3 changed files with 2 additions and 51 deletions
-31
View File
@@ -14,37 +14,6 @@ utility_meter:
shell_command:
cleanup_blink_snapshots: "find /media /config/www -name 'blink_*.jpg' -mmin +360 -delete"
# Rest Commands (OctoPrint nozzle extrusion and Z moves)
rest_command:
octoprint_set_tool_target:
url: "https://ender5pro.duckdns.org/api/printer/tool"
method: POST
content_type: "application/json"
headers:
X-Api-Key: !secret octoprint_api_key
payload: '{"command": "target", "targets": {"tool0": 220}}'
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"]}'
octoprint_z_down_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 Z-10 F600", "G90"]}'
octoprint_z_down_20:
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 Z-20 F600", "G90"]}'
# Load ffmpeg
ffmpeg: