Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 842 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 842 Bytes

Really bad python parser for Victron MK3 attached to Multiplus 2

DC Frame 0x0f 0x20 0x82 0x2a 0xc8 0x03 0x0c 0x60 0x15 0x00 0x00 0x00 0x00 0x00 0x00 0x88 0x51

u8 packetlength @0x0;
u8 packettype @0x1;
u8 header[5] @0x2;
u16 dcvoltage @0x7;
u24 dccurrentused @0x9;
u24 dccurrentprov @0xc;

AC Frame 0x0f 0x20 0x01 0x01 0x01 0x00 0x08 0x2b 0x58 0xdc 0x00 0x2b 0x58 0xc9 0x00 0xc3 0x58

u8 packetlength @0x0;
u8 packettype @0x1;
u8 header[5] @0x2;
u16 maincurrent @ 0x7;
u16 mainvoltage @ 0x9;
u16 invertercurrent @ 0xb;
u16 invertervoltage @ 0xd;

LED Frame 0x08 0xff 0x4c 0x09 0x00 0x00 0x00 0x0d 0x00 0x97

u8 packetLength @0x0;
u8 packetType @0x1;
u8 header @0x2;
u8 ledon @0x3;
u8 ledblink @0x4; // Dont care about blinkies, not parsed in code