Skip to content

Commit

Permalink
commented duplicate 'Battery Voltage' in field 39. This is twice in t…
Browse files Browse the repository at this point in the history
…he data. Field 169, 170 probably better than 39.
  • Loading branch information
SebStaeubert committed Mar 7, 2024
1 parent 0b2ae12 commit bb619e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion solax/inverters/x3_hybrid_g4.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ def response_decoder(cls):
"EPS 2 Power": (30, Units.W, to_signed),
"EPS 3 Power": (31, Units.W, to_signed),
"Grid Power ": (pack_u16(34, 35), Units.W, to_signed32),
"Battery Voltage": (39, Units.V, div100),
""" 'Battery Voltage' is twice in the json response and covered with 169, 170 below. """
""" "Battery Voltage": (39, Units.V, div100), """
"Battery Current": (40, Units.A, twoway_div100),
"Battery Power": (41, Units.W, to_signed),
"Load/Generator Power": (47, Units.W, to_signed),
Expand Down

0 comments on commit bb619e5

Please sign in to comment.