From e8ad7789186bfb76af72edfad47cd500c8ba3d16 Mon Sep 17 00:00:00 2001 From: Thomas Basler Date: Fri, 6 May 2022 06:25:52 +0100 Subject: [PATCH] Fixed total production for string 3 --- tools/rpi/hoymiles/decoders/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/rpi/hoymiles/decoders/__init__.py b/tools/rpi/hoymiles/decoders/__init__.py index 3cef0946..c58c6b4e 100644 --- a/tools/rpi/hoymiles/decoders/__init__.py +++ b/tools/rpi/hoymiles/decoders/__init__.py @@ -206,7 +206,7 @@ class HM1500_Decode0B(StatusResponse): return self.unpack('>H', 32)[0]/10 @property def dc_energy_total_3(self): - return self.unpack('>L', 40)[0] + return self.unpack('>L', 38)[0] @property def dc_energy_daily_3(self): return self.unpack('>H', 44)[0]