Skip to content

Commit

Permalink
Add unit test data for ET-29K9 inverters
Browse files Browse the repository at this point in the history
  • Loading branch information
mletenay committed Jan 17, 2024
1 parent 88a1ff7 commit 18603f9
Show file tree
Hide file tree
Showing 9 changed files with 287 additions and 4 deletions.
4 changes: 2 additions & 2 deletions goodwe/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
MPPT3_MODELS = ["MSU", "MST", "PSC", "MSC"]

MPPT4_MODELS = ["HSB",
"25KET", "29KET", "29K9ET", "30KET"]
"25KET", "29K9ET"]

BAT_2_MODELS = ["25KET", "29KET", "29K9ET", "30KET"]
BAT_2_MODELS = ["25KET", "29K9ET"]


def is_single_phase(inverter: Inverter) -> bool:
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions tests/sample/et/GW29K9-ET_battery2_info.hex
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aa55f7032c0000000000000000100000000000000600000120000000000000000000000000000000000000000000000000f59b
1 change: 1 addition & 0 deletions tests/sample/et/GW29K9-ET_battery_info.hex
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aa55f7033000ff01ff00000000000000001000000000000006000001ff0000000000000000000000000000000000000000000000009440
1 change: 1 addition & 0 deletions tests/sample/et/GW29K9-ET_device_info.hex
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aa55f70342000074cc00013932394b3945545430304357303030300000000000000000000000020002004f0003004300300034003000360032002d30323032302d30332d533031b87a
1 change: 1 addition & 0 deletions tests/sample/et/GW29K9-ET_meter_data.hex
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aa55f7037400000064000a00000001fda9fdc9f4a1f0130b0fe714ecaadc2ee2dc13870000000000000000fffffda9fffffdc9fffff4a1fffff01300000287000004510000043500000b0ffffffbccfffffa7afffff399ffffe9dd0002ffff00000000000000000000000000000907091c0916002e003c0088d515
1 change: 1 addition & 0 deletions tests/sample/et/GW29K9-ET_mppt_data.hex
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aa55f7037a0000061d00030bc700140bc700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000091d091d091d00000000ffffffff01d702d9016d000000000000000000000007000d000d0000000000000000000000000000000000000000000000000000000079bf
1 change: 1 addition & 0 deletions tests/sample/et/GW29K9-ET_running_data.hex
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aa55f703fa1801110e310e1aad000f000001de1aad0000000002a7168d001200000186168d000000000000000202020909001d1387000002470919001b1387000002350920001d13850000024b0001000006c7ffffeae500000133000007b708fb00071386000000000015090b0007138800000000000509190006138500000000002500000287000002800000028b0000004200001ba0000100f1000000cd00001db40eda0000ffff0000000000000000002000010000000000000000b237000000090000af6100000497000c0000005700000001a39e01b600000000000000000000000000060000000000000000000000000000020400ce00000000030064b6
281 changes: 279 additions & 2 deletions tests/test_et.py

Large diffs are not rendered by default.

0 comments on commit 18603f9

Please sign in to comment.