Add ambient drying mode and fix block mode humidity auto-stop (#292)

Ambient drying: automatically dry filament on idle printers when
  humidity exceeds threshold, regardless of queue state. Separate toggle
  from queue auto-drying — both can run simultaneously. Uses the same
  presets, humidity threshold, and power constraint detection.

  Fix: block mode (wait for drying) previously skipped the humidity
  auto-stop check for already-drying printers, causing drying to
  continue indefinitely. Now only prevents starting new drying.
This commit is contained in:
maziggy
2026-03-14 15:06:07 +01:00
parent cffba4a911
commit 14855ba8f4
17 changed files with 465 additions and 51 deletions
+1
View File
@@ -803,6 +803,7 @@ export interface AppSettings {
// Queue auto-drying settings
queue_drying_enabled: boolean; // Auto-dry AMS between queued prints
queue_drying_block: boolean; // Block queue until drying completes
ambient_drying_enabled: boolean; // Auto-dry idle printers based on humidity regardless of queue
drying_presets: string; // JSON blob of drying presets per filament type
// Print modal settings
per_printer_mapping_expanded: boolean; // Whether custom mapping is expanded by default in print modal