Hello. Can anyone help me solve the problem?
Hello BMS Pace
Starting up...
Loading options.json
Config: {"mqtt_host": "192.168.100.100", "mqtt_port": 1883, "mqtt_user": "mqtt", "mqtt_password": "mqtt", "mqtt_ha_discovery": true, "mqtt_ha_discovery_topic": "homeassistant", "mqtt_base_topic": "bmspace", "connection_type": "IP", "bms_ip": "192.168.100.220", "bms_port": 9999, "bms_serial": "/dev/", "scan_interval": 7, "debug_output": 3, "force_pack_offset": 0, "zero_pad_number_cells": 0, "zero_pad_number_packs": 0}
Connection Type: IP
MQTT connected with result code 0
Connecting to BMS...
trying to connect 192.168.100.220:9999
BMS socket connected
-> Outgoing Data: b'~250146C10000FD9A\r'
<- Incoming data: b'~2\x00\x00\x00\x0c6C10000FD9A\r'
SOI: 0x7e
VER: b'2\x00'
ADR: b'\x00\x00'
CID1 (Type): b'\x0c6'
RTN: b'C1'
LENGTH: b'0000'
- LCHKSUM: 48
- LENID: b'000'
- LENID (int): 0
INFO: b''
CHKSUM: b'FD9A'
Calc CHKSUM: FE58
Received and calculated CHKSUM does not match: Received: FD9A, Calculated: FE58
...for incoming data: b'~2\x00\x00\x00\x0c6C10000FD9A\r' |Hex: 7e 32 00 00 00 0c 36 43 31 30 30 30 30 46 44 39 41 0d
Length of incoming data as measured: 18
SOI: 0x7e
VER: b'2\x00'
ADR: b'\x00\x00'
CID1 (Type): b'\x0c6'
RTN (decode!): b'C1'
LENGTH: b'0000'
- LCHKSUM: 48
- LENID: b'000'
- LENID (int): 0
INFO: b''
CHKSUM: b'FD9A'
Error retrieving BMS version number
-> Outgoing Data: b'~250146C20000FD99\r'
<- Incoming data: b'~2\x00\x00\x00\x0c6C20000FD99\r'
SOI: 0x7e
VER: b'2\x00'
ADR: b'\x00\x00'
CID1 (Type): b'\x0c6'
RTN: b'C2'
LENGTH: b'0000'
- LCHKSUM: 48
- LENID: b'000'
- LENID (int): 0
INFO: b''
CHKSUM: b'FD99'
Calc CHKSUM: FE57
Received and calculated CHKSUM does not match: Received: FD99, Calculated: FE57
...for incoming data: b'~2\x00\x00\x00\x0c6C20000FD99\r' |Hex: 7e 32 00 00 00 0c 36 43 32 30 30 30 30 46 44 39 39 0d
Length of incoming data as measured: 18
SOI: 0x7e
VER: b'2\x00'
ADR: b'\x00\x00'
CID1 (Type): b'\x0c6'
RTN (decode!): b'C2'
LENGTH: b'0000'
- LCHKSUM: 48
- LENID: b'000'
- LENID (int): 0
INFO: b''
CHKSUM: b'FD99'
Error: Checksum error
Error retrieving BMS and pack serial numbers. This is required for HA Discovery. Exiting...
Script exiting