From 31aba4d7225fcdbb0626a334d9da3b0eb7858297 Mon Sep 17 00:00:00 2001 From: Thomas Basler Date: Sat, 7 May 2022 10:45:07 +0100 Subject: [PATCH] Fixed divider for AC Current --- 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 0af2d353..2d6b63cc 100644 --- a/tools/rpi/hoymiles/decoders/__init__.py +++ b/tools/rpi/hoymiles/decoders/__init__.py @@ -258,7 +258,7 @@ class HM1500_Decode0B(StatusResponse): return self.unpack('>H', 46)[0]/10 @property def ac_current_0(self): - return self.unpack('>H', 54)[0]/10 + return self.unpack('>H', 54)[0]/100 @property def ac_power_0(self): return self.unpack('>H', 50)[0]/10