shining-man / bsc_fw

Firmware battery safety controller (BSC)
MIT License
96 stars 18 forks source link

JK Inverter BMS: Falsche Anzeige Module online / offline #144

Closed a-wolter closed 1 month ago

a-wolter commented 1 month ago

Test-Szenario:

Setting:

Test: Daisy Chain unterbrochen, damit BSC nur noch Pack 5 (ID5), an dem auch der BSC selbst hängt, sehen kann.

Erwartetes Ergebnis:

Ergebnis:

I (2024-08-01 11:53:27) LOG: Logfiles gelöscht I (2024-08-01 11:53:27) MAIN: Logfile deleted E (2024-08-01 11:53:49) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:53:49) BSC_SERIAL: ERROR: device=2, reason=Checksum wrong E (2024-08-01 11:53:50) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:53:50) BSC_SERIAL: ERROR: device=3, reason=Checksum wrong E (2024-08-01 11:53:50) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:53:50) BSC_SERIAL: ERROR: device=4, reason=Checksum wrong E (2024-08-01 11:53:50) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:53:50) BSC_SERIAL: ERROR: device=5, reason=Checksum wrong E (2024-08-01 11:53:52) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:53:52) BSC_SERIAL: ERROR: device=2, reason=Checksum wrong E (2024-08-01 11:53:52) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:53:52) BSC_SERIAL: ERROR: device=3, reason=Checksum wrong E (2024-08-01 11:53:52) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:53:52) BSC_SERIAL: ERROR: device=4, reason=Checksum wrong E (2024-08-01 11:53:52) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:53:52) BSC_SERIAL: ERROR: device=5, reason=Checksum wrong E (2024-08-01 11:53:54) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:53:54) BSC_SERIAL: ERROR: device=2, reason=Checksum wrong E (2024-08-01 11:53:54) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:53:54) BSC_SERIAL: ERROR: device=3, reason=Checksum wrong E (2024-08-01 11:53:54) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:53:54) BSC_SERIAL: ERROR: device=4, reason=Checksum wrong E (2024-08-01 11:53:54) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:53:54) BSC_SERIAL: ERROR: device=5, reason=Checksum wrong E (2024-08-01 11:53:56) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:53:56) BSC_SERIAL: ERROR: device=2, reason=Checksum wrong E (2024-08-01 11:53:56) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:53:56) BSC_SERIAL: ERROR: device=3, reason=Checksum wrong E (2024-08-01 11:53:56) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:53:56) BSC_SERIAL: ERROR: device=4, reason=Checksum wrong E (2024-08-01 11:53:57) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:53:57) BSC_SERIAL: ERROR: device=5, reason=Checksum wrong E (2024-08-01 11:53:58) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:53:58) BSC_SERIAL: ERROR: device=2, reason=Checksum wrong E (2024-08-01 11:53:58) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:53:58) BSC_SERIAL: ERROR: device=3, reason=Checksum wrong E (2024-08-01 11:53:59) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:53:59) BSC_SERIAL: ERROR: device=4, reason=Checksum wrong E (2024-08-01 11:53:59) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:53:59) BSC_SERIAL: ERROR: device=5, reason=Checksum wrong E (2024-08-01 11:54:00) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:00) BSC_SERIAL: ERROR: device=2, reason=Checksum wrong E (2024-08-01 11:54:00) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:00) BSC_SERIAL: ERROR: device=3, reason=Checksum wrong E (2024-08-01 11:54:01) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:01) BSC_SERIAL: ERROR: device=4, reason=Checksum wrong E (2024-08-01 11:54:01) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:01) BSC_SERIAL: ERROR: device=5, reason=Checksum wrong E (2024-08-01 11:54:02) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:02) BSC_SERIAL: ERROR: device=2, reason=Checksum wrong E (2024-08-01 11:54:03) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:03) BSC_SERIAL: ERROR: device=3, reason=Checksum wrong E (2024-08-01 11:54:03) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:03) BSC_SERIAL: ERROR: device=4, reason=Checksum wrong E (2024-08-01 11:54:03) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:03) BSC_SERIAL: ERROR: device=5, reason=Checksum wrong I (2024-08-01 11:54:03) ALARM: Trigger 2, value 1 - I (2024-08-01 11:54:03) ALARM: Trigger 2 high, cause 1 E (2024-08-01 11:54:04) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:04) BSC_SERIAL: ERROR: device=2, reason=Checksum wrong E (2024-08-01 11:54:05) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:05) BSC_SERIAL: ERROR: device=3, reason=Checksum wrong E (2024-08-01 11:54:05) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:05) BSC_SERIAL: ERROR: device=4, reason=Checksum wrong E (2024-08-01 11:54:05) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:05) BSC_SERIAL: ERROR: device=5, reason=Checksum wrong E (2024-08-01 11:54:07) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:07) BSC_SERIAL: ERROR: device=2, reason=Checksum wrong E (2024-08-01 11:54:07) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:07) BSC_SERIAL: ERROR: device=3, reason=Checksum wrong E (2024-08-01 11:54:07) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:07) BSC_SERIAL: ERROR: device=4, reason=Checksum wrong E (2024-08-01 11:54:07) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:07) BSC_SERIAL: ERROR: device=5, reason=Checksum wrong E (2024-08-01 11:54:09) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:09) BSC_SERIAL: ERROR: device=2, reason=Checksum wrong E (2024-08-01 11:54:09) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:09) BSC_SERIAL: ERROR: device=3, reason=Checksum wrong E (2024-08-01 11:54:09) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:09) BSC_SERIAL: ERROR: device=4, reason=Checksum wrong E (2024-08-01 11:54:10) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:10) BSC_SERIAL: ERROR: device=5, reason=Checksum wrong E (2024-08-01 11:54:11) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:11) BSC_SERIAL: ERROR: device=2, reason=Checksum wrong E (2024-08-01 11:54:11) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:11) BSC_SERIAL: ERROR: device=3, reason=Checksum wrong E (2024-08-01 11:54:11) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:11) BSC_SERIAL: ERROR: device=4, reason=Checksum wrong E (2024-08-01 11:54:12) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:12) BSC_SERIAL: ERROR: device=5, reason=Checksum wrong E (2024-08-01 11:54:13) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:13) BSC_SERIAL: ERROR: device=2, reason=Checksum wrong E (2024-08-01 11:54:13) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:13) BSC_SERIAL: ERROR: device=3, reason=Checksum wrong E (2024-08-01 11:54:14) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:14) BSC_SERIAL: ERROR: device=4, reason=Checksum wrong E (2024-08-01 11:54:14) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:14) BSC_SERIAL: ERROR: device=5, reason=Checksum wrong E (2024-08-01 11:54:15) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:15) BSC_SERIAL: ERROR: device=2, reason=Checksum wrong E (2024-08-01 11:54:15) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:15) BSC_SERIAL: ERROR: device=3, reason=Checksum wrong E (2024-08-01 11:54:16) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:16) BSC_SERIAL: ERROR: device=4, reason=Checksum wrong E (2024-08-01 11:54:16) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:16) BSC_SERIAL: ERROR: device=5, reason=Checksum wrong E (2024-08-01 11:54:17) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:17) BSC_SERIAL: ERROR: device=2, reason=Checksum wrong E (2024-08-01 11:54:18) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:18) BSC_SERIAL: ERROR: device=3, reason=Checksum wrong E (2024-08-01 11:54:18) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:18) BSC_SERIAL: ERROR: device=4, reason=Checksum wrong E (2024-08-01 11:54:18) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:18) BSC_SERIAL: ERROR: device=5, reason=Checksum wrong E (2024-08-01 11:54:19) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:19) BSC_SERIAL: ERROR: device=2, reason=Checksum wrong E (2024-08-01 11:54:20) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:20) BSC_SERIAL: ERROR: device=3, reason=Checksum wrong E (2024-08-01 11:54:20) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:20) BSC_SERIAL: ERROR: device=4, reason=Checksum wrong E (2024-08-01 11:54:20) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:20) BSC_SERIAL: ERROR: device=5, reason=Checksum wrong E (2024-08-01 11:54:22) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:22) BSC_SERIAL: ERROR: device=2, reason=Checksum wrong E (2024-08-01 11:54:22) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:22) BSC_SERIAL: ERROR: device=3, reason=Checksum wrong E (2024-08-01 11:54:22) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:22) BSC_SERIAL: ERROR: device=4, reason=Checksum wrong E (2024-08-01 11:54:22) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:22) BSC_SERIAL: ERROR: device=5, reason=Checksum wrong E (2024-08-01 11:54:24) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:24) BSC_SERIAL: ERROR: device=2, reason=Checksum wrong E (2024-08-01 11:54:24) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:24) BSC_SERIAL: ERROR: device=3, reason=Checksum wrong E (2024-08-01 11:54:24) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:24) BSC_SERIAL: ERROR: device=4, reason=Checksum wrong E (2024-08-01 11:54:24) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:24) BSC_SERIAL: ERROR: device=5, reason=Checksum wrong E (2024-08-01 11:54:26) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:26) BSC_SERIAL: ERROR: device=2, reason=Checksum wrong E (2024-08-01 11:54:26) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:26) BSC_SERIAL: ERROR: device=3, reason=Checksum wrong E (2024-08-01 11:54:26) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:26) BSC_SERIAL: ERROR: device=4, reason=Checksum wrong E (2024-08-01 11:54:27) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:27) BSC_SERIAL: ERROR: device=5, reason=Checksum wrong E (2024-08-01 11:54:28) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:28) BSC_SERIAL: ERROR: device=2, reason=Checksum wrong E (2024-08-01 11:54:28) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:28) BSC_SERIAL: ERROR: device=3, reason=Checksum wrong E (2024-08-01 11:54:28) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:28) BSC_SERIAL: ERROR: device=4, reason=Checksum wrong E (2024-08-01 11:54:29) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:29) BSC_SERIAL: ERROR: device=5, reason=Checksum wrong E (2024-08-01 11:54:30) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:30) BSC_SERIAL: ERROR: device=2, reason=Checksum wrong E (2024-08-01 11:54:30) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:30) BSC_SERIAL: ERROR: device=3, reason=Checksum wrong E (2024-08-01 11:54:31) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:31) BSC_SERIAL: ERROR: device=4, reason=Checksum wrong E (2024-08-01 11:54:31) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:31) BSC_SERIAL: ERROR: device=5, reason=Checksum wrong E (2024-08-01 11:54:32) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:32) BSC_SERIAL: ERROR: device=2, reason=Checksum wrong E (2024-08-01 11:54:32) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:32) BSC_SERIAL: ERROR: device=3, reason=Checksum wrong E (2024-08-01 11:54:33) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:33) BSC_SERIAL: ERROR: device=4, reason=Checksum wrong E (2024-08-01 11:54:33) MODBUS: Timeout: Serial=2, dataLen=0, available=0 E (2024-08-01 11:54:33) BSC_SERIAL: ERROR: device=5, reason=Checksum wrong I (2024-08-01 11:54:35) ALARM: Trigger 2, value 0 - I (2024-08-01 11:54:35) ALARM: Trigger 2 low, cause 1

a-wolter commented 1 month ago

Funktioniert ab der 0.6.1_T7 korrekt