syntax = "proto3"; option csharp_namespace = "InnovEnergy.WireFormat.VictronV1"; enum Warnings { NoWarning = 0; TaM1_Bit1 = 1; TbM1_Bit4 = 4; VBm1_Bit6 = 6; VBM1_Bit8 = 8; IDM1_Bit10 = 10; vsM1_Bit24 = 24; iCM1_Bit26 = 26; iDM1_Bit28 = 28; MID1_Bit30 = 30; BLPW_Bit32 = 32; Ah_W_Bit35 = 35; MPMM_Bit38 = 38; TCMM_Bit39 = 39; TCdi_Bit40 = 40; WMTO_Bit41 = 41; CELL1_Bit46= 46; } enum Alarms { Tam_Bit0 = 0; TaM2_Bit2 = 2; Tbm_Bit3 = 3; TbM2_Bit5 = 5; VBm2_Bit7 = 7; VBM2_Bit8 = 8; IDM2_Bit11 = 11; ISOB_Bit12 = 12; MSWE_Bit13 = 13; FUSE_Bit14 = 14; HTRE_Bit15 = 15; TCPE_Bit16 = 16; STRE_Bit17 = 17; CME_Bit18 = 18; HWFL_Bit19 = 19; HWEM_Bit20 = 20; ThM_Bit21 = 21; vsm1_Bit22 = 22; vsm2_Bit23 = 23; vsM2_Bit25 = 25; iCM2_Bit27 = 27; iDM2_Bit29 = 29; MID2_Bit31 = 31; CCBF_Bit33 = 33; AhFL_Bit34 = 34; TbCM_Bit36 = 36; BRNF_Bit37 = 37; HTFS_Bit42 = 42; DATA_Bit43 = 43; CELL2_Bit45 = 45; Undocumented_Bit44 = 44; Undocumented_Bit47 = 47; Undocumented_Bit48 = 48; Undocumented_Bit49 = 49; Undocumented_Bit50 = 50; Undocumented_Bit51 = 51; Undocumented_Bit52 = 52; Undocumented_Bit53 = 53; Undocumented_Bit54 = 54; Undocumented_Bit55 = 55; Undocumented_Bit56 = 56; Undocumented_Bit57 = 57; Undocumented_Bit58 = 58; Undocumented_Bit59 = 59; Undocumented_Bit60 = 60; Undocumented_Bit61 = 61; Undocumented_Bit62 = 62; Undocumented_Bit63 = 63; } enum IoStatus { NoStatus = 0; DisconnectedFromDc = 1; AlarmActive = 2; VoltMeasurementAllowed = 4; AuxRelay = 5; RemoteState = 6; HeaterActive = 7; BatteryCold = 8; // fake EocReached = 9; // fake } enum Led { Off = 0; On = 1; BlinkingSlow = 2; BlinkingFash = 3; } message Leds { Led green = 1; Led amber = 2; Led blue = 3; Led red = 4; } message Temperatures { float board = 1; float cellsCenter = 2; float cellsLateral1 = 3; float cellsLateral2 = 4; float heaterPowerCenterPct = 5; float heaterPowerLateralPct = 6; } message BatteryStatus48TL { int32 nodeId = 1; float soc = 2; float cellsVoltage = 3; float cellsCurrent = 4; float busVoltage = 5; float temperature = 6; Leds leds = 7; Temperatures temperatures = 8; repeated Warnings warnings = 9; repeated Alarms alarms = 10; repeated IoStatus ioStatus = 11; }