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

@@ -7,6 +7,8 @@
"instantiation": "true",
"printer_model": "Creality K2 Plus",
"gcode_flavor": "klipper",
"host_type": "crealityprint",
"printer_agent": "crealityprint",
"default_print_profile": "0.14mm Optimal @Creality K2 Plus 0.2 nozzle",
"nozzle_diameter": [
"0.2"