mirror of
https://github.com/lumapu/ahoy.git
synced 2025-04-30 10:46:24 +02:00
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]
This commit is contained in:
parent
f8fe044e1b
commit
93ae88fca2
1 changed files with 1 additions and 1 deletions
|
@ -511,7 +511,7 @@ class Hm600Decode0B(StatusResponse):
|
||||||
@property
|
@property
|
||||||
def ac_current_0(self):
|
def ac_current_0(self):
|
||||||
""" Phase 1 ampere """
|
""" Phase 1 ampere """
|
||||||
return self.unpack('>H', 34)[0]/10
|
return self.unpack('>H', 34)[0]/100
|
||||||
@property
|
@property
|
||||||
def ac_power_0(self):
|
def ac_power_0(self):
|
||||||
""" Phase 1 watts """
|
""" Phase 1 watts """
|
||||||
|
|
Loading…
Add table
Reference in a new issue