Skip to content

Commit

Permalink
Add grid imported/exported energy to SK-TL5000E (#114)
Browse files Browse the repository at this point in the history
* add grid imported/exported energy to SK-TL5000E

Add grid imported/exported energy to SK-TL5000E.
In acordance with https://github.com/GitHobi/solax/wiki/direct-data-retrieval and verified in local inverter.

* Update expected_values.py XHYBRID

Add grid imported/exported energy test values
  • Loading branch information
pmos69 committed Jun 10, 2023
1 parent a7a95f7 commit 9bc8d3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions solax/inverters/x_hybrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ def response_decoder(cls):
"Battery Temperature": (16, Units.C),
"Battery Remaining Capacity": (17, Units.PERCENT),
"Month's Energy": (19, Units.KWH),
"Grid Exported Energy": (41, Units.KWH),
"Grid Imported Energy": (42, Units.KWH),
"Grid Frequency": (50, Units.HZ),
"EPS Voltage": (53, Units.V),
"EPS Current": (54, Units.A),
Expand Down
2 changes: 2 additions & 0 deletions tests/samples/expected_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
"PV2 Voltage": 3,
"Power Now": 6,
"Total Energy": 9,
"Grid Exported Energy": 41,
"Grid Imported Energy": 42,
}


Expand Down

0 comments on commit 9bc8d3d

Please sign in to comment.