From bb619e5461d858dde03072b40f2c463d2ef6b1ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20St=C3=A4ubert?= Date: Thu, 7 Mar 2024 11:43:22 +0100 Subject: [PATCH] commented duplicate 'Battery Voltage' in field 39. This is twice in the data. Field 169, 170 probably better than 39. --- solax/inverters/x3_hybrid_g4.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/solax/inverters/x3_hybrid_g4.py b/solax/inverters/x3_hybrid_g4.py index 22347e1..b5a43c9 100644 --- a/solax/inverters/x3_hybrid_g4.py +++ b/solax/inverters/x3_hybrid_g4.py @@ -97,7 +97,8 @@ def response_decoder(cls): "EPS 2 Power": (30, Units.W, to_signed), "EPS 3 Power": (31, Units.W, to_signed), "Grid Power ": (pack_u16(34, 35), Units.W, to_signed32), - "Battery Voltage": (39, Units.V, div100), + """ 'Battery Voltage' is twice in the json response and covered with 169, 170 below. """ + """ "Battery Voltage": (39, Units.V, div100), """ "Battery Current": (40, Units.A, twoway_div100), "Battery Power": (41, Units.W, to_signed), "Load/Generator Power": (47, Units.W, to_signed),