Skip to content

Commit be983a5

Browse files
committed
fix(EG4 6000XP): battery_current scale is 0.1 A, not 0.01 A
1 parent 14fc04f commit be983a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎collector/registers.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def decode(self, raw: int, high_raw: int = 0) -> float:
130130
95: RegisterDef("bms_status_inv", "", 1.0, "Inverter battery status summary"),
131131
96: RegisterDef("battery_count", "", 1.0, "Number of parallel batteries"),
132132
97: RegisterDef("battery_capacity", "Ah", 1.0, "Battery capacity"),
133-
98: RegisterDef("battery_current", "A", 0.01, "Battery current (signed)", signed=True),
133+
98: RegisterDef("battery_current", "A", 0.1, "Battery current (signed)", signed=True),
134134
99: RegisterDef("bms_fault_code", "", 1.0, "BMS fault code"),
135135
100:RegisterDef("bms_warning_code", "", 1.0, "BMS warning code"),
136136
101:RegisterDef("cell_voltage_max", "V", 0.001, "Maximum cell voltage"),

0 commit comments

Comments
 (0)