Skip to content

Commit

Permalink
Merge pull request #150 from tomquist/use-absolute-powermeter-watts-f…
Browse files Browse the repository at this point in the history
…or-intermediate

Use absolute intermediate power watts
  • Loading branch information
reserve85 authored Feb 25, 2024
2 parents b6867aa + 30c7cc4 commit b7edf62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HoymilesZeroExport.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def GetHoymilesTemperature():
def GetHoymilesActualPower():
try:
try:
Watts = INTERMEDIATE_POWERMETER.GetPowermeterWatts()
Watts = abs(INTERMEDIATE_POWERMETER.GetPowermeterWatts())
logger.info(f"intermediate meter {INTERMEDIATE_POWERMETER.__class__.__name__}: {Watts} Watt")
return Watts
except Exception as e:
Expand Down

0 comments on commit b7edf62

Please sign in to comment.