Skip to content

Commit

Permalink
H3: add bms cell temps and kwh remaining
Browse files Browse the repository at this point in the history
cell_mv are output in V * 10 by the inverter which makes them unusable without refactoring.
  • Loading branch information
MartB committed Nov 3, 2024
1 parent 7887be5 commit b96c8e8
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1965,19 +1965,24 @@ def _inner(
],
bms_cell_temp_high=[
ModbusAddressesSpec(input=[11043], models=Inv.H1_G1 | Inv.KH_PRE119),
ModbusAddressesSpec(holding=[31102], models=Inv.H3_SET),
],
bms_cell_temp_low=[
ModbusAddressesSpec(input=[11044], models=Inv.H1_G1 | Inv.KH_PRE119),
ModbusAddressesSpec(holding=[31103], models=Inv.H3_SET),
],
bms_cell_mv_high=[
ModbusAddressesSpec(input=[11045], models=Inv.H1_G1 | Inv.KH_PRE119),
# ModbusAddressesSpec(holding=[31100], models=Inv.H3_SET), provided in V * 10 aka 32 for 3200mV
],
bms_cell_mv_low=[
ModbusAddressesSpec(input=[11046], models=Inv.H1_G1 | Inv.KH_PRE119),
# ModbusAddressesSpec(holding=[31101], models=Inv.H3_SET), provided in V * 10 aka 32 for 3200mV
],
bms_kwh_remaining=[
ModbusAddressesSpec(input=[11037], models=Inv.H1_G1 | Inv.KH_PRE119),
ModbusAddressesSpec(holding=[37632], models=Inv.H1_G2),
ModbusAddressesSpec(holding=[31123], models=Inv.H3_SET),
],
)
yield from _inner(
Expand Down

0 comments on commit b96c8e8

Please sign in to comment.