mpp-solar
mpp-solar copied to clipboard
JK-BD6A17S8P - problem with reading cells voltages and other stuff
jkbms -p C8:47:8C:E2:A6:29 --getstatus -D
..... ..... bytearray(b'U\xaa\xeb\x90\x02c\xcc\x0c\xce\x0c\xce\x0c\xcb\x0c\xcd\x0c\xcb\x0c\xcc\x0c\xcc\x0c\xcc\x0c\xcb\x0c\xcd\x0c\xcc\x0c\xcb\x0c\xcd\x0c\xcd\x0c\xcd\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0\x00\xff\xff\x00\x00\xcc\x0c\x03\x00\x00\x03\x8c\x00\x86\x00\x8a\x00\x86\x00\x8b\x00\x85\x00\x8b\x00\x85\x00\x8a\x00\x85\x00\x89\x00\x86\x00\x8a\x00\x85\x00\x8a\x00\x86\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xc5\xcc\x00\x00\xb9\xdb\n\x00\xf9\xca') 2022-06-24 01:18:59,968:DEBUG:jkbledelegate:handleNotification@31: Post wipe to start bytearray(b'U\xaa\xeb\x90\x02c\xcc\x0c\xce\x0c\xce\x0c\xcb\x0c\xcd\x0c\xcb\x0c\xcc\x0c\xcc\x0c\xcc\x0c\xcb\x0c\xcd\x0c\xcc\x0c\xcb\x0c\xcd\x0c\xcd\x0c\xcd\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\xcc\x0c\x03\x00\x00\x03\x8c\x00\x86\x00\x8a\x00\x86\x00\x8b\x00\x85\x00\x8b\x00\x85\x00\x8a\x00\x85\x00\x89\x00\x86\x00\x8a\x00\x85\x00\x8a\x00\x86\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xc5\xcc\x00\x00\xb9\xdb\n\x00\xf9\xca') 2022-06-24 01:18:59,968:DEBUG:jkabstractprotocol:is_record_correct_type@162: Record is type 2 2022-06-24 01:18:59,969:DEBUG:jkabstractprotocol:is_record_start@147: SOR found in record 2022-06-24 01:19:00,002:DEBUG:jkbledelegate:handleNotification@27: From handle: 0x12 Got 22 bytes of data 2022-06-24 01:19:00,002:DEBUG:jkbledelegate:handleNotification@29: Pre wipe to start bytearray(b'U\xaa\xeb\x90\x02c\xcc\x0c\xce\x0c\xce\x0c\xcb\x0c\xcd\x0c\xcb\x0c\xcc\x0c\xcc\x0c\xcc\x0c\xcb\x0c\xcd\x0c\xcc\x0c\xcb\x0c\xcd\x0c\xcd\x0c\xcd\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\xcc\x0c\x03\x00\x00\x03\x8c\x00\x86\x00\x8a\x00\x86\x00\x8b\x00\x85\x00\x8b\x00\x85\x00\x8a\x00\x85\x00\x89\x00\x86\x00\x8a\x00\x85\x00\x8a\x00\x86\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xc5\xcc\x00\x00\xb9\xdb\n\x00\xf9\xca\xff\xff\x12\x01\x04\x01;\x01\x00\x00\x00\x00\x006\xaeU\x02\x00\xc0E\x04\x00') 2022-06-24 01:19:00,002:DEBUG:jkbledelegate:handleNotification@31: Post wipe to start bytearray(b'U\xaa\xeb\x90\x02c\xcc\x0c\xce\x0c\xce\x0c\xcb\x0c\xcd\x0c\xcb\x0c\xcc\x0c\xcc\x0c\xcc\x0c\xcb\x0c\xcd\x0c\xcc\x0c\xcb\x0c\xcd\x0c\xcd\x0c\xcd\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\xcc\x0c\x03\x00\x00\x03\x8c\x00\x86\x00\x8a\x00\x86\x00\x8b\x00\x85\x00\x8b\x00\x85\x00\x8a\x00\x85\x00\x89\x00\x86\x00\x8a\x00\x85\x00\x8a\x00\x86\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xc5\xcc\x00\x00\xb9\xdb\n\x00\xf9\xca\xff\xff\x12\x01\x04\x01;\x01\x00\x00\x00\x00\x006\xaeU\x02\x00\xc0E\x04\x00') 2022-06-24 01:19:00,003:DEBUG:jkabstractprotocol:is_record_correct_type@162: Record is type 2 2022-06-24 01:19:00,003:DEBUG:jkabstractprotocol:is_record_start@147: SOR found in record 2022-06-24 01:19:00,152:DEBUG:jkbledelegate:handleNotification@27: From handle: 0x12 Got 128 bytes of data 2022-06-24 01:19:00,153:DEBUG:jkbledelegate:handleNotification@29: Pre wipe to start bytearray(b'U\xaa\xeb\x90\x02c\xcc\x0c\xce\x0c\xce\x0c\xcb\x0c\xcd\x0c\xcb\x0c\xcc\x0c\xcc\x0c\xcc\x0c\xcb\x0c\xcd\x0c\xcc\x0c\xcb\x0c\xcd\x0c\xcd\x0c\xcd\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\xcc\x0c\x03\x00\x00\x03\x8c\x00\x86\x00\x8a\x00\x86\x00\x8b\x00\x85\x00\x8b\x00\x85\x00\x8a\x00\x85\x00\x89\x00\x86\x00\x8a\x00\x85\x00\x8a\x00\x86\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xc5\xcc\x00\x00\xb9\xdb\n\x00\xf9\xca\xff\xff\x12\x01\x04\x01;\x01\x00\x00\x00\x00\x006\xaeU\x02\x00\xc0E\x04\x00\x00\x00\x00\x00q_\x03\x00d\x00\x05\t\xb9\xb7\x01\x00\x01\x01\xd9\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x00\x01\x00\x00\x00\xc9\x02\x00\x00w\x00\x84\xf2>@\x00\x00\x00\x00\xe2\x04\x00\x00\x00\x00\x00\x01\x00\x05\x00\x00=-\x11\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
2022-06-24 01:19:01,608:DEBUG:jkabstractprotocol:get_command_defn@106: get_command_defn for: getCellData 2022-06-24 01:19:01,608:DEBUG:abstractprotocol:get_command_defn@60: Processing command 'getCellData' 2022-06-24 01:19:01,609:DEBUG:abstractprotocol:get_command_defn@62: Found command getCellData in protocol b'JK04' 2022-06-24 01:19:01,609:INFO:abstractprotocol:decode@236: Processing response of type POSITIONAL 2022-06-24 01:19:01,609:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['Hex2Str', 4, 'Header', ''] 2022-06-24 01:19:01,610:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['Hex2Str', 1, 'Record Type', ''] 2022-06-24 01:19:01,610:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['Hex2Int', 1, 'Record Counter', ''] 2022-06-24 01:19:01,610:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Voltage Cell01', 'V'] 2022-06-24 01:19:01,611:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Voltage Cell02', 'V'] 2022-06-24 01:19:01,611:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Voltage Cell03', 'V'] 2022-06-24 01:19:01,611:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Voltage Cell04', 'V'] 2022-06-24 01:19:01,611:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Voltage Cell05', 'V'] 2022-06-24 01:19:01,612:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Voltage Cell06', 'V'] 2022-06-24 01:19:01,612:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Voltage Cell07', 'V'] 2022-06-24 01:19:01,612:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Voltage Cell08', 'V'] 2022-06-24 01:19:01,613:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Voltage Cell09', 'V'] 2022-06-24 01:19:01,613:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Voltage Cell10', 'V'] 2022-06-24 01:19:01,613:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Voltage Cell11', 'V'] 2022-06-24 01:19:01,613:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Voltage Cell12', 'V'] 2022-06-24 01:19:01,614:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Voltage Cell13', 'V'] 2022-06-24 01:19:01,614:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Voltage Cell14', 'V'] 2022-06-24 01:19:01,614:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Voltage Cell15', 'V'] 2022-06-24 01:19:01,615:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Voltage Cell16', 'V'] 2022-06-24 01:19:01,615:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Voltage Cell17', 'V'] 2022-06-24 01:19:01,615:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Voltage Cell18', 'V'] 2022-06-24 01:19:01,615:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Voltage Cell19', 'V'] 2022-06-24 01:19:01,616:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Voltage Cell20', 'V'] 2022-06-24 01:19:01,616:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Voltage Cell21', 'V'] 2022-06-24 01:19:01,616:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Voltage Cell22', 'V'] 2022-06-24 01:19:01,617:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Voltage Cell23', 'V'] 2022-06-24 01:19:01,617:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Voltage Cell24', 'V'] 2022-06-24 01:19:01,617:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell01', 'Ohm'] 2022-06-24 01:19:01,617:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell02', 'Ohm'] 2022-06-24 01:19:01,618:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell03', 'Ohm'] 2022-06-24 01:19:01,618:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell04', 'Ohm'] 2022-06-24 01:19:01,618:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell05', 'Ohm'] 2022-06-24 01:19:01,618:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell06', 'Ohm'] 2022-06-24 01:19:01,619:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell07', 'Ohm'] 2022-06-24 01:19:01,619:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell08', 'Ohm'] 2022-06-24 01:19:01,619:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell09', 'Ohm'] 2022-06-24 01:19:01,620:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell10', 'Ohm'] 2022-06-24 01:19:01,620:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell11', 'Ohm'] 2022-06-24 01:19:01,620:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell12', 'Ohm'] 2022-06-24 01:19:01,620:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell13', 'Ohm'] 2022-06-24 01:19:01,621:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell14', 'Ohm'] 2022-06-24 01:19:01,621:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell15', 'Ohm'] 2022-06-24 01:19:01,621:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell16', 'Ohm'] 2022-06-24 01:19:01,622:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell17', 'Ohm'] 2022-06-24 01:19:01,622:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell18', 'Ohm'] 2022-06-24 01:19:01,622:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell19', 'Ohm'] 2022-06-24 01:19:01,622:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell20', 'Ohm'] 2022-06-24 01:19:01,623:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell21', 'Ohm'] 2022-06-24 01:19:01,623:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell22', 'Ohm'] 2022-06-24 01:19:01,623:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell23', 'Ohm'] 2022-06-24 01:19:01,624:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell24', 'Ohm'] 2022-06-24 01:19:01,624:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Resistance Cell25', 'Ohm'] 2022-06-24 01:19:01,624:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Average Cell Voltage', 'V'] 2022-06-24 01:19:01,625:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['LittleHex2Float', 4, 'Delta Cell Voltage', 'V'] 2022-06-24 01:19:01,625:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['discard', 4, '', ''] 2022-06-24 01:19:01,625:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['discard', 4, '', ''] 2022-06-24 01:19:01,625:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['Hex2Int:r+1', 1, 'Highest Cell', ''] 2022-06-24 01:19:01,626:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['Hex2Int:r+1', 1, 'Lowest Cell', ''] 2022-06-24 01:19:01,626:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['Hex2Str', 2, 'Flags', ''] 2022-06-24 01:19:01,626:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['discard', 4, '', ''] 2022-06-24 01:19:01,627:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['discard', 7, '', ''] 2022-06-24 01:19:01,627:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['discard', 4, '', ''] 2022-06-24 01:19:01,627:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['discard', 4, '', ''] 2022-06-24 01:19:01,627:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['discard', 45, '', ''] 2022-06-24 01:19:01,628:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['uptime', 3, 'uptime', ''] 2022-06-24 01:19:01,628:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['discard', 5, '', ''] 2022-06-24 01:19:01,628:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['discard', 4, '', ''] 2022-06-24 01:19:01,628:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['discard', 1, '', ''] 2022-06-24 01:19:01,629:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ['Hex2Str', 1, 'Checksum', ''] 2022-06-24 01:19:01,629:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ["lookup:'Voltage Cell{:02d}'.format(m['Highest Cell'][0])", 0, 'Highest Cell Voltage', 'V'] 2022-06-24 01:19:01,629:DEBUG:jkabstractprotocol:get_responses@131: Got defn: ["lookup:'Voltage Cell{:02d}'.format(m['Lowest Cell'][0])", 0, 'Lowest Cell Voltage', 'V'] 2022-06-24 01:19:01,630:DEBUG:abstractprotocol:decode@240: trimmed and split responses: [bytearray(b'U\xaa\xeb\x90'), bytearray(b'\x02'), bytearray(b'e'), bytearray(b'\xcd\x0c\xcd\x0c'), bytearray(b'\xce\x0c\xcb\x0c'), bytearray(b'\xcd\x0c\xcc\x0c'), bytearray(b'\xcc\x0c\xcc\x0c'), bytearray(b'\xcc\x0c\xcb\x0c'), bytearray(b'\xcd\x0c\xcc\x0c'), bytearray(b'\xcb\x0c\xce\x0c'), bytearray(b'\xcd\x0c\xcd\x0c'), bytearray(b'\x00\x00\x00\x00'), bytearray(b'\x00\x00\x00\x00'), bytearray(b'\x00\x00\x00\x00'), bytearray(b'\x00\x00\x00\x00'), bytearray(b'\xff\xff\x00\x00'), bytearray(b'\xcc\x0c\x06\x00'), bytearray(b'\x01\x07\x8c\x00'), bytearray(b'\x86\x00\x8a\x00'), bytearray(b'\x86\x00\x8b\x00'), bytearray(b'\x85\x00\x8b\x00'), bytearray(b'\x85\x00\x8a\x00'), bytearray(b'\x85\x00\x89\x00'), bytearray(b'\x86\x00\x8a\x00'), bytearray(b'\x85\x00\x8a\x00'), bytearray(b'\x86\x00\x00\x00'), bytearray(b'\x00\x00\x00\x00'), bytearray(b'\x00\x00\x00\x00'), bytearray(b'\x00\x00\x00\x00'), bytearray(b'\x00\x00\x00\x00'), bytearray(b'\x00\x00\x00\x00'), bytearray(b'\xc7\xcc\x00\x00'), bytearray(b'\x8b\n\x0b\x00'), bytearray(b'\x15\xca\xff\xff'), bytearray(b'\x12\x01\x04\x01'), bytearray(b';\x01\x00\x00'), bytearray(b'\x00\x00\x006'), bytearray(b'\xaaU\x02\x00'), bytearray(b'\xc0E\x04\x00'), bytearray(b'\x00\x00\x00\x00'), bytearray(b'u_\x03\x00'), bytearray(b'd\x00\x05\t'), bytearray(b'\xba\xb7\x01\x00'), bytearray(b'\x01\x01\xd9\x06'), bytearray(b'\x00\x00\x00\x00'), bytearray(b'\x00\x00\x00\x00'), bytearray(b'\x00\x00\x00\x00'), bytearray(b'\x07\x00\x01\x00'), bytearray(b'\x00\x00\xc9\x02'), bytearray(b'\x00\x00y\x00'), bytearray(b'\x84\xf2>@'), bytearray(b'\x00\x00\x00\x00'), bytearray(b'\xe2\x04\x00\x00'), bytearray(b'\x00\x00\x00\x01'), bytearray(b'\x00\x05\x00\x00'), bytearray(b'G-\x11\x00'), bytearray(b'\x00'), bytearray(b'\x00'), bytearray(b'\x00\x00'), bytearray(b'\x00\x00\x00\x00'), bytearray(b'\x00\x00\x00\x00\x00\x00\x00'), bytearray(b'\x00\x00\x00\x00'), bytearray(b'\x00\x00\x00\x00'), bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'), bytearray(b'\x00\x00\x00'), bytearray(b'\x00\x00\x00\x00\x00'), bytearray(b'\x00\x00\x00\x00'), bytearray(b'\x00'), bytearray(b'\xbc'), 'lookup', 'lookup'] 2022-06-24 01:19:01,630:DEBUG:abstractprotocol:decode@409: Processing POSITIONAL type responses 2022-06-24 01:19:01,630:DEBUG:abstractprotocol:decode@431: Got defn ['Hex2Str', 4, 'Header', ''] 2022-06-24 01:19:01,631:DEBUG:abstractprotocol:process_response@103: Processing data_type: Hex2Str for data_name: Header, raw_value bytearray(b'U\xaa\xeb\x90') 2022-06-24 01:19:01,631:DEBUG:abstractprotocol:process_response@175: Processing format string Hex2Str(raw_value) 2022-06-24 01:19:01,632:DEBUG:protocol_helpers:Hex2Str@109: Hex bytearray(b'U\xaa\xeb\x90') decoded to 55aaeb90 2022-06-24 01:19:01,632:DEBUG:abstractprotocol:decode@409: Processing POSITIONAL type responses 2022-06-24 01:19:01,632:DEBUG:abstractprotocol:decode@431: Got defn ['Hex2Str', 1, 'Record Type', ''] 2022-06-24 01:19:01,633:DEBUG:abstractprotocol:process_response@103: Processing data_type: Hex2Str for data_name: Record 2022-06-24 01:19:01,687:DEBUG:abstractprotocol:decode@409: Processing POSITIONAL type responses 2022-06-24 01:19:01,687:DEBUG:abstractprotocol:decode@431: Got defn ['discard', 4, '', ''] 2022-06-24 01:19:01,687:DEBUG:abstractprotocol:process_response@103: Processing data_type: discard for data_name: , raw_value bytearray(b'\x00\x05\x00\x00') 2022-06-24 01:19:01,687:DEBUG:abstractprotocol:process_response@111: Discarding :bytearray(b'\x00\x05\x00\x00') 2022-06-24 01:19:01,687:DEBUG:abstractprotocol:decode@409: Processing POSITIONAL type responses 2022-06-24 01:19:01,687:DEBUG:abstractprotocol:decode@431: Got defn ['discard', 4, '', ''] 2022-06-24 01:19:01,687:DEBUG:abstractprotocol:process_response@103: Processing data_type: discard for data_name: , raw_value bytearray(b'G-\x11\x00') 2022-06-24 01:19:01,688:DEBUG:abstractprotocol:process_response@111: Discarding :bytearray(b'G-\x11\x00') 2022-06-24 01:19:01,688:DEBUG:abstractprotocol:decode@409: Processing POSITIONAL type responses 2022-06-24 01:19:01,688:DEBUG:abstractprotocol:decode@431: Got defn ['Hex2Int:r+1', 1, 'Highest Cell', ''] 2022-06-24 01:19:01,688:DEBUG:abstractprotocol:process_response@102: Got template r+1 for Highest Cell bytearray(b'\x00') 2022-06-24 01:19:01,688:DEBUG:abstractprotocol:process_response@103: Processing data_type: Hex2Int for data_name: Highest Cell, raw_value bytearray(b'\x00') 2022-06-24 01:19:01,688:DEBUG:abstractprotocol:process_response@175: Processing format string Hex2Int(raw_value) 2022-06-24 01:19:01,689:DEBUG:protocol_helpers:Hex2Int@96: Hex bytearray(b'\x00') decoded to 0 2022-06-24 01:19:01,689:DEBUG:abstractprotocol:decode@409: Processing POSITIONAL type responses 2022-06-24 01:19:01,689:DEBUG:abstractprotocol:decode@431: Got defn ['Hex2Int:r+1', 1, 'Lowest Cell', ''] 2022-06-24 01:19:01,689:DEBUG:abstractprotocol:process_response@102: Got template r+1 for Lowest Cell bytearray(b'\x00') 2022-06-24 01:19:01,689:DEBUG:abstractprotocol:process_response@103: Processing data_type: Hex2Int for data_name: Lowest Cell, raw_value bytearray(b'\x00') 2022-06-24 01:19:01,690:DEBUG:abstractprotocol:process_response@175: Processing format string Hex2Int(raw_value) 2022-06-24 01:19:01,690:DEBUG:protocol_helpers:Hex2Int@96: Hex bytearray(b'\x00') decoded to 0 2022-06-24 01:19:01,690:DEBUG:abstractprotocol:decode@409: Processing POSITIONAL type responses 2022-06-24 01:19:01,690:DEBUG:abstractprotocol:decode@431: Got defn ['Hex2Str', 2, 'Flags', ''] 2022-06-24 01:19:01,690:DEBUG:abstractprotocol:process_response@103: Processing data_type: Hex2Str for data_name: Flags, raw_value bytearray(b'\x00\x00') 2022-06-24 01:19:01,690:DEBUG:abstractprotocol:process_response@175: Processing format string Hex2Str(raw_value) 2022-06-24 01:19:01,691:DEBUG:protocol_helpers:Hex2Str@109: Hex bytearray(b'\x00\x00') decoded to 0000 2022-06-24 01:19:01,691:DEBUG:abstractprotocol:decode@409: Processing POSITIONAL type responses 2022-06-24 01:19:01,691:DEBUG:abstractprotocol:decode@431: Got defn ['discard', 4, '', ''] 2022-06-24 01:19:01,691:DEBUG:abstractprotocol:process_response@103: Processing data_type: discard for data_name: , raw_value bytearray(b'\x00\x00\x00\x00') 2022-06-24 01:19:01,691:DEBUG:abstractprotocol:process_response@111: Discarding :bytearray(b'\x00\x00\x00\x00') 2022-06-24 01:19:01,691:DEBUG:abstractprotocol:decode@409: Processing POSITIONAL type responses 2022-06-24 01:19:01,692:DEBUG:abstractprotocol:decode@431: Got defn ['discard', 7, '', ''] 2022-06-24 01:19:01,692:DEBUG:abstractprotocol:process_response@103: Processing data_type: discard for data_name: , raw_value bytearray(b'\x00\x00\x00\x00\x00\x00\x00') 2022-06-24 01:19:01,692:DEBUG:abstractprotocol:process_response@111: Discarding :bytearray(b'\x00\x00\x00\x00\x00\x00\x00') 2022-06-24 01:19:01,692:DEBUG:abstractprotocol:decode@409: Processing POSITIONAL type responses 2022-06-24 01:19:01,692:DEBUG:abstractprotocol:decode@431: Got defn ['discard', 4, '', ''] 2022-06-24 01:19:01,692:DEBUG:abstractprotocol:process_response@103: Processing data_type: discard for data_name: , raw_value bytearray(b'\x00\x00\x00\x00') 2022-06-24 01:19:01,693:DEBUG:abstractprotocol:process_response@111: Discarding :bytearray(b'\x00\x00\x00\x00') 2022-06-24 01:19:01,693:DEBUG:abstractprotocol:decode@409: Processing POSITIONAL type responses 2022-06-24 01:19:01,693:DEBUG:abstractprotocol:decode@431: Got defn ['discard', 4, '', ''] 2022-06-24 01:19:01,693:DEBUG:abstractprotocol:process_response@103: Processing data_type: discard for data_name: , raw_value bytearray(b'\x00\x00\x00\x00') 2022-06-24 01:19:01,693:DEBUG:abstractprotocol:process_response@111: Discarding :bytearray(b'\x00\x00\x00\x00') 2022-06-24 01:19:01,693:DEBUG:abstractprotocol:decode@409: Processing POSITIONAL type responses 2022-06-24 01:19:01,693:DEBUG:abstractprotocol:decode@431: Got defn ['discard', 45, '', ''] 2022-06-24 01:19:01,694:DEBUG:abstractprotocol:process_response@103: Processing data_type: discard for data_name: , raw_value bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') 2022-06-24 01:19:01,694:DEBUG:abstractprotocol:process_response@111: Discarding :bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') 2022-06-24 01:19:01,694:DEBUG:abstractprotocol:decode@409: Processing POSITIONAL type responses 2022-06-24 01:19:01,694:DEBUG:abstractprotocol:decode@431: Got defn ['uptime', 3, 'uptime', ''] 2022-06-24 01:19:01,694:DEBUG:abstractprotocol:process_response@103: Processing data_type: uptime for data_name: uptime, raw_value bytearray(b'\x00\x00\x00') 2022-06-24 01:19:01,694:DEBUG:abstractprotocol:process_response@175: Processing format string uptime(raw_value) 2022-06-24 01:19:01,695:DEBUG:protocol_helpers:uptime@72: uptime defn 2022-06-24 01:19:01,695:DEBUG:protocol_helpers:uptime@77: Uptime int value 0 for pos 0 2022-06-24 01:19:01,695:DEBUG:protocol_helpers:uptime@77: Uptime int value 0 for pos 1 2022-06-24 01:19:01,695:DEBUG:protocol_helpers:uptime@77: Uptime int value 0 for pos 2 2022-06-24 01:19:01,695:INFO:protocol_helpers:uptime@87: Uptime result 0D0H0M0S 2022-06-24 01:19:01,696:DEBUG:abstractprotocol:decode@409: Processing POSITIONAL type responses 2022-06-24 01:19:01,696:DEBUG:abstractprotocol:decode@431: Got defn ['discard', 5, '', ''] 2022-06-24 01:19:01,696:DEBUG:abstractprotocol:process_response@103: Processing data_type: discard for data_name: , raw_value bytearray(b'\x00\x00\x00\x00\x00') 2022-06-24 01:19:01,696:DEBUG:abstractprotocol:process_response@111: Discarding :bytearray(b'\x00\x00\x00\x00\x00') 2022-06-24 01:19:01,696:DEBUG:abstractprotocol:decode@409: Processing POSITIONAL type responses 2022-06-24 01:19:01,696:DEBUG:abstractprotocol:decode@431: Got defn ['discard', 4, '', ''] 2022-06-24 01:19:01,697:DEBUG:abstractprotocol:process_response@103: Processing data_type: discard for data_name: , raw_value bytearray(b'\x00\x00\x00\x00') 2022-06-24 01:19:01,697:DEBUG:abstractprotocol:process_response@111: Discarding :bytearray(b'\x00\x00\x00\x00') 2022-06-24 01:19:01,697:DEBUG:abstractprotocol:decode@409: Processing POSITIONAL type responses 2022-06-24 01:19:01,697:DEBUG:abstractprotocol:decode@431: Got defn ['discard', 1, '', ''] 2022-06-24 01:19:01,697:DEBUG:abstractprotocol:process_response@103: Processing data_type: discard for data_name: , raw_value bytearray(b'\x00') 2022-06-24 01:19:01,697:DEBUG:abstractprotocol:process_response@111: Discarding :bytearray(b'\x00') 2022-06-24 01:19:01,697:DEBUG:abstractprotocol:decode@409: Processing POSITIONAL type responses 2022-06-24 01:19:01,698:DEBUG:abstractprotocol:decode@431: Got defn ['Hex2Str', 1, 'Checksum', ''] 2022-06-24 01:19:01,698:DEBUG:abstractprotocol:process_response@103: Processing data_type: Hex2Str for data_name: Checksum, raw_value bytearray(b'\xbc') 2022-06-24 01:19:01,698:DEBUG:abstractprotocol:process_response@175: Processing format string Hex2Str(raw_value) 2022-06-24 01:19:01,698:DEBUG:protocol_helpers:Hex2Str@109: Hex bytearray(b'\xbc') decoded to bc 2022-06-24 01:19:01,698:DEBUG:abstractprotocol:decode@409: Processing POSITIONAL type responses 2022-06-24 01:19:01,698:DEBUG:abstractprotocol:decode@431: Got defn ["lookup:'Voltage Cell{:02d}'.format(m['Highest Cell'][0])", 0, 'Highest Cell Voltage', 'V'] 2022-06-24 01:19:01,699:DEBUG:abstractprotocol:decode@439: processing lookup... 2022-06-24 01:19:01,699:INFO:abstractprotocol:decode@440: Processing data_type: 'lookup:'Voltage Cell{:02d}'.format(m['Highest Cell'][0])' for data_name: 'Highest Cell Voltage', raw_value 'lookup' 2022-06-24 01:19:01,699:DEBUG:abstractprotocol:decode@445: Got template 'Voltage Cell{:02d}'.format(m['Highest Cell'][0]) for Highest Cell Voltage lookup 2022-06-24 01:19:01,699:DEBUG:abstractprotocol:decode@447: looking up values for: Voltage Cell01 2022-06-24 01:19:01,699:DEBUG:abstractprotocol:decode@409: Processing POSITIONAL type responses 2022-06-24 01:19:01,700:DEBUG:abstractprotocol:decode@431: Got defn ["lookup:'Voltage Cell{:02d}'.format(m['Lowest Cell'][0])", 0, 'Lowest Cell Voltage', 'V'] 2022-06-24 01:19:01,700:DEBUG:abstractprotocol:decode@439: processing lookup... 2022-06-24 01:19:01,700:INFO:abstractprotocol:decode@440: Processing data_type: 'lookup:'Voltage Cell{:02d}'.format(m['Lowest Cell'][0])' for data_name: 'Lowest Cell Voltage', raw_value 'lookup' 2022-06-24 01:19:01,700:DEBUG:abstractprotocol:decode@445: Got template 'Voltage Cell{:02d}'.format(m['Lowest Cell'][0]) for Lowest Cell Voltage lookup 2022-06-24 01:19:01,700:DEBUG:abstractprotocol:decode@447: looking up values for: Voltage Cell01 2022-06-24 01:19:01,701:INFO:device:run_command@341: Decoded response {'raw_response': ['Uªë\x90\x02eÍ\x0cÍ\x0cÎ\x0cË\x0cÍ\x0cÌ\x0cÌ\x0cÌ\x0cÌ\x0cË\x0cÍ\x0cÌ\x0cË\x0cÎ\x0cÍ\x0cÍ\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00ÿÿ\x00\x00Ì\x0c\x06\x00\x01\x07\x8c\x00\x86\x00\x8a\x00\x86\x00\x8b\x00\x85\x00\x8b\x00\x85\x00\x8a\x00\x85\x00\x89\x00\x86\x00\x8a\x00\x85\x00\x8a\x00\x86\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00ÇÌ\x00\x00\x8b\n\x0b\x00\x15Êÿÿ\x12\x01\x04\x01;\x01\x00\x00\x00\x00\x006ªU\x02\x00ÀE\x04\x00\x00\x00\x00\x00u_\x03\x00d\x00\x05\tº·\x01\x00\x01\x01Ù\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x00\x01\x00\x00\x00É\x02\x00\x00y\x00\x84ò>@\x00\x00\x00\x00â\x04\x00\x00\x00\x00\x00\x01\x00\x05\x00\x00G-\x11\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00¼', ''], '_command': 'getCellData', 'command_description': 'BLE Cell Data inquiry', 'Header': ['55aaeb90', ''], 'Record Type': ['02', ''], 'Record Counter': [101, ''], 'Voltage Cell01': [3.1592955277925957e-31, 'V'], 'Voltage Cell02': [3.12848088378127e-31, 'V'], 'Voltage Cell03': [3.143888088237498e-31, 'V'], 'Voltage Cell04': [3.1438878531386277e-31, 'V'], 'Voltage Cell05': [3.12848041358353e-31, 'V'], 'Voltage Cell06': [3.143888088237498e-31, 'V'], 'Voltage Cell07': [3.1747024971499533e-31, 'V'], 'Voltage Cell08': [3.1592955277925957e-31, 'V'], 'Voltage Cell09': [0.0, 'V'], 'Voltage Cell10': [0.0, 'V'], 'Voltage Cell11': [0.0, 'V'], 'Voltage Cell12': [0.0, 'V'], 'Voltage Cell13': [9.183409485952689e-41, 'V'], 'Voltage Cell14': [5.556036307170754e-40, 'V'], 'Voltage Cell15': [1.2859481990265304e-38, 'V'], 'Voltage Cell16': [1.2673486243797007e-38, 'V'], 'Voltage Cell17': [1.2765321739954998e-38, 'V'], 'Voltage Cell18': [1.2765320338656534e-38, 'V'], 'Voltage Cell19': [1.2673484842498542e-38, 'V'], 'Voltage Cell20': [1.258164934634055e-38, 'V'], 'Voltage Cell21': [1.2673486243797007e-38, 'V'], 'Voltage Cell22': [1.2673484842498542e-38, 'V'], 'Voltage Cell23': [1.877739942195255e-43, 'V'], 'Voltage Cell24': [0.0, 'V'], 'Resistance Cell01': [0.0, 'Ohm'], 'Resistance Cell02': [0.0, 'Ohm'], 'Resistance Cell03': [0.0, 'Ohm'], 'Resistance Cell04': [0.0, 'Ohm'], 'Resistance Cell05': [7.346026939529989e-41, 'Ohm'], 'Resistance Cell06': [1.013972562293116e-39, 'Ohm'], 'Resistance Cell07': [nan, 'Ohm'], 'Resistance Cell08': [2.424533889726813e-38, 'Ohm'], 'Resistance Cell09': [4.414090162623174e-43, 'Ohm'], 'Resistance Cell10': [1.9073486328125e-06, 'Ohm'], 'Resistance Cell11': [2.1440146763862566e-40, 'Ohm'], 'Resistance Cell12': [3.923635700109488e-40, 'Ohm'], 'Resistance Cell13': [0.0, 'Ohm'], 'Resistance Cell14': [3.097500190466792e-40, 'Ohm'], 'Resistance Cell15': [1.6009476333711214e-33, 'Ohm'], 'Resistance Cell16': [1.5774416812904466e-40, 'Ohm'], 'Resistance Cell17': [8.162780282875668e-35, 'Ohm'], 'Resistance Cell18': [0.0, 'Ohm'], 'Resistance Cell19': [0.0, 'Ohm'], 'Resistance Cell20': [0.0, 'Ohm'], 'Resistance Cell21': [9.184530524724149e-41, 'Ohm'], 'Resistance Cell22': [2.9534295564409974e-37, 'Ohm'], 'Resistance Cell23': [1.1112095035116937e-38, 'Ohm'], 'Resistance Cell24': [2.9835519790649414, 'Ohm'], 'Resistance Cell25': [0.0, 'Ohm'], 'Average Cell Voltage': [1.7516230804060213e-42, 'V'], 'Delta Cell Voltage': [2.350988701644575e-38, 'V'], 'Highest Cell': [1, ''], 'Lowest Cell': [1, ''], 'Flags': ['0000', ''], 'uptime': ['0D0H0M0S', ''], 'Checksum': ['bc', ''], 'Highest Cell Voltage': [3.1592955277925957e-31, 'V'], 'Lowest Cell Voltage': [3.1592955277925957e-31, 'V']} 2022-06-24 01:19:01,702:DEBUG:init:main@409: results: {'raw_response': ['Uªë\x90\x02eÍ\x0cÍ\x0cÎ\x0cË\x0cÍ\x0cÌ\x0cÌ\x0cÌ\x0cÌ\x0cË\x0cÍ\x0cÌ\x0cË\x0cÎ\x0cÍ\x0cÍ\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00ÿÿ\x00\x00Ì\x0c\x06\x00\x01\x07\x8c\x00\x86\x00\x8a\x00\x86\x00\x8b\x00\x85\x00\x8b\x00\x85\x00\x8a\x00\x85\x00\x89\x00\x86\x00\x8a\x00\x85\x00\x8a\x00\x86\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00ÇÌ\x00\x00\x8b\n\x0b\x00\x15Êÿÿ\x12\x01\x04\x01;\x01\x00\x00\x00\x00\x006ªU\x02\x00ÀE\x04\x00\x00\x00\x00\x00u\x03\x00d\x00\x05\tº·\x01\x00\x01\x01Ù\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x00\x01\x00\x00\x00É\x02\x00\x00y\x00\x84ò>@\x00\x00\x00\x00â\x04\x00\x00\x00\x00\x00\x01\x00\x05\x00\x00G-\x11\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00¼', ''], '_command': 'getCellData', 'command_description': 'BLE Cell Data inquiry', 'Header': ['55aaeb90', ''], 'Record Type': ['02', ''], 'Record Counter': [101, ''], 'Voltage Cell01': [3.1592955277925957e-31, 'V'], 'Voltage Cell02': [3.12848088378127e-31, 'V'], 'Voltage Cell03': [3.143888088237498e-31, 'V'], 'Voltage Cell04': [3.1438878531386277e-31, 'V'], 'Voltage Cell05': [3.12848041358353e-31, 'V'], 'Voltage Cell06': [3.143888088237498e-31, 'V'], 'Voltage Cell07': [3.1747024971499533e-31, 'V'], 'Voltage Cell08': [3.1592955277925957e-31, 'V'], 'Voltage Cell09': [0.0, 'V'], 'Voltage Cell10': [0.0, 'V'], 'Voltage Cell11': [0.0, 'V'], 'Voltage Cell12': [0.0, 'V'], 'Voltage Cell13': [9.183409485952689e-41, 'V'], 'Voltage Cell14': [5.556036307170754e-40, 'V'], 'Voltage Cell15': [1.2859481990265304e-38, 'V'], 'Voltage Cell16': [1.2673486243797007e-38, 'V'], 'Voltage Cell17': [1.2765321739954998e-38, 'V'], 'Voltage Cell18': [1.2765320338656534e-38, 'V'], 'Voltage Cell19': [1.2673484842498542e-38, 'V'], 'Voltage Cell20': [1.258164934634055e-38, 'V'], 'Voltage Cell21': [1.2673486243797007e-38, 'V'], 'Voltage Cell22': [1.2673484842498542e-38, 'V'], 'Voltage Cell23': [1.877739942195255e-43, 'V'], 'Voltage Cell24': [0.0, 'V'], 'Resistance Cell01': [0.0, 'Ohm'], 'Resistance Cell02': [0.0, 'Ohm'], 'Resistance Cell03': [0.0, 'Ohm'], 'Resistance Cell04': [0.0, 'Ohm'], 'Resistance Cell05': [7.346026939529989e-41, 'Ohm'], 'Resistance Cell06': [1.013972562293116e-39, 'Ohm'], 'Resistance Cell07': [nan, 'Ohm'], 'Resistance Cell08': [2.424533889726813e-38, 'Ohm'], 'Resistance Cell09': [4.414090162623174e-43, 'Ohm'], 'Resistance Cell10': [1.9073486328125e-06, 'Ohm'], 'Resistance Cell11': [2.1440146763862566e-40, 'Ohm'], 'Resistance Cell12': [3.923635700109488e-40, 'Ohm'], 'Resistance Cell13': [0.0, 'Ohm'], 'Resistance Cell14': [3.097500190466792e-40, 'Ohm'], 'Resistance Cell15': [1.6009476333711214e-33, 'Ohm'], 'Resistance Cell16': [1.5774416812904466e-40, 'Ohm'], 'Resistance Cell17': [8.162780282875668e-35, 'Ohm'], 'Resistance Cell18': [0.0, 'Ohm'], 'Resistance Cell19': [0.0, 'Ohm'], 'Resistance Cell20': [0.0, 'Ohm'], 'Resistance Cell21': [9.184530524724149e-41, 'Ohm'], 'Resistance Cell22': [2.9534295564409974e-37, 'Ohm'], 'Resistance Cell23': [1.1112095035116937e-38, 'Ohm'], 'Resistance Cell24': [2.9835519790649414, 'Ohm'], 'Resistance Cell25': [0.0, 'Ohm'], 'Average Cell Voltage': [1.7516230804060213e-42, 'V'], 'Delta Cell Voltage': [2.350988701644575e-38, 'V'], 'Highest Cell': [1, ''], 'Lowest Cell': [1, ''], 'Flags': ['0000', ''], 'uptime': ['0D0H0M0S', ''], 'Checksum': ['bc', ''], 'Highest Cell Voltage': [3.1592955277925957e-31, 'V'], 'Lowest Cell Voltage': [3.1592955277925957e-31, 'V']} 2022-06-24 01:19:01,702:INFO:init:get_output@34: attempting to create output processor: screen 2022-06-24 01:19:01,704:DEBUG:screen:init@16: processor.screen init kwargs {} 2022-06-24 01:19:01,705:DEBUG:init:main@415: Using output filter: None 2022-06-24 01:19:01,705:INFO:screen:output@19: Using output processor: screen 2022-06-24 01:19:01,706:DEBUG:screen:output@20: kwargs {'data': {'raw_response': ['Uªë\x90\x02eÍ\x0cÍ\x0cÎ\x0cË\x0cÍ\x0cÌ\x0cÌ\x0cÌ\x0cÌ\x0cË\x0cÍ\x0cÌ\x0cË\x0cÎ\x0cÍ\x0cÍ\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00ÿÿ\x00\x00Ì\x0c\x06\x00\x01\x07\x8c\x00\x86\x00\x8a\x00\x86\x00\x8b\x00\x85\x00\x8b\x00\x85\x00\x8a\x00\x85\x00\x89\x00\x86\x00\x8a\x00\x85\x00\x8a\x00\x86\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00ÇÌ\x00\x00\x8b\n\x0b\x00\x15Êÿÿ\x12\x01\x04\x01;\x01\x00\x00\x00\x00\x006ªU\x02\x00ÀE\x04\x00\x00\x00\x00\x00u\x03\x00d\x00\x05\tº·\x01\x00\x01\x01Ù\x06\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x00\x01\x00\x00\x00É\x02\x00\x00y\x00\x84ò>@\x00\x00\x00\x00â\x04\x00\x00\x00\x00\x00\x01\x00\x05\x00\x00G-\x11\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00¼', ''], '_command': 'getCellData', '_command_description': 'BLE Cell Data inquiry', 'Header': ['55aaeb90', ''], 'Record Type': ['02', ''], 'Record Counter': [101, ''], 'Voltage Cell01': [3.1592955277925957e-31, 'V'], 'Voltage Cell02': [3.12848088378127e-31, 'V'], 'Voltage Cell03': [3.143888088237498e-31, 'V'], 'Voltage Cell04': [3.1438878531386277e-31, 'V'], 'Voltage Cell05': [3.12848041358353e-31, 'V'], 'Voltage Cell06': [3.143888088237498e-31, 'V'], 'Voltage Cell07': [3.1747024971499533e-31, 'V'], 'Voltage Cell08': [3.1592955277925957e-31, 'V'], 'Voltage Cell09': [0.0, 'V'], 'Voltage Cell10': [0.0, 'V'], 'Voltage Cell11': [0.0, 'V'], 'Voltage Cell12': [0.0, 'V'], 'Voltage Cell13': [9.183409485952689e-41, 'V'], 'Voltage Cell14': [5.556036307170754e-40, 'V'], 'Voltage Cell15': [1.2859481990265304e-38, 'V'], 'Voltage Cell16': [1.2673486243797007e-38, 'V'], 'Voltage Cell17': [1.2765321739954998e-38, 'V'], 'Voltage Cell18': [1.2765320338656534e-38, 'V'], 'Voltage Cell19': [1.2673484842498542e-38, 'V'], 'Voltage Cell20': [1.258164934634055e-38, 'V'], 'Voltage Cell21': [1.2673486243797007e-38, 'V'], 'Voltage Cell22': [1.2673484842498542e-38, 'V'], 'Voltage Cell23': [1.877739942195255e-43, 'V'], 'Voltage Cell24': [0.0, 'V'], 'Resistance Cell01': [0.0, 'Ohm'], 'Resistance Cell02': [0.0, 'Ohm'], 'Resistance Cell03': [0.0, 'Ohm'], 'Resistance Cell04': [0.0, 'Ohm'], 'Resistance Cell05': [7.346026939529989e-41, 'Ohm'], 'Resistance Cell06': [1.013972562293116e-39, 'Ohm'], 'Resistance Cell07': [nan, 'Ohm'], 'Resistance Cell08': [2.424533889726813e-38, 'Ohm'], 'Resistance Cell09': [4.414090162623174e-43, 'Ohm'], 'Resistance Cell10': [1.9073486328125e-06, 'Ohm'], 'Resistance Cell11': [2.1440146763862566e-40, 'Ohm'], 'Resistance Cell12': [3.923635700109488e-40, 'Ohm'], 'Resistance Cell13': [0.0, 'Ohm'], 'Resistance Cell14': [3.097500190466792e-40, 'Ohm'], 'Resistance Cell15': [1.6009476333711214e-33, 'Ohm'], 'Resistance Cell16': [1.5774416812904466e-40, 'Ohm'], 'Resistance Cell17': [8.162780282875668e-35, 'Ohm'], 'Resistance Cell18': [0.0, 'Ohm'], 'Resistance Cell19': [0.0, 'Ohm'], 'Resistance Cell20': [0.0, 'Ohm'], 'Resistance Cell21': [9.184530524724149e-41, 'Ohm'], 'Resistance Cell22': [2.9534295564409974e-37, 'Ohm'], 'Resistance Cell23': [1.1112095035116937e-38, 'Ohm'], 'Resistance Cell24': [2.9835519790649414, 'Ohm'], 'Resistance Cell25': [0.0, 'Ohm'], 'Average Cell Voltage': [1.7516230804060213e-42, 'V'], 'Delta Cell Voltage': [2.350988701644575e-38, 'V'], 'Highest Cell': [1, ''], 'Lowest Cell': [1, ''], 'Flags': ['0000', ''], 'uptime': ['0D0H0M0S', ''], 'Checksum': ['bc', ''], 'Highest Cell Voltage': [3.1592955277925957e-31, 'V'], 'Lowest Cell Voltage': [3.1592955277925957e-31, 'V']}, 'tag': 'get_status', 'mqtt_broker': MqttBroker(name='localhost', port=1883, username=None, password=None, results_topic='jkbms', mqttc=<paho.mqtt.client.Client object at 0xb65f8f10>, _isConnected=False), 'udp_port': '5555', 'mongo_url': None, 'mongo_db': 'mppsolar', 'filter': None, 'excl_filter': None, 'keep_case': False} Command: getCellData - BLE Cell Data inquiry
Parameter Value Unit
header 55aaeb90
record_type 02
record_counter 101
voltage_cell01 3.1592955277925957e-31 V
voltage_cell02 3.12848088378127e-31 V
voltage_cell03 3.143888088237498e-31 V
voltage_cell04 3.1438878531386277e-31 V
voltage_cell05 3.12848041358353e-31 V
voltage_cell06 3.143888088237498e-31 V
voltage_cell07 3.1747024971499533e-31 V
voltage_cell08 3.1592955277925957e-31 V
voltage_cell09 0.0 V
voltage_cell10 0.0 V
voltage_cell11 0.0 V
voltage_cell12 0.0 V
voltage_cell13 9.183409485952689e-41 V
voltage_cell14 5.556036307170754e-40 V
voltage_cell15 1.2859481990265304e-38 V
voltage_cell16 1.2673486243797007e-38 V
voltage_cell17 1.2765321739954998e-38 V
voltage_cell18 1.2765320338656534e-38 V
voltage_cell19 1.2673484842498542e-38 V
voltage_cell20 1.258164934634055e-38 V
voltage_cell21 1.2673486243797007e-38 V
voltage_cell22 1.2673484842498542e-38 V
voltage_cell23 1.877739942195255e-43 V
voltage_cell24 0.0 V
resistance_cell01 0.0 Ohm
resistance_cell02 0.0 Ohm
resistance_cell03 0.0 Ohm
resistance_cell04 0.0 Ohm
resistance_cell05 7.346026939529989e-41 Ohm
resistance_cell06 1.013972562293116e-39 Ohm
resistance_cell07 nan Ohm
resistance_cell08 2.424533889726813e-38 Ohm
resistance_cell09 4.414090162623174e-43 Ohm
resistance_cell10 1.9073486328125e-06 Ohm
resistance_cell11 2.1440146763862566e-40 Ohm
resistance_cell12 3.923635700109488e-40 Ohm
resistance_cell13 0.0 Ohm
resistance_cell14 3.097500190466792e-40 Ohm
resistance_cell15 1.6009476333711214e-33 Ohm
resistance_cell16 1.5774416812904466e-40 Ohm
resistance_cell17 8.162780282875668e-35 Ohm
resistance_cell18 0.0 Ohm
resistance_cell19 0.0 Ohm
resistance_cell20 0.0 Ohm
resistance_cell21 9.184530524724149e-41 Ohm
resistance_cell22 2.9534295564409974e-37 Ohm
resistance_cell23 1.1112095035116937e-38 Ohm
resistance_cell24 2.9835519790649414 Ohm
resistance_cell25 0.0 Ohm
average_cell_voltage 1.7516230804060213e-42 V
delta_cell_voltage 2.350988701644575e-38 V
highest_cell 1
lowest_cell 1
flags 0000
uptime 0D0H0M0S
checksum bc
highest_cell_voltage 3.1592955277925957e-31 V
lowest_cell_voltage 3.1592955277925957e-31 V
2022-06-24 01:19:01,713:DEBUG:init:main@438: Not daemon, so not looping
It looks like the JK04 protocol was used to parse the response. If you have a recent BMS model the correct protocol should be JK02. Please try to issue the same command and select the JK02 protocol using the protocol option parameter.
Yes thank You - didnt checked that JK04 is default one. Also is there possible to set some timeout waiting for data so that when jkbms (hangs) it can be killed after some timout waiting data from BMS ? Because many times there is problem with reading data from BMS over BLE - jkbms apps just waiting for data like 10 , 20 or 30 minutes...
i thought it did time out. the jkbms code needs work, i'll try to find the error and fix it