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

@@ -189,7 +189,8 @@
"creality_flush_time": "86",
"disable_m73": "0",
"enable_long_retraction_when_cut": "0",
"host_type": "octoprint",
"host_type": "crealityprint",
"printer_agent": "crealityprint",
"machine_LED_light_exist": "1",
"machine_min_extruding_rate": "0,0",
"machine_min_travel_rate": "0,0",