From 84c15dac869ef5b2baf3e17ba46737423a059860 Mon Sep 17 00:00:00 2001 From: Andrew <18502096+classicrocker883@users.noreply.github.com> Date: Sun, 2 Mar 2025 23:44:32 -0500 Subject: [PATCH 1/3] Update mmu-error-codes.yaml - add 508 FILAMENT_CHANGE --- yaml/mmu-error-codes.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/yaml/mmu-error-codes.yaml b/yaml/mmu-error-codes.yaml index 8cca02d..6fcb7e3 100644 --- a/yaml/mmu-error-codes.yaml +++ b/yaml/mmu-error-codes.yaml @@ -447,6 +447,16 @@ Errors: type: USER_ACTION gui_layout: "mmu_dialog" +- code: "04508" + title: "FILAMENT CHANGE" + text: "Change filament. Eject filament then load new filament into the MMU." + text_short: "Eject filament and load into the MMU." + action: [Eject,Load] + id: "FILAMENT_CHANGE" + approved: true + type: USER_ACTION + gui_layout: "mmu_dialog" + - code: "04900" title: "UNKNOWN ERROR" text: "Unexpected error occurred." From 057f4d7e82e6b08b550f51f591e6e377dafa27da Mon Sep 17 00:00:00 2001 From: Andrew <18502096+classicrocker883@users.noreply.github.com> Date: Mon, 3 Mar 2025 00:06:10 -0500 Subject: [PATCH 2/3] remove text_short: "More details online." --- yaml/mmu-error-codes.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/yaml/mmu-error-codes.yaml b/yaml/mmu-error-codes.yaml index 6fcb7e3..8f61f39 100644 --- a/yaml/mmu-error-codes.yaml +++ b/yaml/mmu-error-codes.yaml @@ -345,7 +345,6 @@ Errors: - code: "04306" title: "MMU MCU ERROR" text: "MMU detected a power-related issue. Check the wiring and connectors. If the issue persists, contact support." - text_short: "More details online." action: [ResetMMU] id: "MCU_POWER_ERROR" approved: true @@ -450,7 +449,7 @@ Errors: - code: "04508" title: "FILAMENT CHANGE" text: "Change filament. Eject filament then load new filament into the MMU." - text_short: "Eject filament and load into the MMU." + text_short: "M600 Filament Change. Load a new filament or eject the old one." action: [Eject,Load] id: "FILAMENT_CHANGE" approved: true From c222a445b81e03da10e49ad3de783d6a7d4ae15e Mon Sep 17 00:00:00 2001 From: Andrew <18502096+classicrocker883@users.noreply.github.com> Date: Mon, 3 Mar 2025 04:56:30 -0500 Subject: [PATCH 3/3] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index edd0155..bdb7dd3 100644 --- a/README.md +++ b/README.md @@ -50,12 +50,14 @@ The `.yaml` format structure is as follows: * Root [dict] * `Errors` [list of dict]: Specific error codes - * `printers` (optional) [list of string]: same as root-level printer filter * `code` [string]: Error code in the format `XXYZZ` * Leave `XX` as `XX`, the code applies to multiple printers. * For example `XX101` + * `printers` (optional) [list of string]: same as root-level printer filter * `title` [string]: Error message title * `text` [string]: Error message string * `id` [string]: Error identifier used for referencing the error in the code * For example `BED_MINTEMP_ERROR` + * `gui_layout` [string]: For warning or error + * For example `"warning_dialog"` or `"red_screen"` * `approved` [bool]: Not really good for anything