Browse Source

Merge pull request #558 from PaeserBastelstube/RPI-fix-DC-current-calculation

change AC_CURRENT divider to 100
pull/563/head
Lukas Pusch 2 years ago
committed by GitHub
parent
commit
a636a1a9da
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