Skip to content

Commit

Permalink
Added HMS/HMT devices to the DevInfoParser
Browse files Browse the repository at this point in the history
  • Loading branch information
tbnobody committed Apr 15, 2023
1 parent 41e2ba7 commit 8927b83
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/Hoymiles/src/parser/DevInfoParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,17 @@ const devInfo_t devInfo[] = {
{ { 0x10, 0x02, 0x30, ALL }, 1500, "MI-1500 Gen3" },
{ { 0x10, 0x12, 0x30, ALL }, 1500, "HM-1500" },
{ { 0x10, 0x10, 0x10, 0x15 }, static_cast<uint16_t>(300 * 0.7), "HM-300" }, // HM-300 factory limitted to 70%

{ { 0x10, 0x20, 0x21, ALL }, 350, "HMS-350" }, // 00
{ { 0x10, 0x10, 0x71, ALL }, 500, "HMS-500" }, // 02
{ { 0x10, 0x21, 0x41, ALL }, 800, "HMS-800" }, // 00
{ { 0x10, 0x21, 0x71, ALL }, 1000, "HMS-1000" }, // 05
{ { 0x10, 0x12, 0x51, ALL }, 1800, "HMS-1800" }, // 01
{ { 0x10, 0x22, 0x51, ALL }, 1800, "HMS-1800" }, // 16
{ { 0x10, 0x12, 0x71, ALL }, 2000, "HMS-2000" }, // 01

{ { 0x10, 0x33, 0x11, ALL }, 1800, "HMT-1800" }, // 01
{ { 0x10, 0x33, 0x31, ALL }, 2250, "HMT-2250" } // 01
};

void DevInfoParser::clearBufferAll()
Expand Down

0 comments on commit 8927b83

Please sign in to comment.