Tertiush/bmspace

Error When Read Multiple Pack

Closed this issue · 3 comments

Hello, i have issue when connect use 3 bank battery.
Here this log

Connection Type: Serial
MQTT connected with result code 0
Connecting to BMS...
trying to connect /dev/ttyUSB0
BMS serial connected
BMS Version: 6032_10016S000_L_31
BMS Serial Number: 603260162072700
Pack Serial Number:
Packs: 3
Pack 1, Total cells: 15
Pack 1, V Cell1: 3332 mV
Pack 1, V Cell2: 3332 mV
Pack 1, V Cell3: 3323 mV
Pack 1, V Cell4: 3324 mV
Pack 1, V Cell5: 3325 mV
Pack 1, V Cell6: 3326 mV
Pack 1, V Cell7: 3326 mV
Pack 1, V Cell8: 3326 mV
Pack 1, V Cell9: 3326 mV
Pack 1, V Cell10: 3325 mV
Pack 1, V Cell11: 3326 mV
Pack 1, V Cell12: 3326 mV
Pack 1, V Cell13: 3327 mV
Pack 1, V Cell14: 3326 mV
Pack 1, V Cell15: 3326 mV
Pack 1, Cell Max Diff Volt Calc: 9 mV
Pack 1, Total temperature sensors: 6
Pack 1, Temp1: 28.0 ℃
Pack 1, Temp2: 28.0 ℃
Pack 1, Temp3: 28.0 ℃
Pack 1, Temp4: 29.3 ℃
Pack 1, Temp5: 30.6 ℃
Pack 1, Temp6: 32.3 ℃
Pack 1, I Pack: 0.11 A
Pack 1, V Pack: 49.89 V
Pack 1, I Remaining Capacity: 103270 mAh
Pack 1, I Full Capacity: 103560 mAh
Pack 1, SOC: 99.72 %
Pack 1, Cycles: 3
Pack 1, Design Capacity: 100000 mAh
Pack 1, SOH: 103.56 %
Error parsing BMS analog data: invalid literal for int() with base 16: b''
Error retrieving BMS analog data: Error parsing BMS analog data: invalid literal for int() with base 16: b''
Pack Remaining Capacity: 103270 mAh
Pack Full Capacity: 103560 mAh
Pack Design Capacity: 100000 mAh
Pack SOC: 99.72 %
Pack SOH: 103.56 %
Packs for warnings: 3
Pack 1, warnings: Protection State 2: Fully, Control State: Buzzer warn function enabled
Pack 1, balancing1: 00000000
Pack 1, balancing2: 00000000
Error parsing BMS warning data: invalid literal for int() with base 16: b''
Error retrieving BMS warning info: Error parsing BMS warning data: invalid literal for int() with base 16: b''
Publishing HA Discovery topic...
Error parsing BMS analog data: invalid literal for int() with base 16: b''
Error retrieving BMS analog data: Error parsing BMS analog data: invalid literal for int() with base 16: b''
Error parsing BMS warning data: invalid literal for int() with base 16: b''
Error retrieving BMS warning info: Error parsing BMS warning data: invalid literal for int() with base 16: b''

Here this log debug.

VER: b'25'
ADR: b'01'
CID1 (Type): b'46'
RTN: b'00'
LENGTH: b'B050'

  • LCHKSUM: 66
  • LENID: b'050'
  • LENID (int): 80
    INFO: b'36303332363031363230373237303030310000002020202000000000000000000000000000000000'
    CHKSUM: b'EE31'
    Calc CHKSUM: EE31
    BMS Serial Number: 603260162072700
    Pack Serial Number:
    -> Outgoing Data: b'~25014642E002FFFD05\r'
    <- Incoming data: b'~25014600307600030F0D030D040CFC0CFD0CFE0CFE0CFE0CFE0CFE0CFE0CFF0CFF0CFF0CFF0CFF060BC20BC20BC20BCE0BDC0BEC0000C2EC285700287400032710E271\r'
    SOI: 0x7e
    VER: b'25'
    ADR: b'01'
    CID1 (Type): b'46'
    RTN: b'00'
    LENGTH: b'3076'
  • LCHKSUM: 51
  • LENID: b'076'
  • LENID (int): 118
    INFO: b'00030F0D030D040CFC0CFD0CFE0CFE0CFE0CFE0CFE0CFE0CFF0CFF0CFF0CFF0CFF060BC20BC20BC20BCE0BDC0BEC0000C2EC285700287400032710'
    CHKSUM: b'E271'
    Calc CHKSUM: E271
    Packs: 3
    Pack 1, Total cells: 15
    Pack 1, V Cell1: 3331 mV
    Pack 1, V Cell2: 3332 mV
    Pack 1, V Cell3: 3324 mV
    Pack 1, V Cell4: 3325 mV
    Pack 1, V Cell5: 3326 mV
    Pack 1, V Cell6: 3326 mV
    Pack 1, V Cell7: 3326 mV
    Pack 1, V Cell8: 3326 mV
    Pack 1, V Cell9: 3326 mV
    Pack 1, V Cell10: 3326 mV
    Pack 1, V Cell11: 3327 mV
    Pack 1, V Cell12: 3327 mV
    Pack 1, V Cell13: 3327 mV
    Pack 1, V Cell14: 3327 mV
    Pack 1, V Cell15: 3327 mV
    Pack 1, Cell Max Diff Volt Calc: 8 mV
    Pack 1, Total temperature sensors: 6
    Pack 1, Temp1: 28.0 ℃
    Pack 1, Temp2: 28.0 ℃
    Pack 1, Temp3: 28.0 ℃
    Pack 1, Temp4: 29.2 ℃
    Pack 1, Temp5: 30.6 ℃
    Pack 1, Temp6: 32.2 ℃
    Pack 1, I Pack: 0.0 A
    Pack 1, V Pack: 49.9 V
    Pack 1, I Remaining Capacity: 103270 mAh
    Pack 1, I Full Capacity: 103560 mAh
    Pack 1, SOC: 99.72 %
    Pack 1, Cycles: 3
    Pack 1, Design Capacity: 100000 mAh
    Pack 1, SOH: 103.56 %
    Error parsing BMS analog data: invalid literal for int() with base 16: b''
    Error retrieving BMS analog data: Error parsing BMS analog data: invalid literal for int() with base 16: b''
    -> Outgoing Data: b'~250146A60000FD97\r'
    <- Incoming data: b'~25014600400C285728742710FB22\r'
    SOI: 0x7e
    VER: b'25'
    ADR: b'01'
    CID1 (Type): b'46'
    RTN: b'00'
    LENGTH: b'400C'
  • LCHKSUM: 52
  • LENID: b'00C'
  • LENID (int): 12
    INFO: b'285728742710'
    CHKSUM: b'FB22'
    Calc CHKSUM: FB22
    Pack Remaining Capacity: 103270 mAh
    Pack Full Capacity: 103560 mAh
    Pack Design Capacity: 100000 mAh
    Pack SOC: 99.72 %
    Pack SOH: 103.56 %
    -> Outgoing Data: b'~25014644E002FFFD03\r'
    <- Incoming data: b'~25014600204A00030F00000000000000000000000000000006000000000000000000008006010000000000EF89\r'
    SOI: 0x7e
    VER: b'25'
    ADR: b'01'
    CID1 (Type): b'46'
    RTN: b'00'
    LENGTH: b'204A'
  • LCHKSUM: 50
  • LENID: b'04A'
  • LENID (int): 74
    INFO: b'00030F00000000000000000000000000000006000000000000000000008006010000000000'
    CHKSUM: b'EF89'
    Calc CHKSUM: EF89
    Packs for warnings: 3
    Pack 1, warnings: Protection State 2: Fully, Control State: Buzzer warn function enabled
    Pack 1, balancing1: 00000000
    Pack 1, balancing2: 00000000
    Error parsing BMS warning data: invalid literal for int() with base 16: b''
    Error retrieving BMS warning info: Error parsing BMS warning data: invalid literal for int() with base 16: b''

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 5 days.

This issue was closed because it has been stalled for 5 days with no activity.