Skip to content

Commit

Permalink
Reporting radiator temperature for X3 Hybrid G4 (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-beran authored Jul 16, 2023
1 parent 599d794 commit c35be4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions solax/inverters/x3_hybrid_g4.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def response_decoder(cls):
"EPS 3 Power": (31, Units.W, to_signed),
"Feed-in Power ": (pack_u16(34, 35), Units.W, to_signed32),
"Battery Power": (41, Units.W, to_signed),
"Radiator Temperature": (54, Units.C, to_signed),
"Yield total": (pack_u16(68, 69), Total(Units.KWH), div10),
"Yield today": (70, Units.KWH, div10),
"Feed-in Energy": (pack_u16(86, 87), Total(Units.KWH), div100),
Expand Down
1 change: 1 addition & 0 deletions tests/samples/expected_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@
"EPS 3 Power": 0.0,
"Feed-in Power ": -152.0,
"Battery Power": 0.0,
"Radiator Temperature": 23.0,
"Yield total": 4.4,
"Yield today": 0.1,
"Feed-in Energy": 0.0,
Expand Down

0 comments on commit c35be4a

Please sign in to comment.