Skip to content

Commit

Permalink
Added inverter temperature for X1 Hybrid G4 (#157)
Browse files Browse the repository at this point in the history
* Update x1_hybrid_gen4.py

Added temperature for X1 Hybrid G4

* Update expected_values.py
  • Loading branch information
DarkerCz authored Jun 5, 2024
1 parent 64ab6c1 commit 827abcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions solax/inverters/x1_hybrid_gen4.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def response_decoder(cls):
"Battery power": (16, Units.W),
"Battery temperature": (17, Units.C),
"Battery SoC": (18, Units.PERCENT),
"Inverter Temperature": (26, Units.C),
"Grid power": (32, Units.W, to_signed),
"Total feed-in energy": (pack_u16(34, 35), Total(Units.KWH), div100),
"Total consumption": (pack_u16(36, 37), 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 @@ -517,6 +517,7 @@
"Battery power": 541.0,
"Battery temperature": 26.0,
"Battery SoC": 82.0,
"Inverter Temperature": 30.0,
"Grid power": 1.0,
"Total feed-in energy": 286.7,
"Total consumption": 6.2,
Expand Down

0 comments on commit 827abcb

Please sign in to comment.