harktech: set host_type + printer_agent=crealityprint on K2/K2 Pro/K2 Plus presets

The CFS-aware filament sync resolves its agent via switch_printer_agent(),
which reads the preset's `printer_agent` field and falls back to "orca" when
unset -- so the K-series presets need printer_agent="crealityprint" (the id
registered by CrealityPrintAgent) in addition to host_type="crealityprint"
(classic PrintHost/LAN-discovery). Without printer_agent the Device-tab sync
defaults to the Orca agent and CFS sync doesn't engage. Set both on the
F008/F012/F021 models that supports_multi_color_print() covers (not K2 SE).
Both keys are in s_PhysicalPrinter_opts, so a new Physical Printer inherits
them from the preset.
This commit is contained in:
grant0013
2026-06-06 13:19:29 +00:00
parent 69a5a70c9e
commit 4469f009c4
12 changed files with 24 additions and 6 deletions

View File

@@ -22,6 +22,8 @@
"fan_speedup_overhangs": "1",
"fan_speedup_time": "0",
"gcode_flavor": "klipper",
"host_type": "crealityprint",
"printer_agent": "crealityprint",
"high_current_on_filament_swap": "0",
"machine_end_gcode": "END_PRINT",
"machine_load_filament_time": "0",