From f917d588f578be604137cee847723354352a0b5b Mon Sep 17 00:00:00 2001 From: DanielR92 Date: Wed, 23 Aug 2023 17:31:17 +0200 Subject: [PATCH] Add new codes to the list --- src/hm/hmInverter.h | 65 ++++++++++++++++++++++++++------------------- 1 file changed, 37 insertions(+), 28 deletions(-) diff --git a/src/hm/hmInverter.h b/src/hm/hmInverter.h index 75ab9ec4..aa4e95a6 100644 --- a/src/hm/hmInverter.h +++ b/src/hm/hmInverter.h @@ -623,40 +623,49 @@ class Inverter { switch (alarmCode) { // breaks are intentionally missing! case 1: return String(F("Inverter start")); case 2: return String(F("DTU command failed")); + case 73: return String(F("Temperature >80°C")); // https://github.com/tbnobody/OpenDTU/discussions/590#discussioncomment-6049750 case 121: return String(F("Over temperature protection")); + case 124: return String(F("Shut down by remote control")); case 125: return String(F("Grid configuration parameter error")); case 126: return String(F("Software error code 126")); case 127: return String(F("Firmware error")); case 128: return String(F("Software error code 128")); - case 129: return String(F("Software error code 129")); + case 129: return String(F("Abnormal bias")); case 130: return String(F("Offline")); - case 141: return String(F("Grid overvoltage")); - case 142: return String(F("Average grid overvoltage")); - case 143: return String(F("Grid undervoltage")); - case 144: return String(F("Grid overfrequency")); - case 145: return String(F("Grid underfrequency")); - case 146: return String(F("Rapid grid frequency change")); - case 147: return String(F("Power grid outage")); - case 148: return String(F("Grid disconnection")); - case 149: return String(F("Island detected")); - case 205: return String(F("Input port 1 & 2 overvoltage")); - case 206: return String(F("Input port 3 & 4 overvoltage")); - case 207: return String(F("Input port 1 & 2 undervoltage")); - case 208: return String(F("Input port 3 & 4 undervoltage")); - case 209: return String(F("Port 1 no input")); - case 210: return String(F("Port 2 no input")); - case 211: return String(F("Port 3 no input")); - case 212: return String(F("Port 4 no input")); - case 213: return String(F("PV-1 & PV-2 abnormal wiring")); - case 214: return String(F("PV-3 & PV-4 abnormal wiring")); - case 215: return String(F("PV-1 Input overvoltage")); - case 216: return String(F("PV-1 Input undervoltage")); - case 217: return String(F("PV-2 Input overvoltage")); - case 218: return String(F("PV-2 Input undervoltage")); - case 219: return String(F("PV-3 Input overvoltage")); - case 220: return String(F("PV-3 Input undervoltage")); - case 221: return String(F("PV-4 Input overvoltage")); - case 222: return String(F("PV-4 Input undervoltage")); + case 141: return String(F("Grid: Grid overvoltage")); + case 142: return String(F("Grid: 10 min value grid overvoltage")); + case 143: return String(F("Grid: Grid undervoltage")); + case 144: return String(F("Grid: Grid overfrequency")); + case 145: return String(F("Grid: Grid underfrequency")); + case 146: return String(F("Grid: Rapid grid frequency change rate")); + case 147: return String(F("Grid: Power grid outage")); + case 148: return String(F("Grid: Grid disconnection")); + case 149: return String(F("Grid: Island detected")); + case 171: return String(F("Grid: Abnormal phase difference between phase to phase")); + case 205: return String(F("MPPT-A: Input overvoltage")); + case 206: return String(F("MPPT-B: Input overvoltage")); + case 207: return String(F("MPPT-A: Input undervoltage")); + case 208: return String(F("MPPT-B: Input undervoltage")); + case 209: return String(F("PV-1: No input")); + case 210: return String(F("PV-2: No input")); + case 211: return String(F("PV-3: No input")); + case 212: return String(F("PV-4: No input")); + case 213: return String(F("MPPT-A: PV-1 & PV-2 abnormal wiring")); + case 214: return String(F("MPPT-B: PV-3 & PV-4 abnormal wiring")); + case 215: return String(F("PV-1: Input overvoltage")); + case 215: return String(F("MPPT-C: Input overvoltage")); + case 216: return String(F("PV-1: Input undervoltage")); + case 216: return String(F("MPPT-C: Input undervoltage")); + case 217: return String(F("PV-2: Input overvoltage")); + case 217: return String(F("PV-5: No input")); + case 218: return String(F("PV-2: Input undervoltage")); + case 218: return String(F("PV-6: No input")); + case 219: return String(F("PV-3: Input overvoltage")); + case 219: return String(F("MPPT-C: PV-5 & PV-6 abnormal wiring")); + case 220: return String(F("PV-3: Input undervoltage")); + case 221: return String(F("PV-4: Input overvoltage")); + case 221: return String(F("Abnormal wiring of grid neutral line")); + case 222: return String(F("PV-4: Input undervoltage")); case 301: return String(F("Hardware error code 301")); case 302: return String(F("Hardware error code 302")); case 303: return String(F("Hardware error code 303"));