We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b961dcb commit 9298459Copy full SHA for 9298459
packages/modules/devices/growatt/growatt/bat.py
@@ -26,9 +26,9 @@ def __init__(self,
26
def update(self, client: ModbusTcpClient_) -> None:
27
if self.version == GrowattVersion.max_series:
28
power_in = client.read_input_registers(
29
- 1011, ModbusDataType.UINT_32, unit=self.__modbus_id) * -0.1
+ 1011, ModbusDataType.UINT_32, unit=self.__modbus_id) * 0.1
30
power_out = client.read_input_registers(
31
- 1009, ModbusDataType.UINT_32, unit=self.__modbus_id) * 0.1
+ 1009, ModbusDataType.UINT_32, unit=self.__modbus_id) * -0.1
32
power = power_in + power_out
33
34
soc = client.read_input_registers(1014, ModbusDataType.UINT_16, unit=self.__modbus_id)
0 commit comments