From 02d2ef054b6e9a20f0752b3b221c5411970a1201 Mon Sep 17 00:00:00 2001 From: Yinyin Liu Date: Thu, 12 Feb 2026 11:39:39 +0100 Subject: [PATCH] fix Mode reading on OverView Page from Inverter reading --- .../src/content/dashboards/Log/graph.util.tsx | 2 ++ .../dashboards/SodiohomeInstallations/Installation.tsx | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) 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} )}