diff --git a/typescript/frontend-marios2/src/content/dashboards/Log/graph.util.tsx b/typescript/frontend-marios2/src/content/dashboards/Log/graph.util.tsx index 928ddcd1d..c3990e84b 100644 --- a/typescript/frontend-marios2/src/content/dashboards/Log/graph.util.tsx +++ b/typescript/frontend-marios2/src/content/dashboards/Log/graph.util.tsx @@ -452,6 +452,8 @@ export interface JSONRecordData { Battery2Soh:number; PvPower:number; ConsumptionPower:number; + WorkingMode?:string; + OperatingMode?:string; }; AcDcGrowatt: { diff --git a/typescript/frontend-marios2/src/content/dashboards/SodiohomeInstallations/Installation.tsx b/typescript/frontend-marios2/src/content/dashboards/SodiohomeInstallations/Installation.tsx index e9adb8df0..d8621e97d 100644 --- a/typescript/frontend-marios2/src/content/dashboards/SodiohomeInstallations/Installation.tsx +++ b/typescript/frontend-marios2/src/content/dashboards/SodiohomeInstallations/Installation.tsx @@ -339,7 +339,11 @@ function SodioHomeInstallation(props: singleInstallationProps) { fontSize: '14px' }} > - {values.Config.OperatingPriority} + {props.current_installation.device === 4 + ? values.InverterRecord?.WorkingMode + : props.current_installation.device === 3 + ? values.InverterRecord?.OperatingMode + : values.Config.OperatingPriority} )}