configuration.yaml

This commit is contained in:
Home Assistant Version Control
2026-08-15 22:04:41 +00:00
parent 1fea7b6ca7
commit 5a391d4c2e
+31
View File
@@ -14,6 +14,37 @@ utility_meter:
shell_command: shell_command:
cleanup_blink_snapshots: "find /media /config/www -name 'blink_*.jpg' -mmin +360 -delete" 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: '{"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 # Load ffmpeg
ffmpeg: ffmpeg: