Browse Source

change AC_CURRENT divider to 100

In line 514, ac_current dividor must be 100 not 10
There is a mismatch in AC output: power[Watt] = voltage[Volt] * current[Ampere]
pull/558/head
PaeserBastelstube 2 years ago
committed by GitHub
parent
commit
93ae88fca2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tools/rpi/hoymiles/decoders/__init__.py

2
tools/rpi/hoymiles/decoders/__init__.py

@ -511,7 +511,7 @@ class Hm600Decode0B(StatusResponse):
@property
def ac_current_0(self):
""" Phase 1 ampere """
return self.unpack('>H', 34)[0]/10
return self.unpack('>H', 34)[0]/100
@property
def ac_power_0(self):
""" Phase 1 watts """

Loading…
Cancel
Save