Closed itgenmar closed 8 months ago
Try to remove BMS_TYPE = Jkbms
from the config.ini
. How far is your BMS from the Venus OS device?
Please provide the logfiles as requested. Please do not use latest
as version and specify the exact version number.
I have tried with and without the BMS_TYPE = Jkbms, I think they are @20cm apart. That is the log is just repeating itself. I have used the nightly one too, and is exactly the same error in the logs. I know that this bms use the protocol or framework jk02_32s (I hope I did remembered correctly). Using a esp32 and the code for esphome I can connect to the bms and receive the info.
Venus os v3.10
Esp32 code is here : https://github.com/syssi/esphome-jk-bms/blob/main/esp32-ble-v11-example.yaml
Can you try an older build like https://github.com/mr-manuel/venus-os_dbus-serialbattery/releases/tag/v1.0.20230525beta?
Exactly the same: @40000000651288651134cedc INFO:SerialBattery: @4000000065128865113b5aa4 INFO:SerialBattery:Starting dbus-serialbattery @400000006512886511497fbc INFO:SerialBattery:dbus-serialbattery v1.0.0 (20230508) @400000006512886527c6ea2c INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41 @400000006512886527cdcfcc INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41 @4000000065128866009ff72c ERROR:SerialBattery:No Bluetooth adapters found. @400000006512886600a69294 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble @40000000651288660ec6cc7c Missing device address argument @40000000651288671182911c INFO:SerialBattery: @4000000065128867118c9b6c INFO:SerialBattery:Starting dbus-serialbattery @4000000065128867119c3f54 INFO:SerialBattery:dbus-serialbattery v1.0.0 (20230508) @400000006512886727ca3204 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41 @400000006512886727d551ac INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41 @4000000065128868002b5b9c ERROR:SerialBattery:No Bluetooth adapters found. @400000006512886800351bb4 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble @40000000651288680e45500c Missing device address argument
I have attached the device info from ESPhome:
[07:44:59][D][button:010]: 'jk-bms retrieve device info' Pressed. [07:44:59][D][jk_bms_ble:1247]: Write register: AA.55.90.EB.97.00.00.00.00.00.00.00.00.00.00.00.00.00.00.11 (20) [07:44:59][I][jk_bms_ble:1158]: Device info frame (300 bytes) received [07:44:59][I][jk_bms_ble:1210]: Vendor ID: JK_BD4A24S4P [07:44:59][I][jk_bms_ble:1211]: Hardware version: 11.XW [07:44:59][I][jk_bms_ble:1212]: Software version: 11.25 [07:44:59][I][jk_bms_ble:1213]: Uptime: 438900 s [07:44:59][I][jk_bms_ble:1214]: Power on count: 13 [07:44:59][I][jk_bms_ble:1215]: Device name: JK_BD4A24S04 [07:44:59][I][jk_bms_ble:1216]: Device passcode: 1234 [07:44:59][I][jk_bms_ble:1217]: Manufacturing date: 230424 [07:44:59][I][jk_bms_ble:1218]: Serial number: 2082321445 [07:44:59][I][jk_bms_ble:1219]: Passcode: 0000 [07:44:59][I][jk_bms_ble:1220]: User data: Input Userdata [07:44:59][I][jk_bms_ble:1221]: Setup passcode: 123456 [07:44:59][W][component:204]: Component esp32_ble took a long time for an operation (0.07 s). [07:44:59][W][component:205]: Components should block for at most 20-30ms. [07:45:03][I][jk_bms_ble:467]: Cell info frame (version 3, 300 bytes) received
Devices settings:
[07:47:35][D][button:010]: 'jk-bms retrieve settings' Pressed. [07:47:35][D][jk_bms_ble:1247]: Write register: AA.55.90.EB.96.00.00.00.00.00.00.00.00.00.00.00.00.00.00.10 (20) [07:47:36][I][jk_bms_ble:891]: Settings frame (300 bytes) received [07:47:36][D][jk_bms_ble:917]: Unknown6: 0.600000 [07:47:36][I][jk_bms_ble:919]: Cell UVP: 2.820000 V [07:47:36][D][number:012]: 'jk-bms cell voltage undervoltage protection': Sending state 2.820000 [07:47:36][I][jk_bms_ble:923]: Cell UVPR: 2.850000 V [07:47:36][D][number:012]: 'jk-bms cell voltage undervoltage recovery': Sending state 2.850000 [07:47:36][I][jk_bms_ble:927]: Cell OVP: 4.200000 V [07:47:36][D][number:012]: 'jk-bms cell voltage overvoltage protection': Sending state 4.200000 [07:47:36][I][jk_bms_ble:931]: Cell OVPR: 4.180000 V [07:47:36][D][number:012]: 'jk-bms cell voltage overvoltage recovery': Sending state 4.180000 [07:47:36][I][jk_bms_ble:935]: Balance trigger voltage: 0.005000 V [07:47:36][D][number:012]: 'jk-bms balance trigger voltage': Sending state 0.005000 [07:47:36][I][jk_bms_ble:943]: Power off voltage: 2.800000 V [07:47:36][D][number:012]: 'jk-bms power off voltage': Sending state 2.800000 [07:47:36][I][jk_bms_ble:947]: Max. charge current: 25.000002 A [07:47:36][D][number:012]: 'jk-bms max charge current': Sending state 25.000002 [07:47:36][I][jk_bms_ble:951]: Charge OCP delay: 30.000000 s [07:47:36][I][jk_bms_ble:953]: Charge OCP recovery delay: 60.000000 s [07:47:36][I][jk_bms_ble:955]: Max. discharge current: 40.000000 A [07:47:36][D][number:012]: 'jk-bms max discharge current': Sending state 40.000000 [07:47:36][I][jk_bms_ble:959]: Discharge OCP recovery delay: 300.000000 s [07:47:36][I][jk_bms_ble:961]: Discharge OCP recovery delay: 60.000000 s [07:47:36][I][jk_bms_ble:963]: SCP recovery time: 60.000000 s [07:47:36][I][jk_bms_ble:965]: Max. balance current: 0.400000 A [07:47:36][D][number:012]: 'jk-bms max balance current': Sending state 0.400000 [07:47:36][I][jk_bms_ble:969]: Charge OTP: 70.000000 °C [07:47:36][I][jk_bms_ble:971]: Charge OTP recovery: 60.000000 °C [07:47:36][I][jk_bms_ble:973]: Discharge OTP: 70.000000 °C [07:47:36][I][jk_bms_ble:975]: Discharge OTP recovery: 60.000000 °C [07:47:36][I][jk_bms_ble:977]: Charge UTP: -20.000000 °C [07:47:36][I][jk_bms_ble:979]: Charge UTP recovery: -10.000000 °C [07:47:36][I][jk_bms_ble:981]: MOS OTP: 100.000000 °C [07:47:36][I][jk_bms_ble:983]: MOS OTP recovery: 80.000000 °C [07:47:36][I][jk_bms_ble:985]: Cell count: 7.000000 [07:47:36][D][number:012]: 'jk-bms cell count': Sending state 7.000000 [07:47:36][I][jk_bms_ble:989]: Charge switch: on [07:47:36][I][jk_bms_ble:993]: Discharge switch: on [07:47:36][I][jk_bms_ble:997]: Balancer switch: on [07:47:36][I][jk_bms_ble:1001]: Nominal battery capacity: 165.000015 Ah [07:47:36][D][number:012]: 'jk-bms total battery capacity': Sending state 165.000015 [07:47:36][D][jk_bms_ble:1005]: Unknown134: 1.500000 [07:47:36][I][jk_bms_ble:1007]: Start balance voltage: 3.800000 V [07:47:36][D][number:012]: 'jk-bms balance starting voltage': Sending state 3.800000 [07:47:36][I][jk_bms_ble:1039]: Con. wire resistance 1: 0.000000 Ohm [07:47:36][I][jk_bms_ble:1039]: Con. wire resistance 2: 0.000000 Ohm [07:47:36][I][jk_bms_ble:1039]: Con. wire resistance 3: 0.000000 Ohm [07:47:36][I][jk_bms_ble:1039]: Con. wire resistance 4: 0.000000 Ohm [07:47:36][I][jk_bms_ble:1039]: Con. wire resistance 5: 0.000000 Ohm [07:47:36][I][jk_bms_ble:1039]: Con. wire resistance 6: 0.000000 Ohm [07:47:36][I][jk_bms_ble:1039]: Con. wire resistance 7: 0.000000 Ohm [07:47:36][I][jk_bms_ble:1039]: Con. wire resistance 8: 0.000000 Ohm [07:47:36][I][jk_bms_ble:1039]: Con. wire resistance 9: 0.000000 Ohm [07:47:36][I][jk_bms_ble:1039]: Con. wire resistance 10: 0.000000 Ohm [07:47:36][I][jk_bms_ble:1039]: Con. wire resistance 11: 0.000000 Ohm [07:47:36][I][jk_bms_ble:1039]: Con. wire resistance 12: 0.000000 Ohm [07:47:36][I][jk_bms_ble:1039]: Con. wire resistance 13: 0.000000 Ohm [07:47:36][I][jk_bms_ble:1039]: Con. wire resistance 14: 0.000000 Ohm [07:47:36][I][jk_bms_ble:1039]: Con. wire resistance 15: 0.000000 Ohm [07:47:36][I][jk_bms_ble:1039]: Con. wire resistance 16: 0.000000 Ohm [07:47:36][I][jk_bms_ble:1039]: Con. wire resistance 17: 0.000000 Ohm [07:47:36][I][jk_bms_ble:1039]: Con. wire resistance 18: 0.000000 Ohm [07:47:36][I][jk_bms_ble:1039]: Con. wire resistance 19: 0.000000 Ohm [07:47:36][I][jk_bms_ble:1039]: Con. wire resistance 20: 0.000000 Ohm [07:47:36][I][jk_bms_ble:1039]: Con. wire resistance 21: 0.000000 Ohm [07:47:36][I][jk_bms_ble:1039]: Con. wire resistance 22: 0.000000 Ohm [07:47:36][I][jk_bms_ble:1039]: Con. wire resistance 23: 0.000000 Ohm [07:47:36][I][jk_bms_ble:1039]: Con. wire resistance 24: 0.000000 Ohm [07:47:36][W][component:204]: Component esp32_ble took a long time for an operation (0.46 s). [07:47:36][W][component:205]: Components should block for at most 20-30ms.
I have attached the logs from EspHome:
INFO ESPHome 2023.8.3 INFO Reading configuration /config/shunt.yaml... INFO Updating https://github.com/syssi/esphome-jk-bms.git@main INFO Starting log output from shunt.local using esphome API INFO Successfully connected to shunt.local [07:42:18][I][app:102]: ESPHome version 2023.8.3 compiled on Sep 24 2023, 17:19:24
[07:42:18][C][wifi:379]: Local MAC: 7C:9E:BD:F2:0C:40 [07:42:18][C][wifi:380]: SSID: 'VODAFONE-7340'[redacted] [07:42:18][C][wifi:381]: IP Address: 192.168.1.66 [07:42:18][C][wifi:383]: BSSID: E8:1B:69:7B:73:41[redacted]
[07:42:18][C][wifi:386]: Signal strength: -80 dB ▂▄▆█ [07:42:18][C][wifi:390]: Channel: 1 [07:42:18][C][wifi:391]: Subnet: 255.255.255.0 [07:42:18][C][wifi:392]: Gateway: 192.168.1.1 [07:42:18][C][wifi:393]: DNS1: 192.168.1.1 [07:42:18][C][wifi:394]: DNS2: 0.0.0.0
[07:42:18][C][logger:302]: Level: DEBUG [07:42:18][C][logger:303]: Log Baud Rate: 115200 [07:42:18][C][logger:305]: Hardware UART: UART0
[07:42:18][C][jk_bms_ble:056]: Fake traffic enabled: NO [07:42:18][C][jk_bms_ble:057]: Minimum Cell Voltage 'jk-bms min cell voltage' [07:42:18][C][jk_bms_ble:057]: Device Class: 'voltage' [07:42:18][C][jk_bms_ble:057]: State Class: 'measurement' [07:42:18][C][jk_bms_ble:057]: Unit of Measurement: 'V' [07:42:18][C][jk_bms_ble:057]: Accuracy Decimals: 3 [07:42:18][C][jk_bms_ble:058]: Maximum Cell Voltage 'jk-bms max cell voltage' [07:42:18][C][jk_bms_ble:058]: Device Class: 'voltage' [07:42:18][C][jk_bms_ble:058]: State Class: 'measurement' [07:42:18][C][jk_bms_ble:058]: Unit of Measurement: 'V' [07:42:18][C][jk_bms_ble:058]: Accuracy Decimals: 3 [07:42:18][C][jk_bms_ble:059]: Minimum Voltage Cell 'jk-bms min voltage cell' [07:42:18][C][jk_bms_ble:059]: State Class: 'measurement' [07:42:18][C][jk_bms_ble:059]: Unit of Measurement: '' [07:42:18][C][jk_bms_ble:059]: Accuracy Decimals: 0
[07:42:18][C][jk_bms_ble:060]: Maximum Voltage Cell 'jk-bms max voltage cell' [07:42:18][C][jk_bms_ble:060]: State Class: 'measurement' [07:42:18][C][jk_bms_ble:060]: Unit of Measurement: '' [07:42:18][C][jk_bms_ble:060]: Accuracy Decimals: 0
[07:42:18][C][jk_bms_ble:061]: Delta Cell Voltage 'jk-bms delta cell voltage' [07:42:18][C][jk_bms_ble:061]: Device Class: 'voltage' [07:42:18][C][jk_bms_ble:061]: State Class: 'measurement' [07:42:18][C][jk_bms_ble:061]: Unit of Measurement: 'V' [07:42:18][C][jk_bms_ble:061]: Accuracy Decimals: 3 [07:42:18][C][jk_bms_ble:062]: Average Cell Voltage 'jk-bms average cell voltage' [07:42:18][C][jk_bms_ble:062]: Device Class: 'voltage' [07:42:18][C][jk_bms_ble:062]: State Class: 'measurement' [07:42:18][C][jk_bms_ble:062]: Unit of Measurement: 'V' [07:42:18][C][jk_bms_ble:062]: Accuracy Decimals: 3 [07:42:18][C][jk_bms_ble:063]: Cell Voltage 1 'jk-bms cell voltage 1' [07:42:18][C][jk_bms_ble:063]: Device Class: 'voltage' [07:42:18][C][jk_bms_ble:063]: State Class: 'measurement' [07:42:18][C][jk_bms_ble:063]: Unit of Measurement: 'V' [07:42:18][C][jk_bms_ble:063]: Accuracy Decimals: 3 [07:42:18][C][jk_bms_ble:064]: Cell Voltage 2 'jk-bms cell voltage 2' [07:42:19][C][jk_bms_ble:064]: Device Class: 'voltage' [07:42:19][C][jk_bms_ble:064]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:064]: Unit of Measurement: 'V' [07:42:19][C][jk_bms_ble:064]: Accuracy Decimals: 3 [07:42:19][C][jk_bms_ble:065]: Cell Voltage 3 'jk-bms cell voltage 3' [07:42:19][C][jk_bms_ble:065]: Device Class: 'voltage' [07:42:19][C][jk_bms_ble:065]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:065]: Unit of Measurement: 'V' [07:42:19][C][jk_bms_ble:065]: Accuracy Decimals: 3 [07:42:19][C][jk_bms_ble:066]: Cell Voltage 4 'jk-bms cell voltage 4' [07:42:19][C][jk_bms_ble:066]: Device Class: 'voltage' [07:42:19][C][jk_bms_ble:066]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:066]: Unit of Measurement: 'V' [07:42:19][C][jk_bms_ble:066]: Accuracy Decimals: 3 [07:42:19][C][jk_bms_ble:067]: Cell Voltage 5 'jk-bms cell voltage 5' [07:42:19][C][jk_bms_ble:067]: Device Class: 'voltage' [07:42:19][C][jk_bms_ble:067]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:067]: Unit of Measurement: 'V' [07:42:19][C][jk_bms_ble:067]: Accuracy Decimals: 3 [07:42:19][C][jk_bms_ble:068]: Cell Voltage 6 'jk-bms cell voltage 6' [07:42:19][C][jk_bms_ble:068]: Device Class: 'voltage' [07:42:19][C][jk_bms_ble:068]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:068]: Unit of Measurement: 'V' [07:42:19][C][jk_bms_ble:068]: Accuracy Decimals: 3 [07:42:19][C][jk_bms_ble:069]: Cell Voltage 7 'jk-bms cell voltage 7' [07:42:19][C][jk_bms_ble:069]: Device Class: 'voltage' [07:42:19][C][jk_bms_ble:069]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:069]: Unit of Measurement: 'V' [07:42:19][C][jk_bms_ble:069]: Accuracy Decimals: 3 [07:42:19][C][jk_bms_ble:087]: Cell Resistance 1 'jk-bms cell resistance 1' [07:42:19][C][jk_bms_ble:087]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:087]: Unit of Measurement: 'Ω' [07:42:19][C][jk_bms_ble:087]: Accuracy Decimals: 3
[07:42:19][C][jk_bms_ble:088]: Cell Resistance 2 'jk-bms cell resistance 2' [07:42:19][C][jk_bms_ble:088]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:088]: Unit of Measurement: 'Ω' [07:42:19][C][jk_bms_ble:088]: Accuracy Decimals: 3
[07:42:19][C][jk_bms_ble:089]: Cell Resistance 3 'jk-bms cell resistance 3' [07:42:19][C][jk_bms_ble:089]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:089]: Unit of Measurement: 'Ω' [07:42:19][C][jk_bms_ble:089]: Accuracy Decimals: 3
[07:42:19][C][jk_bms_ble:090]: Cell Resistance 4 'jk-bms cell resistance 4' [07:42:19][C][jk_bms_ble:090]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:090]: Unit of Measurement: 'Ω' [07:42:19][C][jk_bms_ble:090]: Accuracy Decimals: 3
[07:42:19][C][jk_bms_ble:091]: Cell Resistance 5 'jk-bms cell resistance 5' [07:42:19][C][jk_bms_ble:091]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:091]: Unit of Measurement: 'Ω' [07:42:19][C][jk_bms_ble:091]: Accuracy Decimals: 3
[07:42:19][C][jk_bms_ble:092]: Cell Resistance 6 'jk-bms cell resistance 6' [07:42:19][C][jk_bms_ble:092]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:092]: Unit of Measurement: 'Ω' [07:42:19][C][jk_bms_ble:092]: Accuracy Decimals: 3
[07:42:19][C][jk_bms_ble:093]: Cell Resistance 7 'jk-bms cell resistance 7' [07:42:19][C][jk_bms_ble:093]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:093]: Unit of Measurement: 'Ω' [07:42:19][C][jk_bms_ble:093]: Accuracy Decimals: 3
[07:42:19][C][jk_bms_ble:111]: Total Voltage 'jk-bms total voltage' [07:42:19][C][jk_bms_ble:111]: Device Class: 'voltage' [07:42:19][C][jk_bms_ble:111]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:111]: Unit of Measurement: 'V' [07:42:19][C][jk_bms_ble:111]: Accuracy Decimals: 2
[07:42:19][C][jk_bms_ble:112]: Device Class: 'current' [07:42:19][C][jk_bms_ble:112]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:112]: Unit of Measurement: 'A' [07:42:19][C][jk_bms_ble:112]: Accuracy Decimals: 2
[07:42:19][C][jk_bms_ble:113]: Device Class: 'power' [07:42:19][C][jk_bms_ble:113]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:113]: Unit of Measurement: 'W' [07:42:19][C][jk_bms_ble:113]: Accuracy Decimals: 2 [07:42:19][C][jk_bms_ble:114]: Charging Power 'jk-bms charging power' [07:42:19][C][jk_bms_ble:114]: Device Class: 'power' [07:42:19][C][jk_bms_ble:114]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:114]: Unit of Measurement: 'W' [07:42:19][C][jk_bms_ble:114]: Accuracy Decimals: 2 [07:42:19][C][jk_bms_ble:115]: Discharging Power 'jk-bms discharging power' [07:42:19][C][jk_bms_ble:115]: Device Class: 'power' [07:42:19][C][jk_bms_ble:115]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:115]: Unit of Measurement: 'W' [07:42:19][C][jk_bms_ble:115]: Accuracy Decimals: 2 [07:42:19][C][jk_bms_ble:116]: Power Tube Temperature 'jk-bms power tube temperature' [07:42:19][C][jk_bms_ble:116]: Device Class: 'temperature' [07:42:19][C][jk_bms_ble:116]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:116]: Unit of Measurement: '°C' [07:42:19][C][jk_bms_ble:116]: Accuracy Decimals: 1 [07:42:19][C][jk_bms_ble:117]: Temperature Sensor 1 'jk-bms temperature sensor 1' [07:42:19][C][jk_bms_ble:117]: Device Class: 'temperature' [07:42:19][C][jk_bms_ble:117]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:117]: Unit of Measurement: '°C' [07:42:19][C][jk_bms_ble:117]: Accuracy Decimals: 1 [07:42:19][C][jk_bms_ble:118]: Temperature Sensor 2 'jk-bms temperature sensor 2' [07:42:19][C][jk_bms_ble:118]: Device Class: 'temperature' [07:42:19][C][jk_bms_ble:118]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:118]: Unit of Measurement: '°C' [07:42:19][C][jk_bms_ble:118]: Accuracy Decimals: 1 [07:42:19][C][jk_bms_ble:119]: State Of Charge 'jk-bms state of charge' [07:42:19][C][jk_bms_ble:119]: Device Class: 'battery' [07:42:19][C][jk_bms_ble:119]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:119]: Unit of Measurement: '%' [07:42:19][C][jk_bms_ble:119]: Accuracy Decimals: 0 [07:42:19][C][jk_bms_ble:120]: Capacity Remaining 'jk-bms capacity remaining' [07:42:19][C][jk_bms_ble:120]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:120]: Unit of Measurement: 'Ah' [07:42:19][C][jk_bms_ble:120]: Accuracy Decimals: 0
[07:42:19][C][jk_bms_ble:121]: Total Battery Capacity Setting 'jk-bms total battery capacity setting' [07:42:19][C][jk_bms_ble:121]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:121]: Unit of Measurement: 'Ah' [07:42:19][C][jk_bms_ble:121]: Accuracy Decimals: 0 [07:42:19][C][jk_bms_ble:122]: Charging Cycles 'jk-bms charging cycles' [07:42:19][C][jk_bms_ble:122]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:122]: Unit of Measurement: '' [07:42:19][C][jk_bms_ble:122]: Accuracy Decimals: 0
[07:42:19][C][jk_bms_ble:123]: Total Charging Cycle Capacity 'jk-bms total charging cycle capacity' [07:42:19][C][jk_bms_ble:123]: State Class: 'measurement' [07:42:19][C][jk_bms_ble:123]: Unit of Measurement: 'Ah' [07:42:19][C][jk_bms_ble:123]: Accuracy Decimals: 3
[07:42:19][C][jk_bms_ble:124]: Total Runtime 'jk-bms total runtime' [07:42:19][C][jk_bms_ble:124]: State Class: 'total_increasing' [07:42:19][C][jk_bms_ble:124]: Unit of Measurement: 's' [07:42:19][C][jk_bms_ble:124]: Accuracy Decimals: 0
[07:42:19][C][jk_bms_ble:126]: Total Runtime Formatted 'jk-bms total runtime formatted'
[07:42:19][C][jk_bms_ble.button:010]: JkBmsBle Button 'jk-bms retrieve settings'
[07:42:19][C][jk_bms_ble.button:010]: JkBmsBle Button 'jk-bms retrieve device info'
[07:42:19][C][jk_bms_ble.number:009]: JkBmsBle Number 'jk-bms balance trigger voltage' [07:42:19][C][jk_bms_ble.number:009]: Unit of Measurement: 'V' [07:42:19][C][jk_bms_ble.number:009]: JkBmsBle Number 'jk-bms cell count' [07:42:19][C][jk_bms_ble.number:009]: JkBmsBle Number 'jk-bms total battery capacity' [07:42:19][C][jk_bms_ble.number:009]: Unit of Measurement: 'Ah' [07:42:19][C][jk_bms_ble.number:009]: JkBmsBle Number 'jk-bms cell voltage overvoltage protection' [07:42:19][C][jk_bms_ble.number:009]: Unit of Measurement: 'V' [07:42:20][C][jk_bms_ble.number:009]: JkBmsBle Number 'jk-bms cell voltage overvoltage recovery' [07:42:20][C][jk_bms_ble.number:009]: Unit of Measurement: 'V' [07:42:20][C][jk_bms_ble.number:009]: JkBmsBle Number 'jk-bms cell voltage undervoltage protection' [07:42:20][C][jk_bms_ble.number:009]: Unit of Measurement: 'V' [07:42:20][C][jk_bms_ble.number:009]: JkBmsBle Number 'jk-bms cell voltage undervoltage recovery' [07:42:20][C][jk_bms_ble.number:009]: Unit of Measurement: 'V' [07:42:20][C][jk_bms_ble.number:009]: JkBmsBle Number 'jk-bms balance starting voltage' [07:42:20][C][jk_bms_ble.number:009]: Unit of Measurement: 'V' [07:42:20][C][jk_bms_ble.number:009]: JkBmsBle Number 'jk-bms voltage calibration' [07:42:20][C][jk_bms_ble.number:009]: Unit of Measurement: 'V' [07:42:20][C][jk_bms_ble.number:009]: JkBmsBle Number 'jk-bms current calibration' [07:42:20][C][jk_bms_ble.number:009]: Unit of Measurement: 'A' [07:42:20][C][jk_bms_ble.number:009]: JkBmsBle Number 'jk-bms power off voltage' [07:42:20][C][jk_bms_ble.number:009]: Unit of Measurement: 'V' [07:42:20][C][jk_bms_ble.number:009]: JkBmsBle Number 'jk-bms max balance current' [07:42:20][C][jk_bms_ble.number:009]: Unit of Measurement: 'A' [07:42:20][C][jk_bms_ble.number:009]: JkBmsBle Number 'jk-bms max charge current' [07:42:20][C][jk_bms_ble.number:009]: Unit of Measurement: 'A' [07:42:20][C][jk_bms_ble.number:009]: JkBmsBle Number 'jk-bms max discharge current' [07:42:20][C][jk_bms_ble.number:009]: Unit of Measurement: 'A' [07:42:20][C][jk_bms_ble.switch:068]: JkBmsBle Switch 'jk-bms charging'
[07:42:20][C][jk_bms_ble.switch:091]: Restore Mode: always OFF [07:42:20][C][jk_bms_ble.switch:068]: JkBmsBle Switch 'jk-bms discharging'
[07:42:20][C][jk_bms_ble.switch:091]: Restore Mode: always OFF [07:42:20][I][jk_bms_ble:467]: Cell info frame (version 3, 300 bytes) received [07:42:20][D][sensor:094]: 'jk-bms cell voltage 1': Sending state 3.79400 V with 3 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms cell resistance 1': Sending state 0.30900 Ω with 3 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms cell voltage 2': Sending state 3.78900 V with 3 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms cell resistance 2': Sending state 0.30800 Ω with 3 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms cell voltage 3': Sending state 3.78700 V with 3 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms cell resistance 3': Sending state 0.30900 Ω with 3 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms cell voltage 4': Sending state 3.78900 V with 3 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms cell resistance 4': Sending state 0.30600 Ω with 3 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms cell voltage 5': Sending state 3.78500 V with 3 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms cell resistance 5': Sending state 0.30700 Ω with 3 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms cell voltage 6': Sending state 3.78400 V with 3 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms cell resistance 6': Sending state 0.30500 Ω with 3 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms cell voltage 7': Sending state 3.78900 V with 3 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms cell resistance 7': Sending state 0.30700 Ω with 3 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms min cell voltage': Sending state 3.78400 V with 3 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms max cell voltage': Sending state 3.79400 V with 3 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms average cell voltage': Sending state 3.78800 V with 3 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms delta cell voltage': Sending state 0.00600 V with 3 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms max voltage cell': Sending state 7.00000 with 0 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms min voltage cell': Sending state 2.00000 with 0 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms power tube temperature': Sending state 21.60000 °C with 1 decimals of accuracy [07:42:20][D][jk_bms_ble:562]: Wire resistance warning bitmask: 0x00 0x00 0x00 0x00 [07:42:20][D][sensor:094]: 'jk-bms total voltage': Sending state 26.51500 V with 2 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms current': Sending state -1.40500 A with 2 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms power': Sending state -37.25358 W with 2 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms charging power': Sending state 0.00000 W with 2 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms discharging power': Sending state 37.25358 W with 2 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms temperature sensor 1': Sending state 16.00000 °C with 1 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms temperature sensor 2': Sending state 15.80000 °C with 1 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms errors bitmask': Sending state 0.00000 with 0 decimals of accuracy [07:42:20][D][text_sensor:064]: 'jk-bms errors': Sending state '' [07:42:20][D][sensor:094]: 'jk-bms balancing current': Sending state 0.00000 A with 2 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms state of charge': Sending state 79.00000 % with 0 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms capacity remaining': Sending state 131.19801 Ah with 0 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms total battery capacity setting': Sending state 165.00002 Ah with 0 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms charging cycles': Sending state 0.00000 with 0 decimals of accuracy [07:42:20][D][sensor:094]: 'jk-bms total charging cycle capacity': Sending state 64.69801 Ah with 3 decimals of accuracy [07:42:20][D][jk_bms_ble:647]: Unknown158: 0x64 0x00 (always 0x64 0x00?) [07:42:20][D][jk_bms_ble:650]: Unknown160: 0x00 0x00 (always 0xC5 0x09?) [07:42:20][D][sensor:094]: 'jk-bms total runtime': Sending state 438962.00000 s with 0 decimals of accuracy [07:42:20][D][text_sensor:064]: 'jk-bms total runtime formatted': Sending state '5d 1h' [07:42:20][D][jk_bms_ble:663]: Unknown168: 00.00.00.00.00.00.00.00.00.00.00.00.00.00 (14) [07:42:20][D][jk_bms_ble:677]: Unknown189: 0x00 0x64 [07:42:20][D][jk_bms_ble:681]: Unknown192: 0x12 [07:42:20][D][jk_bms_ble:683]: Unknown193: 0x00 0xE7 (0x00 0x8D) [07:42:20][D][jk_bms_ble:685]: Unknown195: 0xA3 0x3E (0x21 0x40) [07:42:20][W][component:204]: Component esp32_ble took a long time for an operation (0.51 s). [07:42:20][W][component:205]: Components should block for at most 20-30ms. [07:42:20][C][jk_bms_ble.switch:068]: JkBmsBle Switch 'jk-bms balancer'
[07:42:20][C][jk_bms_ble.switch:091]: Restore Mode: always OFF [07:42:20][C][jk_bms_ble.switch:068]: JkBmsBle Switch 'jk-bms emergency'
[07:42:20][C][jk_bms_ble.switch:073]: Assumed State: YES [07:42:20][C][jk_bms_ble.switch:091]: Restore Mode: always OFF [07:42:20][C][jk_bms_ble.switch:068]: JkBmsBle Switch 'jk-bms disable temperature sensors'
[07:42:21][C][jk_bms_ble.switch:091]: Restore Mode: always OFF [07:42:21][C][jk_bms_ble.switch:068]: JkBmsBle Switch 'jk-bms display always on'
[07:42:21][C][jk_bms_ble.switch:091]: Restore Mode: always OFF [07:42:21][C][ble_switch:068]: BLE Client Switch 'jk-bms enable bluetooth connection'
[07:42:21][C][ble_switch:091]: Restore Mode: always OFF [07:42:21][C][esp32_ble:238]: ESP32 BLE: [07:42:21][C][esp32_ble:240]: MAC address: 7C:9E:BD:F2:0C:42 [07:42:21][C][esp32_ble:241]: IO Capability: none [07:42:21][C][esp32_ble_tracker:617]: BLE Tracker: [07:42:21][C][esp32_ble_tracker:618]: Scan Duration: 300 s [07:42:21][C][esp32_ble_tracker:619]: Scan Interval: 320.0 ms [07:42:21][C][esp32_ble_tracker:620]: Scan Window: 30.0 ms [07:42:21][C][esp32_ble_tracker:621]: Scan Type: ACTIVE [07:42:21][C][esp32_ble_tracker:622]: Continuous Scanning: True [07:42:21][C][ble_client:027]: BLE Client: [07:42:21][C][ble_client:028]: Address: 20:22:08:25:17:41 [07:42:21][C][captive_portal:088]: Captive Portal:
[07:42:21][C][mdns:113]: Hostname: shunt [07:42:21][C][ota:093]: Over-The-Air Updates: [07:42:21][C][ota:094]: Address: shunt.local:3232 [07:42:21][C][ota:097]: Using Password. [07:42:21][C][api:138]: API Server: [07:42:21][C][api:139]: Address: shunt.local:6053 [07:42:21][C][api:141]: Using noise encryption: YES [07:42:25][I][jk_bms_ble:467]: Cell info frame (version 3, 300 bytes) received [07:42:25][D][sensor:094]: 'jk-bms cell voltage 1': Sending state 3.79100 V with 3 decimals of accuracy [07:42:25][D][sensor:094]: 'jk-bms cell resistance 1': Sending state 0.30900 Ω with 3 decimals of accuracy [07:42:25][D][sensor:094]: 'jk-bms cell voltage 2': Sending state 3.78700 V with 3 decimals of accuracy [07:42:25][D][sensor:094]: 'jk-bms cell resistance 2': Sending state 0.30800 Ω with 3 decimals of accuracy [07:42:25][D][sensor:094]: 'jk-bms cell voltage 3': Sending state 3.78600 V with 3 decimals of accuracy [07:42:25][D][sensor:094]: 'jk-bms cell resistance 3': Sending state 0.30900 Ω with 3 decimals of accuracy [07:42:25][D][sensor:094]: 'jk-bms cell voltage 4': Sending state 3.78700 V with 3 decimals of accuracy [07:42:25][D][sensor:094]: 'jk-bms cell resistance 4': Sending state 0.30600 Ω with 3 decimals of accuracy [07:42:25][D][sensor:094]: 'jk-bms cell voltage 5': Sending state 3.78400 V with 3 decimals of accuracy [07:42:25][D][sensor:094]: 'jk-bms cell resistance 5': Sending state 0.30700 Ω with 3 decimals of accuracy [07:42:25][D][sensor:094]: 'jk-bms cell voltage 6': Sending state 3.78400 V with 3 decimals of accuracy [07:42:25][D][sensor:094]: 'jk-bms cell resistance 6': Sending state 0.30500 Ω with 3 decimals of accuracy [07:42:25][D][sensor:094]: 'jk-bms cell voltage 7': Sending state 3.79100 V with 3 decimals of accuracy [07:42:25][D][sensor:094]: 'jk-bms cell resistance 7': Sending state 0.30700 Ω with 3 decimals of accuracy [07:42:25][D][sensor:094]: 'jk-bms min cell voltage': Sending state 3.78400 V with 3 decimals of accuracy [07:42:25][D][sensor:094]: 'jk-bms max cell voltage': Sending state 3.79100 V with 3 decimals of accuracy [07:42:26][D][sensor:094]: 'jk-bms average cell voltage': Sending state 3.78900 V with 3 decimals of accuracy [07:42:26][D][sensor:094]: 'jk-bms delta cell voltage': Sending state 0.00700 V with 3 decimals of accuracy [07:42:26][D][sensor:094]: 'jk-bms max voltage cell': Sending state 1.00000 with 0 decimals of accuracy [07:42:26][D][sensor:094]: 'jk-bms min voltage cell': Sending state 6.00000 with 0 decimals of accuracy [07:42:26][D][sensor:094]: 'jk-bms power tube temperature': Sending state 21.60000 °C with 1 decimals of accuracy [07:42:26][D][jk_bms_ble:562]: Wire resistance warning bitmask: 0x00 0x00 0x00 0x00 [07:42:26][D][sensor:094]: 'jk-bms total voltage': Sending state 26.52100 V with 2 decimals of accuracy [07:42:26][D][sensor:094]: 'jk-bms current': Sending state -1.24900 A with 2 decimals of accuracy [07:42:26][D][sensor:094]: 'jk-bms power': Sending state -33.12473 W with 2 decimals of accuracy [07:42:26][D][sensor:094]: 'jk-bms charging power': Sending state 0.00000 W with 2 decimals of accuracy [07:42:26][D][sensor:094]: 'jk-bms discharging power': Sending state 33.12473 W with 2 decimals of accuracy [07:42:26][D][sensor:094]: 'jk-bms temperature sensor 1': Sending state 16.00000 °C with 1 decimals of accuracy [07:42:26][D][sensor:094]: 'jk-bms temperature sensor 2': Sending state 15.80000 °C with 1 decimals of accuracy [07:42:26][D][sensor:094]: 'jk-bms errors bitmask': Sending state 0.00000 with 0 decimals of accuracy [07:42:26][D][text_sensor:064]: 'jk-bms errors': Sending state '' [07:42:26][D][sensor:094]: 'jk-bms balancing current': Sending state 0.00000 A with 2 decimals of accuracy [07:42:26][D][sensor:094]: 'jk-bms state of charge': Sending state 79.00000 % with 0 decimals of accuracy [07:42:26][D][sensor:094]: 'jk-bms capacity remaining': Sending state 131.19600 Ah with 0 decimals of accuracy [07:42:26][D][sensor:094]: 'jk-bms total battery capacity setting': Sending state 165.00002 Ah with 0 decimals of accuracy [07:42:26][D][sensor:094]: 'jk-bms charging cycles': Sending state 0.00000 with 0 decimals of accuracy [07:42:26][D][sensor:094]: 'jk-bms total charging cycle capacity': Sending state 64.70000 Ah with 3 decimals of accuracy [07:42:26][D][jk_bms_ble:647]: Unknown158: 0x64 0x00 (always 0x64 0x00?) [07:42:26][D][jk_bms_ble:650]: Unknown160: 0x00 0x00 (always 0xC5 0x09?) [07:42:26][D][sensor:094]: 'jk-bms total runtime': Sending state 438968.00000 s with 0 decimals of accuracy [07:42:26][D][text_sensor:064]: 'jk-bms total runtime formatted': Sending state '5d 1h' [07:42:26][D][jk_bms_ble:663]: Unknown168: 00.00.00.00.00.00.00.00.00.00.00.00.00.00 (14) [07:42:26][D][jk_bms_ble:677]: Unknown189: 0x00 0x64 [07:42:26][D][jk_bms_ble:681]: Unknown192: 0x10 [07:42:26][D][jk_bms_ble:683]: Unknown193: 0x00 0xE7 (0x00 0x8D) [07:42:26][D][jk_bms_ble:685]: Unknown195: 0xA3 0x3E (0x21 0x40) [07:42:26][W][component:204]: Component esp32_ble took a long time for an operation (0.49 s). [07:42:26][W][component:205]: Components should block for at most 20-30ms. [07:42:31][I][jk_bms_ble:467]: Cell info frame (version 3, 300 bytes) received [07:42:31][D][sensor:094]: 'jk-bms cell voltage 1': Sending state 3.79000 V with 3 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms cell resistance 1': Sending state 0.30900 Ω with 3 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms cell voltage 2': Sending state 3.78500 V with 3 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms cell resistance 2': Sending state 0.30800 Ω with 3 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms cell voltage 3': Sending state 3.78700 V with 3 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms cell resistance 3': Sending state 0.30900 Ω with 3 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms cell voltage 4': Sending state 3.78900 V with 3 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms cell resistance 4': Sending state 0.30600 Ω with 3 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms cell voltage 5': Sending state 3.78600 V with 3 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms cell resistance 5': Sending state 0.30700 Ω with 3 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms cell voltage 6': Sending state 3.78600 V with 3 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms cell resistance 6': Sending state 0.30500 Ω with 3 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms cell voltage 7': Sending state 3.79100 V with 3 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms cell resistance 7': Sending state 0.30700 Ω with 3 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms min cell voltage': Sending state 3.78500 V with 3 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms max cell voltage': Sending state 3.79100 V with 3 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms average cell voltage': Sending state 3.78700 V with 3 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms delta cell voltage': Sending state 0.00700 V with 3 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms max voltage cell': Sending state 1.00000 with 0 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms min voltage cell': Sending state 5.00000 with 0 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms power tube temperature': Sending state 21.60000 °C with 1 decimals of accuracy [07:42:31][D][jk_bms_ble:562]: Wire resistance warning bitmask: 0x00 0x00 0x00 0x00 [07:42:31][D][sensor:094]: 'jk-bms total voltage': Sending state 26.51200 V with 2 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms current': Sending state -1.24900 A with 2 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms power': Sending state -33.11349 W with 2 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms charging power': Sending state 0.00000 W with 2 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms discharging power': Sending state 33.11349 W with 2 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms temperature sensor 1': Sending state 16.00000 °C with 1 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms temperature sensor 2': Sending state 15.80000 °C with 1 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms errors bitmask': Sending state 0.00000 with 0 decimals of accuracy [07:42:31][D][text_sensor:064]: 'jk-bms errors': Sending state '' [07:42:31][D][sensor:094]: 'jk-bms balancing current': Sending state 0.00000 A with 2 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms state of charge': Sending state 79.00000 % with 0 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms capacity remaining': Sending state 131.19400 Ah with 0 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms total battery capacity setting': Sending state 165.00002 Ah with 0 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms charging cycles': Sending state 0.00000 with 0 decimals of accuracy [07:42:31][D][sensor:094]: 'jk-bms total charging cycle capacity': Sending state 64.70200 Ah with 3 decimals of accuracy [07:42:31][D][jk_bms_ble:647]: Unknown158: 0x64 0x00 (always 0x64 0x00?) [07:42:31][D][jk_bms_ble:650]: Unknown160: 0x00 0x00 (always 0xC5 0x09?) [07:42:31][D][sensor:094]: 'jk-bms total runtime': Sending state 438973.00000 s with 0 decimals of accuracy [07:42:31][D][text_sensor:064]: 'jk-bms total runtime formatted': Sending state '5d 1h' [07:42:31][D][jk_bms_ble:663]: Unknown168: 00.00.00.00.00.00.00.00.00.00.00.00.00.00 (14) [07:42:31][D][jk_bms_ble:677]: Unknown189: 0x00 0x64 [07:42:31][D][jk_bms_ble:681]: Unknown192: 0x10 [07:42:31][D][jk_bms_ble:683]: Unknown193: 0x00 0xE7 (0x00 0x8D) [07:42:31][D][jk_bms_ble:685]: Unknown195: 0xA3 0x3E (0x21 0x40) [07:42:31][W][component:204]: Component esp32_ble took a long time for an operation (0.50 s). [07:42:31][W][component:205]: Components should block for at most 20-30ms. [07:42:36][I][jk_bms_ble:467]: Cell info frame (version 3, 300 bytes) received [07:42:36][D][sensor:094]: 'jk-bms cell voltage 1': Sending state 3.79100 V with 3 decimals of accuracy [07:42:36][D][sensor:094]: 'jk-bms cell resistance 1': Sending state 0.30900 Ω with 3 decimals of accuracy [07:42:36][D][sensor:094]: 'jk-bms cell voltage 2': Sending state 3.78600 V with 3 decimals of accuracy [07:42:36][D][sensor:094]: 'jk-bms cell resistance 2': Sending state 0.30800 Ω with 3 decimals of accuracy [07:42:36][D][sensor:094]: 'jk-bms cell voltage 3': Sending state 3.78600 V with 3 decimals of accuracy [07:42:36][D][sensor:094]: 'jk-bms cell resistance 3': Sending state 0.30900 Ω with 3 decimals of accuracy [07:42:36][D][sensor:094]: 'jk-bms cell voltage 4': Sending state 3.78900 V with 3 decimals of accuracy [07:42:36][D][sensor:094]: 'jk-bms cell resistance 4': Sending state 0.30600 Ω with 3 decimals of accuracy [07:42:36][D][sensor:094]: 'jk-bms cell voltage 5': Sending state 3.78400 V with 3 decimals of accuracy [07:42:36][D][sensor:094]: 'jk-bms cell resistance 5': Sending state 0.30700 Ω with 3 decimals of accuracy [07:42:36][D][sensor:094]: 'jk-bms cell voltage 6': Sending state 3.78600 V with 3 decimals of accuracy [07:42:36][D][sensor:094]: 'jk-bms cell resistance 6': Sending state 0.30500 Ω with 3 decimals of accuracy [07:42:36][D][sensor:094]: 'jk-bms cell voltage 7': Sending state 3.78900 V with 3 decimals of accuracy [07:42:36][D][sensor:094]: 'jk-bms cell resistance 7': Sending state 0.30700 Ω with 3 decimals of accuracy [07:42:36][D][sensor:094]: 'jk-bms min cell voltage': Sending state 3.78400 V with 3 decimals of accuracy [07:42:36][D][sensor:094]: 'jk-bms max cell voltage': Sending state 3.79100 V with 3 decimals of accuracy [07:42:36][D][sensor:094]: 'jk-bms average cell voltage': Sending state 3.78700 V with 3 decimals of accuracy [07:42:36][D][sensor:094]: 'jk-bms delta cell voltage': Sending state 0.00600 V with 3 decimals of accuracy [07:42:36][D][sensor:094]: 'jk-bms max voltage cell': Sending state 1.00000 with 0 decimals of accuracy [07:42:36][D][sensor:094]: 'jk-bms min voltage cell': Sending state 2.00000 with 0 decimals of accuracy [07:42:36][D][sensor:094]: 'jk-bms power tube temperature': Sending state 21.60000 °C with 1 decimals of accuracy [07:42:36][D][jk_bms_ble:562]: Wire resistance warning bitmask: 0x00 0x00 0x00 0x00 [07:42:36][D][sensor:094]: 'jk-bms total voltage': Sending state 26.51100 V with 2 decimals of accuracy [07:42:36][D][sensor:094]: 'jk-bms current': Sending state -1.32700 A with 2 decimals of accuracy [07:42:36][D][sensor:094]: 'jk-bms power': Sending state -35.18010 W with 2 decimals of accuracy [07:42:36][D][sensor:094]: 'jk-bms charging power': Sending state 0.00000 W with 2 decimals of accuracy [07:42:37][D][sensor:094]: 'jk-bms discharging power': Sending state 35.18010 W with 2 decimals of accuracy [07:42:37][D][sensor:094]: 'jk-bms temperature sensor 1': Sending state 16.00000 °C with 1 decimals of accuracy [07:42:37][D][sensor:094]: 'jk-bms temperature sensor 2': Sending state 15.80000 °C with 1 decimals of accuracy [07:42:37][D][sensor:094]: 'jk-bms errors bitmask': Sending state 0.00000 with 0 decimals of accuracy [07:42:37][D][text_sensor:064]: 'jk-bms errors': Sending state '' [07:42:37][D][sensor:094]: 'jk-bms balancing current': Sending state 0.00000 A with 2 decimals of accuracy [07:42:37][D][sensor:094]: 'jk-bms state of charge': Sending state 79.00000 % with 0 decimals of accuracy [07:42:37][D][sensor:094]: 'jk-bms capacity remaining': Sending state 131.19200 Ah with 0 decimals of accuracy [07:42:37][D][sensor:094]: 'jk-bms total battery capacity setting': Sending state 165.00002 Ah with 0 decimals of accuracy [07:42:37][D][sensor:094]: 'jk-bms charging cycles': Sending state 0.00000 with 0 decimals of accuracy [07:42:37][D][sensor:094]: 'jk-bms total charging cycle capacity': Sending state 64.70400 Ah with 3 decimals of accuracy [07:42:37][D][jk_bms_ble:647]: Unknown158: 0x64 0x00 (always 0x64 0x00?) [07:42:37][D][jk_bms_ble:650]: Unknown160: 0x00 0x00 (always 0xC5 0x09?) [07:42:37][D][sensor:094]: 'jk-bms total runtime': Sending state 438979.00000 s with 0 decimals of accuracy [07:42:37][D][text_sensor:064]: 'jk-bms total runtime formatted': Sending state '5d 1h' [07:42:37][D][jk_bms_ble:663]: Unknown168: 00.00.00.00.00.00.00.00.00.00.00.00.00.00 (14) [07:42:37][D][jk_bms_ble:677]: Unknown189: 0x00 0x64 [07:42:37][D][jk_bms_ble:681]: Unknown192: 0x11 [07:42:37][D][jk_bms_ble:683]: Unknown193: 0x00 0xE7 (0x00 0x8D) [07:42:37][D][jk_bms_ble:685]: Unknown195: 0xA3 0x3E (0x21 0x40) [07:42:37][W][component:204]: Component esp32_ble took a long time for an operation (0.51 s). [07:42:37][W][component:205]: Components should block for at most 20-30ms.
Please provide the logs with timestamp, as we wrote everywhere. See also https://louisvdw.github.io/dbus-serialbattery/troubleshoot/#driver-log-files
Anyway, now the error is another.
@4000000065128866009ff72c ERROR:SerialBattery:No Bluetooth adapters found.
I had a second USB Bluetooth connected, i had removed it, reinstalled, and still the same included the log.
2023-09-26 09:21:00.146421500 *** CCGX booted (0) ***
2023-09-26 09:22:45.740005500 Missing device address argument
2023-09-26 09:22:47.432327500 INFO:SerialBattery:
2023-09-26 09:22:47.432752500 INFO:SerialBattery:Starting dbus-serialbattery
2023-09-26 09:22:47.433665500 INFO:SerialBattery:dbus-serialbattery v1.0.20230525beta
2023-09-26 09:22:47.870858500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-09-26 09:22:47.871406500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-09-26 09:23:02.831165500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2023-09-26 09:23:02.831174500 connect and scrape on address: 20:22:08:25:17:41
2023-09-26 09:23:02.831177500 btloop
2023-09-26 09:23:02.831179500 reconnect
2023-09-26 09:23:02.831180500 Exiting bt-loop
2023-09-26 09:23:03.117505500 Missing device address argument
2023-09-26 09:23:04.764602500 INFO:SerialBattery:
2023-09-26 09:23:04.765033500 INFO:SerialBattery:Starting dbus-serialbattery
2023-09-26 09:23:04.765953500 INFO:SerialBattery:dbus-serialbattery v1.0.20230525beta
2023-09-26 09:23:05.154074500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-09-26 09:23:05.154536500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-09-26 09:23:20.776226500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2023-09-26 09:23:20.776382500 connect and scrape on address: 20:22:08:25:17:41
2023-09-26 09:23:20.776386500 btloop
2023-09-26 09:23:20.776387500 reconnect
2023-09-26 09:23:20.776389500 Exiting bt-loop
2023-09-26 09:23:21.039026500 Missing device address argument
2023-09-26 09:23:22.115334500 INFO:SerialBattery:
2023-09-26 09:23:22.115969500 INFO:SerialBattery:Starting dbus-serialbattery
2023-09-26 09:23:22.116990500 INFO:SerialBattery:dbus-serialbattery v1.0.20230525beta
2023-09-26 09:23:22.493285500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-09-26 09:23:22.493944500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-09-26 09:23:37.782339500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2023-09-26 09:23:37.782491500 connect and scrape on address: 20:22:08:25:17:41
2023-09-26 09:23:37.782495500 btloop
2023-09-26 09:23:37.782497500 reconnect
2023-09-26 09:23:37.782498500 Exiting bt-loop
2023-09-26 09:23:38.051658500 Missing device address argument
2023-09-26 09:23:39.202712500 INFO:SerialBattery:
2023-09-26 09:23:39.203141500 INFO:SerialBattery:Starting dbus-serialbattery
2023-09-26 09:23:39.204127500 INFO:SerialBattery:dbus-serialbattery v1.0.20230525beta
2023-09-26 09:23:39.605594500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-09-26 09:23:39.606058500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-09-26 09:23:54.778567500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2023-09-26 09:23:54.778798500 connect and scrape on address: 20:22:08:25:17:41
2023-09-26 09:23:54.778802500 btloop
2023-09-26 09:23:54.778803500 reconnect
2023-09-26 09:23:54.778805500 Exiting bt-loop
2023-09-26 09:23:55.044528500 Missing device address argument
2023-09-26 09:23:56.151729500 INFO:SerialBattery:
2023-09-26 09:23:56.152160500 INFO:SerialBattery:Starting dbus-serialbattery
2023-09-26 09:23:56.153071500 INFO:SerialBattery:dbus-serialbattery v1.0.20230525beta
2023-09-26 09:23:56.551272500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-09-26 09:23:56.551932500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
SVstats :
svstat /service/dbus-blebattery.*
/service/dbus-blebattery.0: up (pid 3052) 7 seconds
root@VFIEVOX3:~# svstat /service/dbus-blebattery.*
/service/dbus-blebattery.0: up (pid 3052) 10 seconds
root@VFIEVOX3:~# svstat /service/dbus-blebattery.*
/service/dbus-blebattery.0: up (pid 3052) 10 seconds
root@VFIEVOX3:~# svstat /service/dbus-blebattery.*
/service/dbus-blebattery.0: up (pid 3052) 11 seconds
root@VFIEVOX3:~# svstat /service/dbus-blebattery.*
/service/dbus-blebattery.0: up (pid 3052) 12 seconds
root@VFIEVOX3:~# svstat /service/dbus-blebattery.*
/service/dbus-blebattery.0: up (pid 3052) 12 seconds
root@VFIEVOX3:~# svstat /service/dbus-blebattery.*
/service/dbus-blebattery.0: up (pid 3052) 12 seconds
root@VFIEVOX3:~# svstat /service/dbus-blebattery.*
/service/dbus-blebattery.0: up (pid 3052) 13 seconds
root@VFIEVOX3:~# svstat /service/dbus-blebattery.*
/service/dbus-blebattery.0: up (pid 3052) 13 seconds
root@VFIEVOX3:~# svstat /service/dbus-blebattery.*
/service/dbus-blebattery.0: up (pid 3052) 14 seconds
root@VFIEVOX3:~# svstat /service/dbus-blebattery.*
/service/dbus-blebattery.0: up (pid 3052) 14 seconds
root@VFIEVOX3:~# svstat /service/dbus-blebattery.*
/service/dbus-blebattery.0: up (pid 3052) 14 seconds
root@VFIEVOX3:~# svstat /service/dbus-blebattery.*
/service/dbus-blebattery.0: up (pid 3052) 15 seconds
root@VFIEVOX3:~# svstat /service/dbus-blebattery.*
/service/dbus-blebattery.0: up (pid 3052) 15 seconds
root@VFIEVOX3:~# svstat /service/dbus-blebattery.*
/service/dbus-blebattery.0: up (pid 3052) 16 seconds
root@VFIEVOX3:~# svstat /service/dbus-blebattery.*
/service/dbus-blebattery.0: up (pid 3052) 16 seconds
root@VFIEVOX3:~# svstat /service/dbus-blebattery.*
/service/dbus-blebattery.0: up (pid 3145) 0 seconds
What is the output of
bluetoothctl scan on
Wait for some seconds, then exit with CTRL + C
.
Please tell me also the exact version of the driver you are using and Venus OS. Latest is not a useful answer.
If you are not running driver version v1.0.20230921beta
then please install the latest nightly
of the dev
branch.
Hi, i have the same problem:
tried with: nightly - dev from today venus os: v3.10 Jk Bms: JK_BD6A17S8P
Dmesg shows this: [ 15.208783] Bluetooth: hci0: BCM: failed to write update baudrate (-110) [ 15.215500] Bluetooth: hci0: Failed to set baudrate [ 17.288765] Bluetooth: hci0: command 0x0c03 tx timeout [ 25.448771] Bluetooth: hci0: BCM: Reset failed (-110)
Also, the cerbo is a little laggy since installation of the driver - every few seconds, keys are delayed (top didnt show high load) on ssh and remote console.
@40000000651fe93628d58784 Successful disconnected
@40000000651fe93b2c14243c Device 20:22:09:27:33:9B (public)
@40000000651fe93b2c144764 Alias: JK_BD6A17S8P
@40000000651fe93b2c144f34 Paired: no
@40000000651fe93b2c14531c Trusted: yes
@40000000651fe93b2c145aec Blocked: no
@40000000651fe93b2c145ed4 Connected: no
@40000000651fe93b2c1462bc LegacyPairing: no
@40000000651fe93b2c146a8c RSSI: -54
@40000000651fe93b2c2c47ec
@40000000651fe93d0428db84 INFO:SerialBattery:
@40000000651fe93d04330ce4 INFO:SerialBattery:Starting dbus-serialbattery
@40000000651fe93d0447dd04 INFO:SerialBattery:dbus-serialbattery v1.0.20230921dev
@40000000651fe93d1de55bc4 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:09:27:33:9B
@40000000651fe93d1df063fc INFO:SerialBattery:Test of Jkbms_Ble at 20:22:09:27:33:9B
@40000000651fe94c0213f98c ERROR:SerialBattery:No BMS found at 20:22:09:27:33:9B
@40000000651fe94c0220ceb4 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
Hi,
First of all: thanks for your fine work on this, it's much appreciated !
I have also same sort of a problem:
**Jk BMS : JK_B1A8S20P Serial number Hardware v11.XW SOFTWARE V11.261
Venus OS device type Raspberry Pi 4
Venus OS version 3.12
Connection type Bluetooth
Bluetoothctl info
Device C8:47:8C:EE:33:E2 (public)
Name: NKON-125Ah
Alias: NKON-125Ah
Paired: no
Trusted: yes
Blocked: no
Connected: no
LegacyPairing: no
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
UUID: Device Information (0000180a-0000-1000-8000-00805f9b34fb)
UUID: Battery Service (0000180f-0000-1000-8000-00805f9b34fb)
UUID: Unknown (0000ffe0-0000-1000-8000-00805f9b34fb)
UUID: Vendor specific (f000ffc0-0451-4000-b000-000000000000)
Modalias: usb:v045Ep0040d0300
Config file
[DEFAULT]
BLUETOOTH_BMS = Jkbms_Ble C8:47:8C:EE:33:E2
/data/log/serial-starter/current
@400000006543bd362daefc04 *** CCGX booted (0) ***
@400000006543bd381516b074 *** starting serial-starter ***
@400000006543bd39220678dc serstart starting
@400000006543bd3923cf2aec INFO: loading config file /etc/venus/serial-starter.conf
@400000006543bd3d1acc7364 INFO: Create daemontools service vedirect-interface.ttyUSB0
@400000006543bd3f1ba0ceac INFO: Create daemontools service mk2-dbus.ttyUSB1
@400000006543bd432894159c INFO: Start service vedirect-interface.ttyUSB0 once
@400000006543bd4601e2db54 INFO: Start service mk2-dbus.ttyUSB1
/data/log/dbus-blebattery.*/current
@400000006543c8e70c417574 ERROR:SerialBattery:Unexpected err=ValueError('dbus_fast.signature.Variant size changed, may indicate binary incompatibility. Expected 24 from C header, got 20 from PyObject'),>
@400000006543c8e70c4810dc ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
@400000006543c8e70c4b452c
@400000006543c8e7190e15dc Missing device address argument
@400000006543c8e81fc2d23c INFO:SerialBattery:Starting dbus-serialbattery
@400000006543c8e81fd14d44 INFO:SerialBattery:dbus-serialbattery v1.0.20230531
@400000006543c8e836b33644 INFO:SerialBattery:Init of Jkbms_Ble at C8:47:8C:EE:33:E2
@400000006543c8e836badf34 INFO:SerialBattery:Test of Jkbms_Ble at C8:47:8C:EE:33:E2
@400000006543c8e9012962dc ERROR:SerialBattery:Unexpected err=ValueError('dbus_fast.signature.Variant size changed, may indicate binary incompatibility. Expected 24 from C header, got 20 from PyObject'),>
@400000006543c8e9012fe6d4 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
@400000006543c8e901346b14
@400000006543c8e90e20c494 Missing device address argument
Any ideas on how to solve this problem ?
From the logs I see that you are using the driver version v1.0.20230531
.
A needed Python module named dbus_fast
was not installed. This is a known issue on weaker devices and was fixed some weeks ago. Just install the latest nightly
from the dev
branch and it should work.
It doesn't seem to change things !?
@400000006543dfee193aafd4 INFO:Bluetooth details
@400000006543dfee1aab27f4 No default controller available
@400000006543dff31cedff8c
@400000006543dff42385316c INFO:SerialBattery:
@400000006543dff4238bd88c INFO:SerialBattery:Starting dbus-serialbattery
@400000006543dff42399a3cc INFO:SerialBattery:dbus-serialbattery v1.0.20231102dev
@400000006543dff43a42c1bc INFO:SerialBattery:Init of Jkbms_Ble at C8:47:8C:EE:33:E2
@400000006543dff43a497c64 INFO:SerialBattery:Test of Jkbms_Ble at C8:47:8C:EE:33:E2
@400000006543dff50785413c Exception in thread Thread-1:
@400000006543dff5078558ac Traceback (most recent call last):
@400000006543dff507856464 File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
@400000006543dff507857404 self.run()
@400000006543dff507857bd4 File "/usr/lib/python3.8/threading.py", line 870, in run
@400000006543dff507858b74 self._target(*self._args, **self._kwargs)
@400000006543dff50785972c File "/opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py", line 430, in connect_and_scrape
@400000006543dff507870274 asyncio.run(self.asy_connect_and_scrape())
@400000006543dff507870e2c File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
@400000006543dff507871dcc return loop.run_until_complete(main)
@400000006543dff507872984 File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
@400000006543dff507873d0c return future.result()
@400000006543dff50787a29c File "/opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py", line 440, in asy_connect_and_scrape
@400000006543dff50787ba0c client = BleakClient(self.address)
@400000006543dff50787c1dc File "/usr/lib/python3.8/site-packages/bleak/__init__.py", line 518, in __init__
@400000006543dff50787d564 get_platform_client_backend_type() if backend is None else backend
@400000006543dff50787ecd4 File "/usr/lib/python3.8/site-packages/bleak/backends/client.py", line 260, in get_platform_client_backend_type
@400000006543dff50789022c from bleak.backends.bluezdbus.client import BleakClientBlueZDBus
@400000006543dff5078911cc File "/usr/lib/python3.8/site-packages/bleak/backends/bluezdbus/client.py", line 23, in <module>
@400000006543dff507892554 from dbus_fast.aio import MessageBus
@400000006543dff50789310c File "/usr/lib/python3.8/site-packages/dbus_fast/__init__.py", line 1, in <module>
@400000006543dff50789a254 from . import introspection, message_bus, proxy_object, service
@400000006543dff50789b1f4 File "/usr/lib/python3.8/site-packages/dbus_fast/introspection.py", line 5, in <module>
@400000006543dff50789c57c from .errors import InvalidIntrospectionError
@400000006543dff50789d51c File "/usr/lib/python3.8/site-packages/dbus_fast/errors.py", line 57, in <module>
@400000006543dff50789e8a4 from .message import Message
@400000006543dff5078a427c File "src/dbus_fast/message.py", line 1, in init dbus_fast.message
@400000006543dff5078a5604 ValueError: dbus_fast.signature.Variant size changed, may indicate binary incompatibility. Expected 24 from C header, got 20 from PyObject
@400000006543dffe1d760bac ERROR:SerialBattery:No BMS found at C8:47:8C:EE:33:E2
@400000006543dffe1d7d202c ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
@400000006543dffe2aff128c
Try to run this manually:
And then as last
pip3 install dbus-fast
Doesn't change much:
root@raspberrypi2:/data/etc/dbus-serialbattery# export SKIP_CYTHON=false
root@raspberrypi2:/data/etc/dbus-serialbattery# opkg update
Downloading https://updates.victronenergy.com/feeds/venus/release/packages/dunfell/all/Packages.gz.
Updated source 'all'.
Downloading https://updates.victronenergy.com/feeds/venus/release/packages/dunfell/cortexa7hf-neon-vfpv4/Packages.gz.
Updated source 'cortexa7hf-neon-vfpv4'.
Downloading https://updates.victronenergy.com/feeds/venus/release/packages/dunfell/raspberrypi2/Packages.gz.
Updated source 'raspberrypi2'.
root@raspberrypi2:/data/etc/dbus-serialbattery# opkg install python3-misc python3-pip
No packages installed or removed.
root@raspberrypi2:/data/etc/dbus-serialbattery# echo
root@raspberrypi2:/data/etc/dbus-serialbattery# pip3 install bleak
Requirement already satisfied: bleak in /usr/lib/python3.8/site-packages (0.21.1)
Requirement already satisfied: async-timeout<5,>=3.0.0; python_version < "3.11" in /usr/lib/python3.8/site-packages (from bleak) (4.0.3)
Requirement already satisfied: typing-extensions>=4.7.0; python_version < "3.12" in /usr/lib/python3.8/site-packages (from bleak) (4.8.0)
Requirement already satisfied: dbus-fast<3,>=1.83.0; platform_system == "Linux" in /usr/lib/python3.8/site-packages (from bleak) (2.12.0)
root@raspberrypi2:/data/etc/dbus-serialbattery# pip3 install dbus-fast
Requirement already satisfied: dbus-fast in /usr/lib/python3.8/site-packages (2.12.0)
You could try another dbus-fast
version.
pip3 install dbus-fast==v1.93.0
There was a bug in dbus-fast some time ago. You can try different versions: https://github.com/Bluetooth-Devices/dbus-fast/releases
Thanks for all the support, it does work now I don't exactly know what I did (I even once needed to hard reset my rpi), but it now works with dbus-serialbattery v1.0.20230531.
export SKIP_CYTHON=false
bash /data/etc/dbus-serialbattery/reinstall-local.sh
the first line was needed because otherwise ik kept hanging during making a wheel for dbus-fast.
@itgenmar @M0ebiu5 did you solve your problem? Have you changed the pin of the JKBMS?
Hi, I have installed the latest nightly v1.0.20231102dev, i have the default pins : 1234 and 123456 : tried with dbus-fast==v1.93.0, with export SKIP_CYTHON=false
2023-11-03 08:56:42.184893500 Device 20:22:08:25:17:41 (public) 2023-11-03 08:56:42.184917500 Alias: JK_BD4A24S04 2023-11-03 08:56:42.184919500 Paired: no 2023-11-03 08:56:42.184921500 Trusted: yes 2023-11-03 08:56:42.184923500 Blocked: no 2023-11-03 08:56:42.185006500 Connected: no 2023-11-03 08:56:42.185008500 LegacyPairing: no 2023-11-03 08:56:42.185010500 RSSI: -48 2023-11-03 08:56:42.185949500 2023-11-03 08:56:43.326740500 INFO:SerialBattery: 2023-11-03 08:56:43.327189500 INFO:SerialBattery:Starting dbus-serialbattery 2023-11-03 08:56:43.328121500 INFO:SerialBattery:dbus-serialbattery v1.0.20231102dev 2023-11-03 08:56:43.721565500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41 2023-11-03 08:56:43.722009500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41 2023-11-03 08:56:46.222166500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found! 2023-11-03 08:56:48.856816500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit 2023-11-03 08:56:53.238361500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41 2023-11-03 08:56:53.238883500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble 2023-11-03 08:56:53.540250500 2023-11-03 08:56:53.540398500 INFO:Bluetooth details 2023-11-03 08:56:53.545915500 [CHG] Device 20:22:08:25:17:41 RSSI: -48 2023-11-03 08:56:53.545922500 [CHG] Device 20:22:08:25:17:41 RSSI: -52 2023-11-03 08:56:53.607303500 Attempting to disconnect from 20:22:08:25:17:41
Can you enable LOGGING = DEBUG
in the config.ini
?
Done i change it for 100 lines
ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-03 09:04:37.551763500 ERROR:SerialBattery:ERROR >>No battery connection at Jkbms_Ble
2023-11-03 09:04:37.841692500
2023-11-03 09:04:37.841849500 INFO:Bluetooth details
2023-11-03 09:04:37.854726500 [CHG] Device 20:22:08:25:17:41 RSSI: -47
2023-11-03 09:04:37.854733500 [CHG] Device 20:22:08:25:17:41 RSSI: -48
2023-11-03 09:04:37.920157500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-03 09:04:37.920164500 Successful disconnected
2023-11-03 09:04:42.983121500 Device 20:22:08:25:17:41 (public)
2023-11-03 09:04:42.983128500 Alias: JK_BD4A24S04
2023-11-03 09:04:42.983131500 Paired: no
2023-11-03 09:04:42.983132500 Trusted: yes
2023-11-03 09:04:42.983134500 Blocked: no
2023-11-03 09:04:42.983136500 Connected: no
2023-11-03 09:04:42.983138500 LegacyPairing: no
2023-11-03 09:04:42.983140500 RSSI: -52
2023-11-03 09:04:42.984081500
2023-11-03 09:04:44.114597500 INFO:SerialBattery:
2023-11-03 09:04:44.115053500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-03 09:04:44.116091500 INFO:SerialBattery:dbus-serialbattery v1.0.20231102dev
2023-11-03 09:04:44.505623500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:04:44.506071500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:04:45.499940500 INFO:SerialBattery:--asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-03 09:04:47.852888500 INFO:SerialBattery:--asy_connect_and_scrape(): Exit
2023-11-03 09:04:54.022188500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-03 09:04:54.022725500 ERROR:SerialBattery:ERROR >>No battery connection at Jkbms_Ble
2023-11-03 09:04:54.312203500
2023-11-03 09:04:54.312207500 INFO:Bluetooth details
2023-11-03 09:04:54.316849500 [CHG] Device 20:22:08:25:17:41 RSSI: -52
2023-11-03 09:04:54.316858500 [CHG] Device 20:22:08:25:17:41 RSSI: -52
2023-11-03 09:04:54.368526500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-03 09:04:54.368533500 Successful disconnected
2023-11-03 09:04:59.456991500 Device 20:22:08:25:17:41 (public)
2023-11-03 09:04:59.456998500 Alias: JK_BD4A24S04
2023-11-03 09:04:59.457000500 Paired: no
2023-11-03 09:04:59.457002500 Trusted: yes
2023-11-03 09:04:59.457003500 Blocked: no
2023-11-03 09:04:59.457005500 Connected: no
2023-11-03 09:04:59.457007500 LegacyPairing: no
2023-11-03 09:04:59.457009500 RSSI: -52
2023-11-03 09:04:59.458016500
2023-11-03 09:05:00.581230500 INFO:SerialBattery:
2023-11-03 09:05:00.581709500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-03 09:05:00.604065500 INFO:SerialBattery:dbus-serialbattery v1.0.20231102dev
2023-11-03 09:05:01.067040500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:05:01.067510500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:05:02.442988500 INFO:SerialBattery:--asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-03 09:05:04.855436500 INFO:SerialBattery:--asy_connect_and_scrape(): Exit
2023-11-03 09:05:10.582120500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-03 09:05:10.582583500 ERROR:SerialBattery:ERROR >>No battery connection at Jkbms_Ble
2023-11-03 09:05:10.886756500 [CHG] Device 20:22:08:25:17:41 RSSI: -52
2023-11-03 09:05:10.886763500 [CHG] Device 20:22:08:25:17:41 RSSI: -48
2023-11-03 09:05:10.893377500
2023-11-03 09:05:10.893729500 INFO:Bluetooth details
2023-11-03 09:05:10.960535500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-03 09:05:10.960542500 Successful disconnected
2023-11-03 09:05:16.113347500 Device 20:22:08:25:17:41 (public)
2023-11-03 09:05:16.113353500 Alias: JK_BD4A24S04
2023-11-03 09:05:16.113355500 Paired: no
2023-11-03 09:05:16.113357500 Trusted: yes
2023-11-03 09:05:16.113359500 Blocked: no
2023-11-03 09:05:16.113361500 Connected: no
2023-11-03 09:05:16.113363500 LegacyPairing: no
2023-11-03 09:05:16.113365500 RSSI: -48
2023-11-03 09:05:16.114120500
2023-11-03 09:05:17.346193500 INFO:SerialBattery:
2023-11-03 09:05:17.346684500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-03 09:05:17.347710500 INFO:SerialBattery:dbus-serialbattery v1.0.20231102dev
2023-11-03 09:05:17.745908500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:05:17.746353500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:05:20.197114500 INFO:SerialBattery:--asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-03 09:05:22.849617500 INFO:SerialBattery:--asy_connect_and_scrape(): Exit
2023-11-03 09:05:27.284289500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-03 09:05:27.284296500 ERROR:SerialBattery:ERROR >>No battery connection at Jkbms_Ble
2023-11-03 09:05:27.603059500
2023-11-03 09:05:27.603450500 INFO:Bluetooth details
2023-11-03 09:05:27.613114500 [CHG] Device 20:22:08:25:17:41 RSSI: -48
2023-11-03 09:05:27.613121500 [CHG] Device 20:22:08:25:17:41 RSSI: -48
2023-11-03 09:05:27.677630500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-03 09:05:27.677637500 Successful disconnected
2023-11-03 09:05:32.745630500 Device 20:22:08:25:17:41 (public)
2023-11-03 09:05:32.745637500 Alias: JK_BD4A24S04
2023-11-03 09:05:32.745639500 Paired: no
2023-11-03 09:05:32.745641500 Trusted: yes
2023-11-03 09:05:32.745643500 Blocked: no
2023-11-03 09:05:32.745645500 Connected: no
2023-11-03 09:05:32.745646500 LegacyPairing: no
2023-11-03 09:05:32.745648500 RSSI: -48
2023-11-03 09:05:32.748002500
2023-11-03 09:05:33.883911500 INFO:SerialBattery:
2023-11-03 09:05:33.885685500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-03 09:05:33.887307500 INFO:SerialBattery:dbus-serialbattery v1.0.20231102dev
2023-11-03 09:05:34.289106500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:05:34.289890500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:05:35.352974500 INFO:SerialBattery:--asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-03 09:05:37.847820500 INFO:SerialBattery:--asy_connect_and_scrape(): Exit
2023-11-03 09:06:09.118351500
2023-11-03 09:06:09.118357500 INFO:Bluetooth details
2023-11-03 09:06:09.149162500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-03 09:06:09.149168500 Successful disconnected
2023-11-03 09:06:14.208814500 Device 20:22:08:25:17:41 (public)
2023-11-03 09:06:14.208820500 Alias: JK_BD4A24S04
2023-11-03 09:06:14.208823500 Paired: no
2023-11-03 09:06:14.208824500 Trusted: yes
2023-11-03 09:06:14.208826500 Blocked: no
2023-11-03 09:06:14.208828500 Connected: no
2023-11-03 09:06:14.208830500 LegacyPairing: no
2023-11-03 09:06:14.208832500 RSSI: -47
2023-11-03 09:06:14.209971500
2023-11-03 09:06:15.354260500 INFO:SerialBattery:
2023-11-03 09:06:15.354782500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-03 09:06:15.355793500 INFO:SerialBattery:dbus-serialbattery v1.0.20231102dev
2023-11-03 09:06:15.823827500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:06:15.824416500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:06:15.828444500 DEBUG:SerialBattery:scraping thread started -main thread id: 1996263440 scraping thread: 1979700320
2023-11-03 09:06:15.830853500 DEBUG:SerialBattery:--asy_connect_and_scrape(): Connect and scrape on address: 20:22:08:25:17:41
2023-11-03 09:06:16.205931500 DEBUG:SerialBattery:--asy_connect_and_scrape(): btloop
2023-11-03 09:06:16.206398500 DEBUG:SerialBattery:--asy_connect_and_scrape(): reconnect
2023-11-03 09:06:18.216559500 INFO:SerialBattery:--asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-03 09:06:20.861465500 INFO:SerialBattery:--asy_connect_and_scrape(): Exit
2023-11-03 09:06:25.340853500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-03 09:06:25.341309500 ERROR:SerialBattery:ERROR >>No battery connection at Jkbms_Ble
2023-11-03 09:06:25.624997500
2023-11-03 09:06:25.625470500 INFO:Bluetooth details
2023-11-03 09:06:25.631052500 [CHG] Device 20:22:08:25:17:41 RSSI: -47
2023-11-03 09:06:25.631062500 [CHG] Device 20:22:08:25:17:41 RSSI: -47
^X2023-11-03 09:06:25.695545500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-03 09:06:25.695552500 Successful disconnected
^Z
[4]+ Stopped(SIGTSTP) tail -F -n 100 /data/log/dbus-blebattery.*/current | tai64nlocal
root@raspberrypi2:~# tail -F -n 100 /data/log/dbus-blebattery.*/current | tai64nlocal
2023-11-03 09:11:47.247730500 DEBUG:SerialBattery:--asy_connect_and_scrape(): Connect and scrape on address: 20:22:08:25:17:41
2023-11-03 09:11:47.618362500 DEBUG:SerialBattery:--asy_connect_and_scrape(): btloop
2023-11-03 09:11:47.618814500 DEBUG:SerialBattery:--asy_connect_and_scrape(): reconnect
2023-11-03 09:11:48.878702500 INFO:SerialBattery:--asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-03 09:11:50.857975500 INFO:SerialBattery:--asy_connect_and_scrape(): Exit
2023-11-03 09:11:56.758682500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-03 09:11:56.759158500 ERROR:SerialBattery:ERROR >>No battery connection at Jkbms_Ble
2023-11-03 09:11:57.054783500
2023-11-03 09:11:57.054937500 INFO:Bluetooth details
2023-11-03 09:11:57.060602500 [CHG] Device 20:22:08:25:17:41 RSSI: -48
2023-11-03 09:11:57.060613500 [CHG] Device 20:22:08:25:17:41 RSSI: -47
2023-11-03 09:11:57.132190500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-03 09:11:57.132197500 Successful disconnected
2023-11-03 09:12:02.199848500 Device 20:22:08:25:17:41 (public)
2023-11-03 09:12:02.199854500 Alias: JK_BD4A24S04
2023-11-03 09:12:02.199857500 Paired: no
2023-11-03 09:12:02.199858500 Trusted: yes
2023-11-03 09:12:02.199860500 Blocked: no
2023-11-03 09:12:02.199862500 Connected: no
2023-11-03 09:12:02.199864500 LegacyPairing: no
2023-11-03 09:12:02.199866500 RSSI: -48
2023-11-03 09:12:02.200766500
2023-11-03 09:12:03.381712500 INFO:SerialBattery:
2023-11-03 09:12:03.382177500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-03 09:12:03.383214500 INFO:SerialBattery:dbus-serialbattery v1.0.20231102dev
2023-11-03 09:12:03.780587500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:12:03.781034500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:12:03.784330500 DEBUG:SerialBattery:scraping thread started -main thread id: 1996177424 scraping thread: 1979614304
2023-11-03 09:12:03.786206500 DEBUG:SerialBattery:--asy_connect_and_scrape(): Connect and scrape on address: 20:22:08:25:17:41
2023-11-03 09:12:04.130843500 DEBUG:SerialBattery:--asy_connect_and_scrape(): btloop
2023-11-03 09:12:04.131251500 DEBUG:SerialBattery:--asy_connect_and_scrape(): reconnect
2023-11-03 09:12:05.345878500 INFO:SerialBattery:--asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-03 09:12:07.854534500 INFO:SerialBattery:--asy_connect_and_scrape(): Exit
2023-11-03 09:12:13.314308500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-03 09:12:13.314317500 ERROR:SerialBattery:ERROR >>No battery connection at Jkbms_Ble
2023-11-03 09:12:13.620864500 [CHG] Device 20:22:08:25:17:41 RSSI: -48
2023-11-03 09:12:13.620871500 [CHG] Device 20:22:08:25:17:41 RSSI: -48
2023-11-03 09:12:13.623809500
2023-11-03 09:12:13.624064500 INFO:Bluetooth details
2023-11-03 09:12:13.678466500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-03 09:12:13.678473500 Successful disconnected
2023-11-03 09:12:18.748205500 Device 20:22:08:25:17:41 (public)
2023-11-03 09:12:18.748214500 Alias: JK_BD4A24S04
2023-11-03 09:12:18.748219500 Paired: no
2023-11-03 09:12:18.748223500 Trusted: yes
2023-11-03 09:12:18.748227500 Blocked: no
2023-11-03 09:12:18.748229500 Connected: no
2023-11-03 09:12:18.748231500 LegacyPairing: no
2023-11-03 09:12:18.748233500 RSSI: -52
2023-11-03 09:12:19.094983500
2023-11-03 09:12:19.934348500 INFO:SerialBattery:
2023-11-03 09:12:19.934919500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-03 09:12:19.935943500 INFO:SerialBattery:dbus-serialbattery v1.0.20231102dev
2023-11-03 09:12:20.346197500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:12:20.346660500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:12:20.350186500 DEBUG:SerialBattery:scraping thread started -main thread id: 1995964432 scraping thread: 1979401312
2023-11-03 09:12:20.352359500 DEBUG:SerialBattery:--asy_connect_and_scrape(): Connect and scrape on address: 20:22:08:25:17:41
2023-11-03 09:12:20.732746500 DEBUG:SerialBattery:--asy_connect_and_scrape(): btloop
2023-11-03 09:12:20.733257500 DEBUG:SerialBattery:--asy_connect_and_scrape(): reconnect
2023-11-03 09:12:21.397051500 INFO:SerialBattery:--asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-03 09:12:23.854129500 INFO:SerialBattery:--asy_connect_and_scrape(): Exit
2023-11-03 09:12:29.876574500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-03 09:12:29.877076500 ERROR:SerialBattery:ERROR >>No battery connection at Jkbms_Ble
2023-11-03 09:12:30.161863500
2023-11-03 09:12:30.162003500 INFO:Bluetooth details
2023-11-03 09:12:30.180287500 [CHG] Device 20:22:08:25:17:41 RSSI: -52
2023-11-03 09:12:30.180295500 [CHG] Device 20:22:08:25:17:41 RSSI: -46
2023-11-03 09:12:30.248749500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-03 09:12:30.248780500 [CHG] Device 4F:CF:59:55:62:6E TxPower is nil
2023-11-03 09:12:30.248784500 [CHG] Device 4F:CF:59:55:62:6E RSSI is nil
2023-11-03 09:12:30.248788500 [CHG] Device D8:E3:5E:A5:4C:BF TxPower is nil
2023-11-03 09:12:30.248791500 [CHG] Device D8:E3:5E:A5:4C:BF RSSI is nil
2023-11-03 09:12:30.248795500 [CHG] Device 6F:F2:99:5B:BE:32 TxPower is nil
2023-11-03 09:12:30.248799500 [CHG] Device 6F:F2:99:5B:BE:32 RSSI is nil
2023-11-03 09:12:30.248978500 [CHG] Device A5:C2:37:01:AD:77 RSSI is nil
2023-11-03 09:12:30.248982500 [CHG] Device 20:22:08:25:17:41 RSSI is nil
2023-11-03 09:12:30.248986500 [CHG] Device 6B:52:83:FD:5D:A4 TxPower is nil
2023-11-03 09:12:30.248989500 [CHG] Device 6B:52:83:FD:5D:A4 RSSI is nil
2023-11-03 09:12:30.248993500 [CHG] Controller B8:27:EB:2A:55:5A Discovering: no
2023-11-03 09:12:30.249020500 Successful disconnected
2023-11-03 09:12:35.317228500 Device 20:22:08:25:17:41 (public)
2023-11-03 09:12:35.317235500 Alias: JK_BD4A24S04
2023-11-03 09:12:35.317237500 Paired: no
2023-11-03 09:12:35.317238500 Trusted: yes
2023-11-03 09:12:35.317240500 Blocked: no
2023-11-03 09:12:35.317242500 Connected: no
2023-11-03 09:12:35.317244500 LegacyPairing: no
2023-11-03 09:12:35.317246500 RSSI: -48
2023-11-03 09:12:35.319718500
2023-11-03 09:12:36.480806500 INFO:SerialBattery:
2023-11-03 09:12:36.481264500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-03 09:12:36.482228500 INFO:SerialBattery:dbus-serialbattery v1.0.20231102dev
2023-11-03 09:12:36.873187500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:12:36.873752500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:12:36.877620500 DEBUG:SerialBattery:scraping thread started -main thread id: 1995681808 scraping thread: 1979118688
2023-11-03 09:12:36.881145500 DEBUG:SerialBattery:--asy_connect_and_scrape(): Connect and scrape on address: 20:22:08:25:17:41
2023-11-03 09:12:37.287575500 DEBUG:SerialBattery:--asy_connect_and_scrape(): btloop
2023-11-03 09:12:37.288067500 DEBUG:SerialBattery:--asy_connect_and_scrape(): reconnect
2023-11-03 09:12:38.380015500 INFO:SerialBattery:--asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-03 09:12:40.855999500 INFO:SerialBattery:--asy_connect_and_scrape(): Exit
^C
root@raspberrypi2:~# tail -F -n 100 /data/log/dbus-blebattery.*/current | tai64nlocal
2023-11-03 09:12:46.763798500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-03 09:12:46.763805500 Successful disconnected
2023-11-03 09:12:51.829782500 Device 20:22:08:25:17:41 (public)
2023-11-03 09:12:51.829790500 Alias: JK_BD4A24S04
2023-11-03 09:12:51.829793500 Paired: no
2023-11-03 09:12:51.829794500 Trusted: yes
2023-11-03 09:12:51.829796500 Blocked: no
2023-11-03 09:12:51.829798500 Connected: no
2023-11-03 09:12:51.829800500 LegacyPairing: no
2023-11-03 09:12:51.829802500 RSSI: -48
2023-11-03 09:12:51.830111500
2023-11-03 09:12:52.990721500 INFO:SerialBattery:
2023-11-03 09:12:52.991210500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-03 09:12:52.992271500 INFO:SerialBattery:dbus-serialbattery v1.0.20231102dev
2023-11-03 09:12:53.384615500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:12:53.385091500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:12:53.388463500 DEBUG:SerialBattery:scraping thread started -main thread id: 1996333072 scraping thread: 1979769952
2023-11-03 09:12:53.390645500 DEBUG:SerialBattery:--asy_connect_and_scrape(): Connect and scrape on address: 20:22:08:25:17:41
2023-11-03 09:12:53.777252500 DEBUG:SerialBattery:--asy_connect_and_scrape(): btloop
2023-11-03 09:12:53.778000500 DEBUG:SerialBattery:--asy_connect_and_scrape(): reconnect
2023-11-03 09:12:55.207066500 INFO:SerialBattery:--asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-03 09:12:57.857162500 INFO:SerialBattery:--asy_connect_and_scrape(): Exit
2023-11-03 09:13:02.901465500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-03 09:13:02.901936500 ERROR:SerialBattery:ERROR >>No battery connection at Jkbms_Ble
2023-11-03 09:13:03.203365500
2023-11-03 09:13:03.203369500 INFO:Bluetooth details
2023-11-03 09:13:03.210883500 [CHG] Device 20:22:08:25:17:41 RSSI: -48
2023-11-03 09:13:03.210891500 [CHG] Device 20:22:08:25:17:41 RSSI: -47
2023-11-03 09:13:03.288520500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-03 09:13:03.288528500 Successful disconnected
2023-11-03 09:13:08.357770500 Device 20:22:08:25:17:41 (public)
2023-11-03 09:13:08.357776500 Alias: JK_BD4A24S04
2023-11-03 09:13:08.357778500 Paired: no
2023-11-03 09:13:08.357780500 Trusted: yes
2023-11-03 09:13:08.357782500 Blocked: no
2023-11-03 09:13:08.357784500 Connected: no
2023-11-03 09:13:08.357785500 LegacyPairing: no
2023-11-03 09:13:08.357787500 RSSI: -48
2023-11-03 09:13:08.359455500
2023-11-03 09:13:09.511649500 INFO:SerialBattery:
2023-11-03 09:13:09.512110500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-03 09:13:09.513124500 INFO:SerialBattery:dbus-serialbattery v1.0.20231102dev
2023-11-03 09:13:09.909878500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:13:09.910356500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:13:09.913542500 DEBUG:SerialBattery:scraping thread started -main thread id: 1995583504 scraping thread: 1979020384
2023-11-03 09:13:09.915709500 DEBUG:SerialBattery:--asy_connect_and_scrape(): Connect and scrape on address: 20:22:08:25:17:41
2023-11-03 09:13:10.277797500 DEBUG:SerialBattery:--asy_connect_and_scrape(): btloop
2023-11-03 09:13:10.278251500 DEBUG:SerialBattery:--asy_connect_and_scrape(): reconnect
2023-11-03 09:13:11.314827500 INFO:SerialBattery:--asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-03 09:13:13.861963500 INFO:SerialBattery:--asy_connect_and_scrape(): Exit
2023-11-03 09:13:19.426495500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-03 09:13:19.662710500 ERROR:SerialBattery:ERROR >>No battery connection at Jkbms_Ble
2023-11-03 09:13:19.717219500
2023-11-03 09:13:19.717331500 INFO:Bluetooth details
2023-11-03 09:13:19.729863500 [CHG] Device 20:22:08:25:17:41 RSSI: -48
2023-11-03 09:13:19.729871500 [CHG] Device 20:22:08:25:17:41 RSSI: -46
2023-11-03 09:13:19.787215500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-03 09:13:19.787223500 Successful disconnected
2023-11-03 09:13:24.874304500 Device 20:22:08:25:17:41 (public)
2023-11-03 09:13:24.874311500 Alias: JK_BD4A24S04
2023-11-03 09:13:24.874314500 Paired: no
2023-11-03 09:13:24.874315500 Trusted: yes
2023-11-03 09:13:24.874317500 Blocked: no
2023-11-03 09:13:24.874319500 Connected: no
2023-11-03 09:13:24.874321500 LegacyPairing: no
2023-11-03 09:13:24.874323500 RSSI: -48
2023-11-03 09:13:24.874665500
2023-11-03 09:13:26.024393500 INFO:SerialBattery:
2023-11-03 09:13:26.025124500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-03 09:13:26.026244500 INFO:SerialBattery:dbus-serialbattery v1.0.20231102dev
2023-11-03 09:13:26.418288500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:13:26.430129500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:13:26.430137500 DEBUG:SerialBattery:scraping thread started -main thread id: 1996029968 scraping thread: 1979466848
2023-11-03 09:13:26.430142500 DEBUG:SerialBattery:--asy_connect_and_scrape(): Connect and scrape on address: 20:22:08:25:17:41
2023-11-03 09:13:26.775328500 DEBUG:SerialBattery:--asy_connect_and_scrape(): btloop
2023-11-03 09:13:26.775742500 DEBUG:SerialBattery:--asy_connect_and_scrape(): reconnect
2023-11-03 09:13:27.358005500 INFO:SerialBattery:--asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
^X2023-11-03 09:13:29.866394500 INFO:SerialBattery:--asy_connect_and_scrape(): Exit
^Z
[5]+ Stopped(SIGTSTP) tail -F -n 100 /data/log/dbus-blebattery.*/current | tai64nlocal
root@raspberrypi2:~# tail -F -n 100 /data/log/dbus-blebattery.*/current | tai64nlocal
2023-11-03 09:12:46.763798500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-03 09:12:46.763805500 Successful disconnected
2023-11-03 09:12:51.829782500 Device 20:22:08:25:17:41 (public)
2023-11-03 09:12:51.829790500 Alias: JK_BD4A24S04
2023-11-03 09:12:51.829793500 Paired: no
2023-11-03 09:12:51.829794500 Trusted: yes
2023-11-03 09:12:51.829796500 Blocked: no
2023-11-03 09:12:51.829798500 Connected: no
2023-11-03 09:12:51.829800500 LegacyPairing: no
2023-11-03 09:12:51.829802500 RSSI: -48
2023-11-03 09:12:51.830111500
2023-11-03 09:12:52.990721500 INFO:SerialBattery:
2023-11-03 09:12:52.991210500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-03 09:12:52.992271500 INFO:SerialBattery:dbus-serialbattery v1.0.20231102dev
2023-11-03 09:12:53.384615500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:12:53.385091500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:12:53.388463500 DEBUG:SerialBattery:scraping thread started -main thread id: 1996333072 scraping thread: 1979769952
2023-11-03 09:12:53.390645500 DEBUG:SerialBattery:--asy_connect_and_scrape(): Connect and scrape on address: 20:22:08:25:17:41
2023-11-03 09:12:53.777252500 DEBUG:SerialBattery:--asy_connect_and_scrape(): btloop
2023-11-03 09:12:53.778000500 DEBUG:SerialBattery:--asy_connect_and_scrape(): reconnect
2023-11-03 09:12:55.207066500 INFO:SerialBattery:--asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-03 09:12:57.857162500 INFO:SerialBattery:--asy_connect_and_scrape(): Exit
2023-11-03 09:13:02.901465500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-03 09:13:02.901936500 ERROR:SerialBattery:ERROR >>No battery connection at Jkbms_Ble
2023-11-03 09:13:03.203365500
2023-11-03 09:13:03.203369500 INFO:Bluetooth details
2023-11-03 09:13:03.210883500 [CHG] Device 20:22:08:25:17:41 RSSI: -48
2023-11-03 09:13:03.210891500 [CHG] Device 20:22:08:25:17:41 RSSI: -47
2023-11-03 09:13:03.288520500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-03 09:13:03.288528500 Successful disconnected
2023-11-03 09:13:08.357770500 Device 20:22:08:25:17:41 (public)
2023-11-03 09:13:08.357776500 Alias: JK_BD4A24S04
2023-11-03 09:13:08.357778500 Paired: no
2023-11-03 09:13:08.357780500 Trusted: yes
2023-11-03 09:13:08.357782500 Blocked: no
2023-11-03 09:13:08.357784500 Connected: no
2023-11-03 09:13:08.357785500 LegacyPairing: no
2023-11-03 09:13:08.357787500 RSSI: -48
2023-11-03 09:13:08.359455500
2023-11-03 09:13:09.511649500 INFO:SerialBattery:
2023-11-03 09:13:09.512110500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-03 09:13:09.513124500 INFO:SerialBattery:dbus-serialbattery v1.0.20231102dev
2023-11-03 09:13:09.909878500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:13:09.910356500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:13:09.913542500 DEBUG:SerialBattery:scraping thread started -main thread id: 1995583504 scraping thread: 1979020384
2023-11-03 09:13:09.915709500 DEBUG:SerialBattery:--asy_connect_and_scrape(): Connect and scrape on address: 20:22:08:25:17:41
2023-11-03 09:13:10.277797500 DEBUG:SerialBattery:--asy_connect_and_scrape(): btloop
2023-11-03 09:13:10.278251500 DEBUG:SerialBattery:--asy_connect_and_scrape(): reconnect
2023-11-03 09:13:11.314827500 INFO:SerialBattery:--asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-03 09:13:13.861963500 INFO:SerialBattery:--asy_connect_and_scrape(): Exit
2023-11-03 09:13:19.426495500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-03 09:13:19.662710500 ERROR:SerialBattery:ERROR >>No battery connection at Jkbms_Ble
2023-11-03 09:13:19.717219500
2023-11-03 09:13:19.717331500 INFO:Bluetooth details
2023-11-03 09:13:19.729863500 [CHG] Device 20:22:08:25:17:41 RSSI: -48
2023-11-03 09:13:19.729871500 [CHG] Device 20:22:08:25:17:41 RSSI: -46
2023-11-03 09:13:19.787215500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-03 09:13:19.787223500 Successful disconnected
2023-11-03 09:13:24.874304500 Device 20:22:08:25:17:41 (public)
2023-11-03 09:13:24.874311500 Alias: JK_BD4A24S04
2023-11-03 09:13:24.874314500 Paired: no
2023-11-03 09:13:24.874315500 Trusted: yes
2023-11-03 09:13:24.874317500 Blocked: no
2023-11-03 09:13:24.874319500 Connected: no
2023-11-03 09:13:24.874321500 LegacyPairing: no
2023-11-03 09:13:24.874323500 RSSI: -48
2023-11-03 09:13:24.874665500
2023-11-03 09:13:26.024393500 INFO:SerialBattery:
2023-11-03 09:13:26.025124500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-03 09:13:26.026244500 INFO:SerialBattery:dbus-serialbattery v1.0.20231102dev
2023-11-03 09:13:26.418288500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:13:26.430129500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:13:26.430137500 DEBUG:SerialBattery:scraping thread started -main thread id: 1996029968 scraping thread: 1979466848
2023-11-03 09:13:26.430142500 DEBUG:SerialBattery:--asy_connect_and_scrape(): Connect and scrape on address: 20:22:08:25:17:41
2023-11-03 09:13:26.775328500 DEBUG:SerialBattery:--asy_connect_and_scrape(): btloop
2023-11-03 09:13:26.775742500 DEBUG:SerialBattery:--asy_connect_and_scrape(): reconnect
2023-11-03 09:13:27.358005500 INFO:SerialBattery:--asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-03 09:13:29.866394500 INFO:SerialBattery:--asy_connect_and_scrape(): Exit
2023-11-03 09:13:35.935964500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-03 09:13:35.936645500 ERROR:SerialBattery:ERROR >>No battery connection at Jkbms_Ble
2023-11-03 09:13:36.268938500
2023-11-03 09:13:36.269056500 INFO:Bluetooth details
2023-11-03 09:13:36.288821500 [CHG] Device 20:22:08:25:17:41 RSSI: -48
2023-11-03 09:13:36.288829500 [CHG] Device 20:22:08:25:17:41 RSSI: -48
2023-11-03 09:13:36.348507500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-03 09:13:36.348514500 Successful disconnected
2023-11-03 09:13:41.429621500 Device 20:22:08:25:17:41 (public)
2023-11-03 09:13:41.429627500 Alias: JK_BD4A24S04
2023-11-03 09:13:41.429629500 Paired: no
2023-11-03 09:13:41.429631500 Trusted: yes
2023-11-03 09:13:41.429632500 Blocked: no
2023-11-03 09:13:41.429634500 Connected: no
2023-11-03 09:13:41.429636500 LegacyPairing: no
2023-11-03 09:13:41.429638500 RSSI: -48
2023-11-03 09:13:41.432032500
2023-11-03 09:13:42.603780500 INFO:SerialBattery:
2023-11-03 09:13:42.604373500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-03 09:13:42.605391500 INFO:SerialBattery:dbus-serialbattery v1.0.20231102dev
2023-11-03 09:13:42.992247500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:13:42.992703500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:13:42.996251500 DEBUG:SerialBattery:scraping thread started -main thread id: 1996234768 scraping thread: 1979671648
2023-11-03 09:13:42.998476500 DEBUG:SerialBattery:--asy_connect_and_scrape(): Connect and scrape on address: 20:22:08:25:17:41
2023-11-03 09:13:43.393801500 DEBUG:SerialBattery:--asy_connect_and_scrape(): btloop
2023-11-03 09:13:43.394461500 DEBUG:SerialBattery:--asy_connect_and_scrape(): reconnect
2023-11-03 09:13:44.318921500 INFO:SerialBattery:--asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-03 09:13:46.857491500 INFO:SerialBattery:--asy_connect_and_scrape(): Exit
2023-11-03 09:13:52.511305500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-03 09:13:52.511774500 ERROR:SerialBattery:ERROR >>No battery connection at Jkbms_Ble
2023-11-03 09:13:52.811312500
2023-11-03 09:13:52.811441500 INFO:Bluetooth details
2023-11-03 09:13:52.833457500 [CHG] Device 20:22:08:25:17:41 RSSI: -48
2023-11-03 09:13:52.833464500 [CHG] Device 20:22:08:25:17:41 RSSI: -48
2023-11-03 09:13:52.885804500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-03 09:13:52.885812500 [CHG] Device D8:E3:5E:A5:4C:BF TxPower is nil
2023-11-03 09:13:52.885816500 [CHG] Device D8:E3:5E:A5:4C:BF RSSI is nil
2023-11-03 09:13:52.885819500 [CHG] Device 6B:52:83:FD:5D:A4 TxPower is nil
2023-11-03 09:13:52.885823500 [CHG] Device 6B:52:83:FD:5D:A4 RSSI is nil
2023-11-03 09:13:52.885827500 [CHG] Device 4F:CF:59:55:62:6E TxPower is nil
2023-11-03 09:13:52.885831500 [CHG] Device 4F:CF:59:55:62:6E RSSI is nil
2023-11-03 09:13:52.885991500 [CHG] Device A5:C2:37:01:AD:77 RSSI is nil
2023-11-03 09:13:52.885996500 [CHG] Device 6F:F2:99:5B:BE:32 TxPower is nil
2023-11-03 09:13:52.885999500 [CHG] Device 6F:F2:99:5B:BE:32 RSSI is nil
2023-11-03 09:13:52.886003500 [CHG] Device 20:22:08:25:17:41 RSSI is nil
2023-11-03 09:13:52.886007500 [CHG] Controller B8:27:EB:2A:55:5A Discovering: no
2023-11-03 09:13:52.886034500 Successful disconnected
2023-11-03 09:13:57.953844500 Device 20:22:08:25:17:41 (public)
2023-11-03 09:13:57.953851500 Alias: JK_BD4A24S04
2023-11-03 09:13:57.953853500 Paired: no
2023-11-03 09:13:57.953854500 Trusted: yes
2023-11-03 09:13:57.953856500 Blocked: no
2023-11-03 09:13:57.953858500 Connected: no
2023-11-03 09:13:57.953860500 LegacyPairing: no
2023-11-03 09:13:57.953862500 RSSI: -48
2023-11-03 09:13:57.954957500
2023-11-03 09:13:59.073141500 INFO:SerialBattery:
2023-11-03 09:13:59.073811500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-03 09:13:59.074983500 INFO:SerialBattery:dbus-serialbattery v1.0.20231102dev
2023-11-03 09:13:59.475934500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:13:59.476630500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:13:59.480352500 DEBUG:SerialBattery:scraping thread started -main thread id: 1995616272 scraping thread: 1979053152
2023-11-03 09:13:59.482483500 DEBUG:SerialBattery:--asy_connect_and_scrape(): Connect and scrape on address: 20:22:08:25:17:41
2023-11-03 09:13:59.855391500 DEBUG:SerialBattery:--asy_connect_and_scrape(): btloop
2023-11-03 09:13:59.856167500 DEBUG:SerialBattery:--asy_connect_and_scrape(): reconnect
2023-11-03 09:14:01.228275500 INFO:SerialBattery:--asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-03 09:14:03.854887500 INFO:SerialBattery:--asy_connect_and_scrape(): Exit
2023-11-03 09:14:09.004290500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-03 09:14:09.004298500 ERROR:SerialBattery:ERROR >>No battery connection at Jkbms_Ble
2023-11-03 09:14:09.286619500
2023-11-03 09:14:09.286738500 INFO:Bluetooth details
2023-11-03 09:14:09.297011500 [CHG] Device 20:22:08:25:17:41 RSSI: -48
2023-11-03 09:14:09.297019500 [CHG] Device 20:22:08:25:17:41 RSSI: -52
2023-11-03 09:14:09.355809500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-03 09:14:09.355816500 Successful disconnected
^Z
[6]+ Stopped(SIGTSTP) tail -F -n 100 /data/log/dbus-blebattery.*/current | tai64nlocal
root@raspberrypi2:~# tail -F -n 100 /data/log/dbus-blebattery.*/current | tai64nlocal
2023-11-03 09:15:48.490162500 [CHG] Device 6F:F2:99:5B:BE:32 RSSI is nil
2023-11-03 09:15:48.506589500 [CHG] Device A5:C2:37:01:AD:77 RSSI is nil
2023-11-03 09:15:48.506595500 [CHG] Device D8:E3:5E:A5:4C:BF TxPower is nil
2023-11-03 09:15:48.506599500 [CHG] Device D8:E3:5E:A5:4C:BF RSSI is nil
2023-11-03 09:15:48.506602500 [CHG] Device 20:22:08:25:17:41 RSSI is nil
2023-11-03 09:15:48.506606500 [CHG] Controller B8:27:EB:2A:55:5A Discovering: no
2023-11-03 09:15:48.506721500 Successful disconnected
2023-11-03 09:15:53.575935500 Device 20:22:08:25:17:41 (public)
2023-11-03 09:15:53.575942500 Alias: JK_BD4A24S04
2023-11-03 09:15:53.575944500 Paired: no
2023-11-03 09:15:53.575946500 Trusted: yes
2023-11-03 09:15:53.575948500 Blocked: no
2023-11-03 09:15:53.575950500 Connected: no
2023-11-03 09:15:53.575951500 LegacyPairing: no
2023-11-03 09:15:53.575953500 RSSI: -52
2023-11-03 09:15:53.577755500
2023-11-03 09:15:54.708482500 INFO:SerialBattery:
2023-11-03 09:15:54.709216500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-03 09:15:54.710386500 INFO:SerialBattery:dbus-serialbattery v1.0.20231102dev
2023-11-03 09:15:55.097804500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:15:55.098491500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:15:55.101916500 DEBUG:SerialBattery:scraping thread started -main thread id: 1996132368 scraping thread: 1979569248
2023-11-03 09:15:55.104025500 DEBUG:SerialBattery:--asy_connect_and_scrape(): Connect and scrape on address: 20:22:08:25:17:41
2023-11-03 09:15:55.484377500 DEBUG:SerialBattery:--asy_connect_and_scrape(): btloop
2023-11-03 09:15:55.485104500 DEBUG:SerialBattery:--asy_connect_and_scrape(): reconnect
2023-11-03 09:15:56.371743500 INFO:SerialBattery:--asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-03 09:15:58.848891500 INFO:SerialBattery:--asy_connect_and_scrape(): Exit
2023-11-03 09:16:04.624303500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-03 09:16:04.624311500 ERROR:SerialBattery:ERROR >>No battery connection at Jkbms_Ble
2023-11-03 09:16:04.940349500 [CHG] Device 20:22:08:25:17:41 RSSI: -52
2023-11-03 09:16:04.940357500 [CHG] Device 20:22:08:25:17:41 RSSI: -48
2023-11-03 09:16:04.950904500
2023-11-03 09:16:04.951217500 INFO:Bluetooth details
2023-11-03 09:16:05.006631500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-03 09:16:05.006638500 Successful disconnected
2023-11-03 09:16:10.075127500 Device 20:22:08:25:17:41 (public)
2023-11-03 09:16:10.075133500 Alias: JK_BD4A24S04
2023-11-03 09:16:10.075136500 Paired: no
2023-11-03 09:16:10.075137500 Trusted: yes
2023-11-03 09:16:10.075139500 Blocked: no
2023-11-03 09:16:10.075141500 Connected: no
2023-11-03 09:16:10.075143500 LegacyPairing: no
2023-11-03 09:16:10.075145500 RSSI: -47
2023-11-03 09:16:10.076534500
2023-11-03 09:16:11.277076500 INFO:SerialBattery:
2023-11-03 09:16:11.277797500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-03 09:16:11.278949500 INFO:SerialBattery:dbus-serialbattery v1.0.20231102dev
2023-11-03 09:16:11.677309500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:16:11.678097500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:16:11.681539500 DEBUG:SerialBattery:scraping thread started -main thread id: 1996443664 scraping thread: 1979880544
2023-11-03 09:16:11.683756500 DEBUG:SerialBattery:--asy_connect_and_scrape(): Connect and scrape on address: 20:22:08:25:17:41
2023-11-03 09:16:12.085998500 DEBUG:SerialBattery:--asy_connect_and_scrape(): btloop
2023-11-03 09:16:12.086902500 DEBUG:SerialBattery:--asy_connect_and_scrape(): reconnect
2023-11-03 09:16:13.317499500 INFO:SerialBattery:--asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-03 09:16:15.853987500 INFO:SerialBattery:--asy_connect_and_scrape(): Exit
2023-11-03 09:16:21.208647500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-03 09:16:21.208654500 ERROR:SerialBattery:ERROR >>No battery connection at Jkbms_Ble
2023-11-03 09:16:21.496949500
2023-11-03 09:16:21.497358500 INFO:Bluetooth details
2023-11-03 09:16:21.506604500 [CHG] Device 20:22:08:25:17:41 RSSI: -47
2023-11-03 09:16:21.506611500 [CHG] Device 20:22:08:25:17:41 RSSI: -48
2023-11-03 09:16:21.571132500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-03 09:16:21.571139500 Successful disconnected
2023-11-03 09:16:26.644355500 Device 20:22:08:25:17:41 (public)
2023-11-03 09:16:26.644361500 Alias: JK_BD4A24S04
2023-11-03 09:16:26.644363500 Paired: no
2023-11-03 09:16:26.644365500 Trusted: yes
2023-11-03 09:16:26.644367500 Blocked: no
2023-11-03 09:16:26.644368500 Connected: no
2023-11-03 09:16:26.644370500 LegacyPairing: no
2023-11-03 09:16:26.644372500 RSSI: -52
2023-11-03 09:16:26.645993500
2023-11-03 09:16:27.836122500 INFO:SerialBattery:
2023-11-03 09:16:27.836983500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-03 09:16:27.838216500 INFO:SerialBattery:dbus-serialbattery v1.0.20231102dev
2023-11-03 09:16:28.235238500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:16:28.236060500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:16:28.239866500 DEBUG:SerialBattery:scraping thread started -main thread id: 1996345360 scraping thread: 1979782240
2023-11-03 09:16:28.242227500 DEBUG:SerialBattery:--asy_connect_and_scrape(): Connect and scrape on address: 20:22:08:25:17:41
2023-11-03 09:16:28.619230500 DEBUG:SerialBattery:--asy_connect_and_scrape(): btloop
2023-11-03 09:16:28.619969500 DEBUG:SerialBattery:--asy_connect_and_scrape(): reconnect
2023-11-03 09:16:29.343736500 INFO:SerialBattery:--asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-03 09:16:31.861138500 INFO:SerialBattery:--asy_connect_and_scrape(): Exit
2023-11-03 09:16:37.764276500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-03 09:16:37.764286500 ERROR:SerialBattery:ERROR >>No battery connection at Jkbms_Ble
2023-11-03 09:16:38.045158500
2023-11-03 09:16:38.045499500 INFO:Bluetooth details
2023-11-03 09:16:38.054133500 [CHG] Device 20:22:08:25:17:41 RSSI: -52
2023-11-03 09:16:38.054193500 [CHG] Device 20:22:08:25:17:41 RSSI: -52
2023-11-03 09:16:38.111596500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-03 09:16:38.111602500 Successful disconnected
2023-11-03 09:16:43.194309500 Device 20:22:08:25:17:41 (public)
2023-11-03 09:16:43.194315500 Alias: JK_BD4A24S04
2023-11-03 09:16:43.194317500 Paired: no
2023-11-03 09:16:43.194319500 Trusted: yes
2023-11-03 09:16:43.194321500 Blocked: no
2023-11-03 09:16:43.194322500 Connected: no
2023-11-03 09:16:43.194324500 LegacyPairing: no
2023-11-03 09:16:43.194326500 RSSI: -52
2023-11-03 09:16:43.196750500
2023-11-03 09:16:44.313058500 INFO:SerialBattery:
2023-11-03 09:16:44.313755500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-03 09:16:44.314974500 INFO:SerialBattery:dbus-serialbattery v1.0.20231102dev
2023-11-03 09:16:44.700649500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:16:44.701334500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-03 09:16:44.704771500 DEBUG:SerialBattery:scraping thread started -main thread id: 1995481104 scraping thread: 1978917984
2023-11-03 09:16:44.706819500 DEBUG:SerialBattery:--asy_connect_and_scrape(): Connect and scrape on address: 20:22:08:25:17:41
2023-11-03 09:16:45.059795500 DEBUG:SerialBattery:--asy_connect_and_scrape(): btloop
2023-11-03 09:16:45.060511500 DEBUG:SerialBattery:--asy_connect_and_scrape(): reconnect
2023-11-03 09:16:47.201489500 INFO:SerialBattery:--asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-03 09:16:49.855170500 INFO:SerialBattery:--asy_connect_and_scrape(): Exit
2023-11-03 09:16:54.219555500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-03 09:16:54.220014500 ERROR:SerialBattery:ERROR >>No battery connection at Jkbms_Ble
2023-11-03 09:16:54.521818500
2023-11-03 09:16:54.522095500 INFO:Bluetooth details
2023-11-03 09:16:54.532753500 [CHG] Device 20:22:08:25:17:41 RSSI: -52
2023-11-03 09:16:54.532761500 [CHG] Device 20:22:08:25:17:41 RSSI: -48
2023-11-03 09:16:54.602741500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-03 09:16:54.602747500 Successful disconnected
^Z
[7]+ Stopped(SIGTSTP) tail -F -n 100 /data/log/dbus-blebattery.*/current | tai64nlocal
root@raspberrypi2:~# nano /data/log/dbus-blebattery.*/current
GNU nano 4.9.3 /data/log/dbus-blebattery.0/current
@400000006544ba4e1d374944 [^A^[[0;93m^BCHG^A^[[0m^B] Device 6F:F2:99:5B:BE:32 RSSI is nil
@400000006544ba4e1e31f13c [^A^[[0;93m^BCHG^A^[[0m^B] Device A5:C2:37:01:AD:77 RSSI is nil
@400000006544ba4e1e3208ac [^A^[[0;93m^BCHG^A^[[0m^B] Device D8:E3:5E:A5:4C:BF TxPower is nil
@400000006544ba4e1e32184c [^A^[[0;93m^BCHG^A^[[0m^B] Device D8:E3:5E:A5:4C:BF RSSI is nil
@400000006544ba4e1e322404 [^A^[[0;93m^BCHG^A^[[0m^B] Device 20:22:08:25:17:41 RSSI is nil
@400000006544ba4e1e3233a4 [^A^[[0;93m^BCHG^A^[[0m^B] Controller B8:27:EB:2A:55:5A Discovering: no
@400000006544ba4e1e33f4dc Successful disconnected
@400000006544ba532254140c Device 20:22:08:25:17:41 (public)
@400000006544ba5322542f64 Alias: JK_BD4A24S04
@400000006544ba5322543734 Paired: no
@400000006544ba5322543f04 Trusted: yes
@400000006544ba53225446d4 Blocked: no
@400000006544ba5322544ea4 Connected: no
@400000006544ba532254528c LegacyPairing: no
@400000006544ba5322545a5c RSSI: -52
@400000006544ba53226fd96c
@400000006544ba542a3a95c4 INFO:SerialBattery:
@400000006544ba542a45c8f4 INFO:SerialBattery:Starting dbus-serialbattery
@400000006544ba542a57a344 INFO:SerialBattery:dbus-serialbattery v1.0.20231102dev
@400000006544ba5505d460d4 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
@400000006544ba5505dedc6c INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
@400000006544ba5506131f54 DEBUG:SerialBattery:scraping thread started -main thread id: 1996132368 scraping thread: 1979569248
@400000006544ba5506334d9c DEBUG:SerialBattery:--asy_connect_and_scrape(): Connect and scrape on address: 20:22:08:25:17:41
@400000006544ba551cdf039c DEBUG:SerialBattery:--asy_connect_and_scrape(): btloop
@400000006544ba551cea1b74 DEBUG:SerialBattery:--asy_connect_and_scrape(): reconnect
@400000006544ba5616285b0c INFO:SerialBattery:--asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
@400000006544ba5832990e6c INFO:SerialBattery:--asy_connect_and_scrape(): Exit
@400000006544ba5e25361d8c ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
@400000006544ba5e25363ccc ERROR:SerialBattery:ERROR >>No battery connection at Jkbms_Ble
@400000006544ba5e380c983c [^A^[[0;93m^BCHG^A^[[0m^B] Device 20:22:08:25:17:41 RSSI: -52
@400000006544ba5e380cb77c [^A^[[0;93m^BCHG^A^[[0m^B] Device 20:22:08:25:17:41 RSSI: -48
@400000006544ba5e38ada6b4
@400000006544ba5e38b26d5c INFO:Bluetooth details
@400000006544ba5f0065304c Attempting to disconnect from 20:22:08:25:17:41
@400000006544ba5f00654ba4 Successful disconnected
@400000006544ba64047a5acc Device 20:22:08:25:17:41 (public)
@400000006544ba64047a723c Alias: JK_BD4A24S04
@400000006544ba64047a7df4 Paired: no
@400000006544ba64047a81dc Trusted: yes
@400000006544ba64047a89ac Blocked: no
@400000006544ba64047a917c Connected: no
@400000006544ba64047a994c LegacyPairing: no
@400000006544ba64047aa11c RSSI: -47
@400000006544ba64048fd2e4
@400000006544ba651083da14 INFO:SerialBattery:
@400000006544ba65108eda7c INFO:SerialBattery:Starting dbus-serialbattery
@400000006544ba6510a06e7c INFO:SerialBattery:dbus-serialbattery v1.0.20231102dev
@400000006544ba65285eec3c INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
@400000006544ba65286af25c INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
@400000006544ba65289f77ac DEBUG:SerialBattery:scraping thread started -main thread id: 1996443664 scraping thread: 1979880544
@400000006544ba6528c14bd4 DEBUG:SerialBattery:--asy_connect_and_scrape(): Connect and scrape on address: 20:22:08:25:17:41
@400000006544ba6605203ba4 DEBUG:SerialBattery:--asy_connect_and_scrape(): btloop
@400000006544ba66052e06e4 DEBUG:SerialBattery:--asy_connect_and_scrape(): reconnect
@400000006544ba6712eca86c INFO:SerialBattery:--asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
@400000006544ba6932e6d0ac INFO:SerialBattery:--asy_connect_and_scrape(): Exit
@400000006544ba6f0c6fb54c ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
@400000006544ba6f0c6fd0a4 ERROR:SerialBattery:ERROR >>No battery connection at Jkbms_Ble
@400000006544ba6f1d9ed8fc
@400000006544ba6f1da516a4 INFO:Bluetooth details
I have bluetooth connection issue on my Jkbms (JK-B2A8S20P) and the Cerbo GX running this dbus serial battery driver too. The jkbms connects to Cerbo GX fine after a reboot, but will be disconnected after a while, in which case Cerbo GX doesn’t seem to know about the disconnection and still shows the BMS on the remote console (of course without displaying the correct up-to-date battery information), I know it because the bluetooth indicator on jkbms flashes when it is not connected to something. Any advice on how to go about troubleshooting this issue? Thanks!
@rver2024 this is a known issue and not yet fixed. See https://github.com/Louisvdw/dbus-serialbattery/issues/720
@itgenmar can you post a screenshot of the JKBMS displaying the hardware version?
Sorry but the link is unavailable. Please insert the screenshot directly into GitHub.
Also try the latest nightly from the dev branch. There were some relevant changes.
Still no luck, here is the log:
root@raspberrypi2:~# tail -F -n 100 /data/log/dbus-blebattery.*/current | tai64nlocal
2023-11-25 09:00:14.945526500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:00:16.929148500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-25 09:00:19.371688500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2023-11-25 09:00:24.461210500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-25 09:00:24.461673500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2023-11-25 09:00:24.751878500
2023-11-25 09:00:24.751992500 INFO:Bluetooth details
2023-11-25 09:00:24.753956500 [CHG] Device 20:22:08:25:17:41 RSSI: -62
2023-11-25 09:00:24.753964500 [CHG] Device 20:22:08:25:17:41 RSSI: -62
2023-11-25 09:00:24.753967500 [CHG] Device 20:22:08:25:17:41 RSSI: -41
2023-11-25 09:00:24.803023500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-25 09:00:24.803029500 Successful disconnected
2023-11-25 09:00:29.855923500 Device 20:22:08:25:17:41 (public)
2023-11-25 09:00:29.855930500 Alias: JK_BD4A24S04
2023-11-25 09:00:29.855932500 Paired: no
2023-11-25 09:00:29.855934500 Trusted: no
2023-11-25 09:00:29.855936500 Blocked: no
2023-11-25 09:00:29.855937500 Connected: no
2023-11-25 09:00:29.855939500 LegacyPairing: no
2023-11-25 09:00:29.855941500 RSSI: -57
2023-11-25 09:00:29.856893500
2023-11-25 09:00:31.016673500 INFO:SerialBattery:
2023-11-25 09:00:31.017238500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-25 09:00:31.018425500 INFO:SerialBattery:dbus-serialbattery v1.0.20231117dev
2023-11-25 09:00:31.496497500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:00:31.496963500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:00:34.203320500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-25 09:00:36.387988500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2023-11-25 09:00:41.013618500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-25 09:00:41.014089500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2023-11-25 09:00:41.292225500
2023-11-25 09:00:41.292334500 INFO:Bluetooth details
2023-11-25 09:00:41.294299500 [CHG] Device 20:22:08:25:17:41 RSSI: -57
2023-11-25 09:00:41.294308500 [CHG] Device 20:22:08:25:17:41 RSSI: -56
2023-11-25 09:00:41.338501500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-25 09:00:41.338508500 Successful disconnected
2023-11-25 09:00:46.390658500 Device 20:22:08:25:17:41 (public)
2023-11-25 09:00:46.390664500 Alias: JK_BD4A24S04
2023-11-25 09:00:46.390667500 Paired: no
2023-11-25 09:00:46.390668500 Trusted: no
2023-11-25 09:00:46.390670500 Blocked: no
2023-11-25 09:00:46.390672500 Connected: no
2023-11-25 09:00:46.390674500 LegacyPairing: no
2023-11-25 09:00:46.390676500 RSSI: -63
2023-11-25 09:00:46.392663500
2023-11-25 09:00:47.466390500 INFO:SerialBattery:
2023-11-25 09:00:47.467218500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-25 09:00:47.468530500 INFO:SerialBattery:dbus-serialbattery v1.0.20231117dev
2023-11-25 09:00:47.858728500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:00:47.859387500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:00:49.264848500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-25 09:00:51.403430500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2023-11-25 09:00:57.374379500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-25 09:00:57.374882500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2023-11-25 09:00:57.655496500
2023-11-25 09:00:57.655604500 INFO:Bluetooth details
2023-11-25 09:00:57.666579500 [CHG] Device 20:22:08:25:17:41 RSSI: -63
2023-11-25 09:00:57.666585500 [CHG] Device 20:22:08:25:17:41 RSSI: -57
2023-11-25 09:00:57.714824500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-25 09:00:57.714831500 Successful disconnected
2023-11-25 09:01:02.772857500 Device 20:22:08:25:17:41 (public)
2023-11-25 09:01:02.772862500 Alias: JK_BD4A24S04
2023-11-25 09:01:02.772865500 Paired: no
2023-11-25 09:01:02.772866500 Trusted: no
2023-11-25 09:01:02.772868500 Blocked: no
2023-11-25 09:01:02.772870500 Connected: no
2023-11-25 09:01:02.772872500 LegacyPairing: no
2023-11-25 09:01:02.772874500 RSSI: -62
2023-11-25 09:01:02.775143500
2023-11-25 09:01:03.876882500 INFO:SerialBattery:
2023-11-25 09:01:03.877315500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-25 09:01:03.878258500 INFO:SerialBattery:dbus-serialbattery v1.0.20231117dev
2023-11-25 09:01:04.248898500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:01:04.249332500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:01:07.191839500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-25 09:01:09.375123500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2023-11-25 09:01:13.766384500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-25 09:01:13.766517500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2023-11-25 09:01:14.040521500
2023-11-25 09:01:14.040629500 INFO:Bluetooth details
2023-11-25 09:01:14.041917500 [CHG] Device 20:22:08:25:17:41 RSSI: -62
2023-11-25 09:01:14.041926500 [CHG] Device 20:22:08:25:17:41 RSSI: -56
2023-11-25 09:01:14.086145500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-25 09:01:14.086152500 Successful disconnected
2023-11-25 09:01:19.142842500 Device 20:22:08:25:17:41 (public)
2023-11-25 09:01:19.142848500 Alias: JK_BD4A24S04
2023-11-25 09:01:19.142850500 Paired: no
2023-11-25 09:01:19.142852500 Trusted: no
2023-11-25 09:01:19.142853500 Blocked: no
2023-11-25 09:01:19.142855500 Connected: no
2023-11-25 09:01:19.142857500 LegacyPairing: no
2023-11-25 09:01:19.142859500 RSSI: -57
2023-11-25 09:01:19.144669500
2023-11-25 09:01:20.272112500 INFO:SerialBattery:
2023-11-25 09:01:20.272847500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-25 09:01:20.273910500 INFO:SerialBattery:dbus-serialbattery v1.0.20231117dev
2023-11-25 09:01:20.651157500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:01:20.651818500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:01:22.220554500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-25 09:01:37.986973500 *** CCGX booted (0) ***
2023-11-25 09:03:51.289590500
2023-11-25 09:03:51.289596500 INFO:Bluetooth details
2023-11-25 09:03:51.334060500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-25 09:03:51.334067500 Successful disconnected
2023-11-25 09:03:56.383225500 Device 20:22:08:25:17:41 (public)
2023-11-25 09:03:56.383232500 Alias: JK_BD4A24S04
2023-11-25 09:03:56.383234500 Paired: no
2023-11-25 09:03:56.383236500 Trusted: no
2023-11-25 09:03:56.383238500 Blocked: no
2023-11-25 09:03:56.383239500 Connected: no
2023-11-25 09:03:56.383241500 LegacyPairing: no
2023-11-25 09:03:56.383243500 RSSI: -56
2023-11-25 09:03:56.384455500
2023-11-25 09:03:58.180752500 INFO:SerialBattery:
2023-11-25 09:03:58.181198500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-25 09:03:58.182121500 INFO:SerialBattery:dbus-serialbattery v1.0.20231117dev
2023-11-25 09:03:58.644806500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:03:58.645291500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:04:03.638892500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecti ng to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-25 09:04:05.911487500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2023-11-25 09:04:08.163346500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-25 09:04:08.163817500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2023-11-25 09:04:08.437017500
2023-11-25 09:04:08.437150500 INFO:Bluetooth details
2023-11-25 09:04:08.440587500 [CHG] Device 20:22:08:25:17:41 RSSI: -56
2023-11-25 09:04:08.440595500 [CHG] Device 20:22:08:25:17:41 RSSI: -41
2023-11-25 09:04:08.440599500 [CHG] Device 20:22:08:25:17:41 RSSI: -56
2023-11-25 09:04:08.500211500 Device 20:22:08:25:17:41 not available
2023-11-25 09:04:13.556907500 Device 20:22:08:25:17:41 (public)
2023-11-25 09:04:13.556914500 Alias: JK_BD4A24S04
2023-11-25 09:04:13.556916500 Paired: no
2023-11-25 09:04:13.556917500 Trusted: no
2023-11-25 09:04:13.556919500 Blocked: no
2023-11-25 09:04:13.556921500 Connected: no
2023-11-25 09:04:13.556923500 LegacyPairing: no
2023-11-25 09:04:13.556925500 RSSI: -63
2023-11-25 09:04:13.558490500
2023-11-25 09:04:14.641993500 INFO:SerialBattery:
2023-11-25 09:04:14.642638500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-25 09:04:14.643663500 INFO:SerialBattery:dbus-serialbattery v1.0.20231117dev
2023-11-25 09:04:15.021677500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:04:15.022663500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:04:16.782571500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecti ng to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-25 09:04:18.876502500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2023-11-25 09:04:24.537235500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-25 09:04:24.537692500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2023-11-25 09:04:24.817920500
2023-11-25 09:04:24.817927500 INFO:Bluetooth details
2023-11-25 09:04:24.817931500 [CHG] Device 20:22:08:25:17:41 RSSI: -56
2023-11-25 09:04:24.868798500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-25 09:04:24.868806500 Successful disconnected
2023-11-25 09:04:29.927643500 Device 20:22:08:25:17:41 (public)
2023-11-25 09:04:29.927650500 Alias: JK_BD4A24S04
2023-11-25 09:04:29.927652500 Paired: no
2023-11-25 09:04:29.927654500 Trusted: no
2023-11-25 09:04:29.927655500 Blocked: no
2023-11-25 09:04:29.927657500 Connected: no
2023-11-25 09:04:29.927659500 LegacyPairing: no
2023-11-25 09:04:29.927661500 RSSI: -56
2023-11-25 09:04:29.928550500
2023-11-25 09:04:31.021018500 INFO:SerialBattery:
2023-11-25 09:04:31.021520500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-25 09:04:31.022464500 INFO:SerialBattery:dbus-serialbattery v1.0.20231117dev
2023-11-25 09:04:31.428751500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:04:31.429189500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:04:34.595878500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecti ng to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-25 09:04:36.868781500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2023-11-25 09:04:40.950662500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-25 09:04:40.950671500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2023-11-25 09:04:41.211800500
2023-11-25 09:04:41.211909500 INFO:Bluetooth details
2023-11-25 09:04:41.220100500 [CHG] Device 20:22:08:25:17:41 RSSI: -56
2023-11-25 09:04:41.220107500 [CHG] Device 20:22:08:25:17:41 RSSI: -56
2023-11-25 09:04:41.268636500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-25 09:04:41.268642500 Successful disconnected
2023-11-25 09:04:46.328927500 Device 20:22:08:25:17:41 (public)
2023-11-25 09:04:46.328933500 Alias: JK_BD4A24S04
2023-11-25 09:04:46.328936500 Paired: no
2023-11-25 09:04:46.328937500 Trusted: no
2023-11-25 09:04:46.328939500 Blocked: no
2023-11-25 09:04:46.328941500 Connected: no
2023-11-25 09:04:46.328943500 LegacyPairing: no
2023-11-25 09:04:46.328945500 RSSI: -63
2023-11-25 09:04:46.330614500
2023-11-25 09:04:47.483698500 INFO:SerialBattery:
2023-11-25 09:04:47.484767500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-25 09:04:47.493340500 INFO:SerialBattery:dbus-serialbattery v1.0.20231117dev
2023-11-25 09:04:47.885499500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:04:47.885952500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:04:49.715702500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-25 09:04:51.901230500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2023-11-25 09:04:57.401780500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-25 09:04:57.402310500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2023-11-25 09:04:57.680724500
2023-11-25 09:04:57.681007500 INFO:Bluetooth details
2023-11-25 09:04:57.687898500 [CHG] Device 20:22:08:25:17:41 RSSI: -63
2023-11-25 09:04:57.687905500 [CHG] Device 20:22:08:25:17:41 RSSI: -62
2023-11-25 09:04:57.729775500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-25 09:04:57.729782500 Successful disconnected
2023-11-25 09:05:02.798619500 Device 20:22:08:25:17:41 (public)
2023-11-25 09:05:02.798625500 Alias: JK_BD4A24S04
2023-11-25 09:05:02.798627500 Paired: no
2023-11-25 09:05:02.798629500 Trusted: no
2023-11-25 09:05:02.798631500 Blocked: no
2023-11-25 09:05:02.798633500 Connected: no
2023-11-25 09:05:02.798635500 LegacyPairing: no
2023-11-25 09:05:02.798636500 RSSI: -56
2023-11-25 09:05:02.800541500
2023-11-25 09:05:03.892021500 INFO:SerialBattery:
2023-11-25 09:05:03.892463500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-25 09:05:03.893391500 INFO:SerialBattery:dbus-serialbattery v1.0.20231117dev
2023-11-25 09:05:04.278802500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:05:04.279236500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:05:06.290387500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-25 09:05:08.904170500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2023-11-25 09:05:13.794480500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-25 09:05:13.794942500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2023-11-25 09:05:14.066718500
2023-11-25 09:05:14.066840500 INFO:Bluetooth details
2023-11-25 09:05:14.071734500 [CHG] Device 20:22:08:25:17:41 RSSI: -56
2023-11-25 09:05:14.071741500 [CHG] Device 20:22:08:25:17:41 RSSI: -56
2023-11-25 09:05:14.132645500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-25 09:05:14.132652500 [CHG] Device 20:22:08:25:17:41 RSSI is nil
2023-11-25 09:05:14.132655500 [CHG] Device A5:C2:37:01:AD:77 RSSI is nil
2023-11-25 09:05:14.132659500 [CHG] Controller B8:27:EB:2A:55:5A Discovering: no
2023-11-25 09:05:14.132663500 Successful disconnected
2023-11-25 09:05:19.193937500 Device 20:22:08:25:17:41 (public)
2023-11-25 09:05:19.193943500 Alias: JK_BD4A24S04
2023-11-25 09:05:19.193946500 Paired: no
2023-11-25 09:05:19.193947500 Trusted: no
2023-11-25 09:05:19.193949500 Blocked: no
2023-11-25 09:05:19.193951500 Connected: no
2023-11-25 09:05:19.193953500 LegacyPairing: no
2023-11-25 09:05:19.193955500 RSSI: -56
2023-11-25 09:05:19.194856500
2023-11-25 09:05:20.371177500 INFO:SerialBattery:
2023-11-25 09:05:20.371901500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-25 09:05:20.372990500 INFO:SerialBattery:dbus-serialbattery v1.0.20231117dev
2023-11-25 09:05:20.769732500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:05:20.770404500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:05:22.698993500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-25 09:05:24.887449500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2023-11-25 09:05:30.288156500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-25 09:05:30.288164500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2023-11-25 09:05:30.561097500
2023-11-25 09:05:30.561370500 INFO:Bluetooth details
2023-11-25 09:05:30.568488500 [CHG] Device 20:22:08:25:17:41 RSSI: -56
2023-11-25 09:05:30.568496500 [CHG] Device 20:22:08:25:17:41 RSSI: -56
2023-11-25 09:05:30.568500500 [CHG] Device 20:22:08:25:17:41 RSSI: -46
2023-11-25 09:05:30.612036500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-25 09:05:30.612043500 Successful disconnected
2023-11-25 09:05:35.668543500 Device 20:22:08:25:17:41 (public)
2023-11-25 09:05:35.668549500 Alias: JK_BD4A24S04
2023-11-25 09:05:35.668552500 Paired: no
2023-11-25 09:05:35.668553500 Trusted: no
2023-11-25 09:05:35.668555500 Blocked: no
2023-11-25 09:05:35.668557500 Connected: no
2023-11-25 09:05:35.668559500 LegacyPairing: no
2023-11-25 09:05:35.668561500 RSSI: -56
2023-11-25 09:05:35.669434500
2023-11-25 09:05:36.755266500 INFO:SerialBattery:
2023-11-25 09:05:36.755677500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-25 09:05:36.756594500 INFO:SerialBattery:dbus-serialbattery v1.0.20231117dev
2023-11-25 09:05:37.143068500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:05:37.143508500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:05:38.780787500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-25 09:05:40.867469500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2023-11-25 09:05:46.658627500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2023-11-25 09:05:46.659102500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2023-11-25 09:05:46.929082500
2023-11-25 09:05:46.929185500 INFO:Bluetooth details
2023-11-25 09:05:46.934554500 [CHG] Device 20:22:08:25:17:41 RSSI: -56
2023-11-25 09:05:46.934562500 [CHG] Device 20:22:08:25:17:41 RSSI: -62
2023-11-25 09:05:46.982547500 Attempting to disconnect from 20:22:08:25:17:41
2023-11-25 09:05:46.982553500 Successful disconnected
2023-11-25 09:05:52.036303500 Device 20:22:08:25:17:41 (public)
2023-11-25 09:05:52.036309500 Alias: JK_BD4A24S04
2023-11-25 09:05:52.036311500 Paired: no
2023-11-25 09:05:52.036313500 Trusted: no
2023-11-25 09:05:52.036315500 Blocked: no
2023-11-25 09:05:52.036316500 Connected: no
2023-11-25 09:05:52.036318500 LegacyPairing: no
2023-11-25 09:05:52.036320500 RSSI: -62
2023-11-25 09:05:52.038296500
2023-11-25 09:05:53.115098500 INFO:SerialBattery:
2023-11-25 09:05:53.115528500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-25 09:05:53.116444500 INFO:SerialBattery:dbus-serialbattery v1.0.20231117dev
2023-11-25 09:05:53.499294500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:05:53.499794500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2023-11-25 09:05:54.816510500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2023-11-25 09:05:57.868027500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
is this something that can help you :
### [JK_BD4A24S04]# list-attributes
Primary Service (Handle 0x7dbc)
/org/bluez/hci0/dev_20_22_08_25_17_41/service0001
0000ffe0-0000-1000-8000-00805f9b34fb
Unknown
Characteristic (Handle 0x7440)
/org/bluez/hci0/dev_20_22_08_25_17_41/service0001/char0004
0000ffe1-0000-1000-8000-00805f9b34fb
Unknown
Descriptor (Handle 0x0000)
/org/bluez/hci0/dev_20_22_08_25_17_41/service0001/char0004/desc0006
00002902-0000-1000-8000-00805f9b34fb
Client Characteristic Configuration
Characteristic (Handle 0xf9b8)
/org/bluez/hci0/dev_20_22_08_25_17_41/service0001/char0002
0000ffe1-0000-1000-8000-00805f9b34fb
Unknown
What happens if you try to manually pair the BMS? See https://wiki.debian.org/BluetoothUser#Using_bluetoothctl
Hi it doesn't work :
root@VFIEVOX3:~# bluetoothctl
Agent registered
[CHG] Controller B8:27:EB:2A:55:5A Pairable: yes
[bluetooth]# scan on
Discovery started
[CHG] Controller B8:27:EB:2A:55:5A Discovering: yes
[CHG] Device 20:22:08:25:17:41 RSSI: -67
[NEW] Device A5:C2:37:01:AD:77 SP17S005P17S40A
[bluetooth]# scan off
Discovery stopped
[CHG] Device A5:C2:37:01:AD:77 RSSI is nil
[CHG] Device 20:22:08:25:17:41 RSSI is nil
[CHG] Controller B8:27:EB:2A:55:5A Discovering: no
[bluetooth]# connect 20:22:08:25:17:41
Attempting to connect to 20:22:08:25:17:41
[CHG] Device 20:22:08:25:17:41 Connected: yes
Connection successful
[CHG] Device 20:22:08:25:17:41 ServicesResolved: no
[CHG] Device 20:22:08:25:17:41 Connected: no
Failed to pair: org.bluez.Error.AuthenticationCanceled
If you cannot connect that way, then you have another problem. Did you change the connection PIN of the BMS?
I have 1234, 123456, and 0000
On Sun 26 Nov 2023, 15:55 Manuel, @.***> wrote:
If you cannot connect that way, then you have another problem. Did you change the connection PIN of the BMS?
— Reply to this email directly, view it on GitHub https://github.com/Louisvdw/dbus-serialbattery/issues/819#issuecomment-1826820081, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHP3VOXRBCOPBCTU3UCIFT3YGNQ7PAVCNFSM6AAAAAA5EL4LLGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRWHAZDAMBYGE . You are receiving this because you were mentioned.Message ID: @.***>
Hi all, any success here? I´m at the same point where I try to pair or connect to the jkbms without success.
Best regards Alex
I think your issue is easy
You need to install bleak
opkg update opkg install python3-misc python3-pip pip3 install bleak
I think your issue is easy
You need to install bleak
opkg update opkg install python3-misc python3-pip pip3 install bleak
Itgenmar, did you found a solution to your problem ?
Not yet :(
Not yet :(
Seems we got the same proplem : https://github.com/Louisvdw/dbus-serialbattery/issues/909
I've opened an issue on the Bleak project : https://github.com/hbldh/bleak/issues/1493 Cause it seems that even the 2 test scripts from Bleak do not work with my configuration.
My Jkbms is pretty old
I just bought a BMV 712, at 130€ i will avoid many futur fail of the system, for what i can see .. the multi layer just for bluetooth BLuez / Bleak / DbusSerial ... is prone to fail easily on every new VenusOS/other dependencies update. Plus i got some weird slowdown since i installed the dbusserial driver, i will keep the driver installed for now and follow the resolution of this problem, i got an other Jkbms that i will swap tommorow to see if make any difference.
Not yet :(
I had the same kind of error then you had, turns out that for me the bluetooth communication ,is not "standard" enough to work with the Bleak API (it's not smart enough to me .. but it's an other problem). I've swapped my old JK for a newer one, and it work perfectly. The Shunt i've ordered will still be usefull as a DC circuit counter, which is in fact kind mandatory for this whole system to work properly.
Not yet :(
Am I correct in thinking you are connecting to the JK to a ESP HOME device and to Venus OS at the same time?
AFAIK, it can only connect to 1 device. If I power down the Venus and connect via my phone. It won't re-establish the Bluetooth connection when Venus is restarted.
That's is incorrect.
there is an option to disable connection on the device (esp32)
On Thu 18 Jan 2024, 11:34 Paul Phillips, @.***> wrote:
Not yet :(
Am I correct in thinking you are connecting to the JK to a ESP HOME device and to Venus OS at the same time?
AFAIK, it can only connect to 1 device. If I power down the Venus and connect via my phone. It won't re-establish the Bluetooth connection when Venus is restarted.
— Reply to this email directly, view it on GitHub https://github.com/Louisvdw/dbus-serialbattery/issues/819#issuecomment-1898309521, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHP3VORLFNG3ALCEQM4WA2LYPECDTAVCNFSM6AAAAAA5EL4LLGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJYGMYDSNJSGE . You are receiving this because you were mentioned.Message ID: @.***>
Just tried again with the latest night v.
tail -F -n 100 /data/log/dbus-blebattery.*/current | tai64nlocal
2024-01-21 22:05:06.991919500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2024-01-21 22:05:06.991927500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2024-01-21 22:05:07.299180500 [CHG] Device 20:22:08:25:17:41 RSSI: -48
2024-01-21 22:05:07.299188500 [CHG] Device 20:22:08:25:17:41 RSSI: -48
2024-01-21 22:05:07.314368500
2024-01-21 22:05:07.314476500 INFO:Bluetooth details
2024-01-21 22:05:07.377149500 Attempting to disconnect from 20:22:08:25:17:41
2024-01-21 22:05:07.377158500 Successful disconnected
2024-01-21 22:05:12.444860500 Device 20:22:08:25:17:41 (public)
2024-01-21 22:05:12.444867500 Alias: JK_BD4A24S04
2024-01-21 22:05:12.444869500 Paired: no
2024-01-21 22:05:12.444871500 Trusted: yes
2024-01-21 22:05:12.444872500 Blocked: no
2024-01-21 22:05:12.444874500 Connected: no
2024-01-21 22:05:12.444876500 LegacyPairing: no
2024-01-21 22:05:12.444878500 RSSI: -31
2024-01-21 22:05:12.445913500
2024-01-21 22:05:27.148724500 *** CCGX booted (0) ***
2024-01-21 22:07:36.537228500
2024-01-21 22:07:36.537524500 INFO:Bluetooth details
2024-01-21 22:07:36.592828500 Attempting to disconnect from 20:22:08:25:17:41
2024-01-21 22:07:36.592835500 Successful disconnected
2024-01-21 22:07:41.677291500 Device 20:22:08:25:17:41 (public)
2024-01-21 22:07:41.677297500 Alias: JK_BD4A24S04
2024-01-21 22:07:41.677299500 Paired: no
2024-01-21 22:07:41.677301500 Trusted: yes
2024-01-21 22:07:41.677303500 Blocked: no
2024-01-21 22:07:41.677304500 Connected: no
2024-01-21 22:07:41.677306500 LegacyPairing: no
2024-01-21 22:07:41.690591500
2024-01-21 22:07:43.583273500 INFO:SerialBattery:
2024-01-21 22:07:43.583278500 INFO:SerialBattery:Starting dbus-serialbattery
2024-01-21 22:07:43.583281500 INFO:SerialBattery:dbus-serialbattery v1.1.20240112dev
2024-01-21 22:07:44.494770500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2024-01-21 22:07:44.494778500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2024-01-21 22:07:55.629462500 Exception in thread Thread-1:
2024-01-21 22:07:55.629469500 Traceback (most recent call last):
2024-01-21 22:07:55.629472500 File "/opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py", line 447, in asy_connect_and_scrape
2024-01-21 22:07:55.629477500 await client.connect()
2024-01-21 22:07:55.629479500 File "/usr/lib/python3.8/site-packages/bleak/__init__.py", line 605, in connect
2024-01-21 22:07:55.629484500 return await self._backend.connect(**kwargs)
2024-01-21 22:07:55.629487500 File "/usr/lib/python3.8/site-packages/bleak/backends/bluezdbus/client.py", line 140, in connect
2024-01-21 22:07:55.629820500 raise BleakDeviceNotFoundError(
2024-01-21 22:07:55.629824500 bleak.exc.BleakDeviceNotFoundError: Device with address 20:22:08:25:17:41 was not found.
2024-01-21 22:07:55.629829500
2024-01-21 22:07:55.629830500 During handling of the above exception, another exception occurred:
2024-01-21 22:07:55.629834500
2024-01-21 22:07:55.629835500 Traceback (most recent call last):
2024-01-21 22:07:55.629838500 File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
2024-01-21 22:07:55.629881500 self.run()
2024-01-21 22:07:55.629883500 File "/usr/lib/python3.8/threading.py", line 870, in run
2024-01-21 22:07:55.629887500 self._target(*self._args, **self._kwargs)
2024-01-21 22:07:55.629890500 File "/opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py", line 433, in connect_and_scrape
2024-01-21 22:07:55.629915500 asyncio.run(self.asy_connect_and_scrape())
2024-01-21 22:07:55.629919500 File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
2024-01-21 22:07:55.629977500 return loop.run_until_complete(main)
2024-01-21 22:07:55.629980500 File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
2024-01-21 22:07:55.629985500 return future.result()
2024-01-21 22:07:55.629988500 File "/opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py", line 468, in asy_connect_and_scrape
2024-01-21 22:07:55.629993500 ) = sys.exc_info()
2024-01-21 22:07:55.629995500 NameError: name 'sys' is not defined
2024-01-21 22:07:55.719759500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2024-01-21 22:07:55.720015500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2024-01-21 22:07:56.027600500
2024-01-21 22:07:56.027922500 INFO:Bluetooth details
2024-01-21 22:07:56.092554500 Attempting to disconnect from 20:22:08:25:17:41
2024-01-21 22:07:56.092561500 Successful disconnected
2024-01-21 22:08:01.167482500 Device 20:22:08:25:17:41 (public)
2024-01-21 22:08:01.167489500 Alias: JK_BD4A24S04
2024-01-21 22:08:01.167491500 Paired: no
2024-01-21 22:08:01.167493500 Trusted: yes
2024-01-21 22:08:01.167494500 Blocked: no
2024-01-21 22:08:01.167496500 Connected: no
2024-01-21 22:08:01.167498500 LegacyPairing: no
2024-01-21 22:08:01.167500500 RSSI: -47
2024-01-21 22:08:01.168908500
2024-01-21 22:08:02.450731500 INFO:SerialBattery:
2024-01-21 22:08:02.451165500 INFO:SerialBattery:Starting dbus-serialbattery
2024-01-21 22:08:02.452089500 INFO:SerialBattery:dbus-serialbattery v1.1.20240112dev
2024-01-21 22:08:02.866949500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2024-01-21 22:08:02.866956500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2024-01-21 22:08:06.609934500 Exception in thread Thread-1:
2024-01-21 22:08:06.609941500 Traceback (most recent call last):
2024-01-21 22:08:06.609944500 File "/opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py", line 449, in asy_connect_and_scrape
2024-01-21 22:08:06.609949500 await client.read_gatt_char(MODEL_NBR_UUID)
2024-01-21 22:08:06.609952500 File "/usr/lib/python3.8/site-packages/bleak/__init__.py", line 711, in read_gatt_char
2024-01-21 22:08:06.609957500 return await self._backend.read_gatt_char(char_specifier, **kwargs)
2024-01-21 22:08:07.642227500 File "/usr/lib/python3.8/site-packages/bleak/backends/bluezdbus/client.py", line 728, in read_gatt_char
2024-01-21 22:08:07.642236500 raise BleakError(
2024-01-21 22:08:07.642238500 bleak.exc.BleakError: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2024-01-21 22:08:07.642245500
2024-01-21 22:08:07.642246500 During handling of the above exception, another exception occurred:
2024-01-21 22:08:07.642433500
2024-01-21 22:08:07.642437500 Traceback (most recent call last):
2024-01-21 22:08:07.642442500 File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
2024-01-21 22:08:07.642447500 self.run()
2024-01-21 22:08:07.642448500 File "/usr/lib/python3.8/threading.py", line 870, in run
2024-01-21 22:08:07.642452500 self._target(*self._args, **self._kwargs)
2024-01-21 22:08:07.642456500 File "/opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py", line 433, in connect_and_scrape
2024-01-21 22:08:07.642495500 asyncio.run(self.asy_connect_and_scrape())
2024-01-21 22:08:07.642582500 File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
2024-01-21 22:08:07.642586500 return loop.run_until_complete(main)
2024-01-21 22:08:07.642589500 File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
2024-01-21 22:08:07.642594500 return future.result()
2024-01-21 22:08:07.642596500 File "/opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py", line 468, in asy_connect_and_scrape
2024-01-21 22:08:07.642628500 ) = sys.exc_info()
2024-01-21 22:08:07.642645500 NameError: name 'sys' is not defined
2024-01-21 22:08:12.380734500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2024-01-21 22:08:12.381193500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2024-01-21 22:08:12.658504500
2024-01-21 22:08:12.658847500 INFO:Bluetooth details
2024-01-21 22:08:12.660750500 [CHG] Device 20:22:08:25:17:41 RSSI: -47
2024-01-21 22:08:12.660771500 [CHG] Device 20:22:08:25:17:41 RSSI: -55
2024-01-21 22:08:12.660775500 [CHG] Device 20:22:08:25:17:41 RSSI: -47
2024-01-21 22:08:12.711452500 Attempting to disconnect from 20:22:08:25:17:41
2024-01-21 22:08:12.711459500 Successful disconnected
2024-01-21 22:08:17.776945500 Device 20:22:08:25:17:41 (public)
2024-01-21 22:08:17.776952500 Alias: JK_BD4A24S04
2024-01-21 22:08:17.776954500 Paired: no
2024-01-21 22:08:17.776956500 Trusted: yes
2024-01-21 22:08:17.776958500 Blocked: no
2024-01-21 22:08:17.776960500 Connected: no
2024-01-21 22:08:17.776961500 LegacyPairing: no
2024-01-21 22:08:17.776963500 RSSI: -47
2024-01-21 22:08:17.777872500
2024-01-21 22:08:18.997481500 INFO:SerialBattery:
2024-01-21 22:08:18.997912500 INFO:SerialBattery:Starting dbus-serialbattery
2024-01-21 22:08:18.998956500 INFO:SerialBattery:dbus-serialbattery v1.1.20240112dev
2024-01-21 22:08:19.406087500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2024-01-21 22:08:19.406361500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2024-01-21 22:08:23.601753500 Exception in thread Thread-1:
2024-01-21 22:08:23.601796500 Traceback (most recent call last):
2024-01-21 22:08:23.601798500 File "/opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py", line 449, in asy_connect_and_scrape
2024-01-21 22:08:23.601804500 await client.read_gatt_char(MODEL_NBR_UUID)
2024-01-21 22:08:23.601807500 File "/usr/lib/python3.8/site-packages/bleak/__init__.py", line 711, in read_gatt_char
2024-01-21 22:08:23.601812500 return await self._backend.read_gatt_char(char_specifier, **kwargs)
2024-01-21 22:08:23.601941500 File "/usr/lib/python3.8/site-packages/bleak/backends/bluezdbus/client.py", line 728, in read_gatt_char
2024-01-21 22:08:23.601947500 raise BleakError(
2024-01-21 22:08:23.601949500 bleak.exc.BleakError: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2024-01-21 22:08:23.601955500
2024-01-21 22:08:23.601956500 During handling of the above exception, another exception occurred:
2024-01-21 22:08:23.601984500
2024-01-21 22:08:23.601985500 Traceback (most recent call last):
2024-01-21 22:08:23.601988500 File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
2024-01-21 22:08:23.601992500 self.run()
2024-01-21 22:08:23.601994500 File "/usr/lib/python3.8/threading.py", line 870, in run
2024-01-21 22:08:23.601998500 self._target(*self._args, **self._kwargs)
2024-01-21 22:08:23.602001500 File "/opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py", line 433, in connect_and_scrape
2024-01-21 22:08:23.602028500 asyncio.run(self.asy_connect_and_scrape())
2024-01-21 22:08:23.602080500 File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
2024-01-21 22:08:23.602084500 return loop.run_until_complete(main)
2024-01-21 22:08:23.602087500 File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
2024-01-21 22:08:23.602092500 return future.result()
2024-01-21 22:08:23.602094500 File "/opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py", line 468, in asy_connect_and_scrape
2024-01-21 22:08:23.602122500 ) = sys.exc_info()
2024-01-21 22:08:23.602124500 NameError: name 'sys' is not defined
2024-01-21 22:08:28.924025500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2024-01-21 22:08:28.924503500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2024-01-21 22:08:29.241387500
2024-01-21 22:08:29.241499500 INFO:Bluetooth details
2024-01-21 22:08:29.246319500 [CHG] Device 20:22:08:25:17:41 RSSI: -47
2024-01-21 22:08:29.246327500 [CHG] Device 20:22:08:25:17:41 RSSI: -48
2024-01-21 22:08:29.294564500 Attempting to disconnect from 20:22:08:25:17:41
2024-01-21 22:08:29.294571500 Successful disconnected
2024-01-21 22:08:34.358861500 Device 20:22:08:25:17:41 (public)
2024-01-21 22:08:34.358868500 Alias: JK_BD4A24S04
2024-01-21 22:08:34.358870500 Paired: no
2024-01-21 22:08:34.358872500 Trusted: yes
2024-01-21 22:08:34.358874500 Blocked: no
2024-01-21 22:08:34.358876500 Connected: no
2024-01-21 22:08:34.358877500 LegacyPairing: no
2024-01-21 22:08:34.358879500 RSSI: -55
2024-01-21 22:08:34.361277500
2024-01-21 22:08:35.519397500 INFO:SerialBattery:
2024-01-21 22:08:35.519897500 INFO:SerialBattery:Starting dbus-serialbattery
2024-01-21 22:08:35.520832500 INFO:SerialBattery:dbus-serialbattery v1.1.20240112dev
2024-01-21 22:08:35.915130500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2024-01-21 22:08:35.915549500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2024-01-21 22:08:39.614133500 Exception in thread Thread-1:
2024-01-21 22:08:39.614140500 Traceback (most recent call last):
2024-01-21 22:08:39.614143500 File "/opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py", line 449, in asy_connect_and_scrape
2024-01-21 22:08:39.614149500 await client.read_gatt_char(MODEL_NBR_UUID)
2024-01-21 22:08:39.614152500 File "/usr/lib/python3.8/site-packages/bleak/__init__.py", line 711, in read_gatt_char
2024-01-21 22:08:39.614157500 return await self._backend.read_gatt_char(char_specifier, **kwargs)
2024-01-21 22:08:39.614345500 File "/usr/lib/python3.8/site-packages/bleak/backends/bluezdbus/client.py", line 728, in read_gatt_char
2024-01-21 22:08:39.614351500 raise BleakError(
2024-01-21 22:08:39.614354500 bleak.exc.BleakError: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2024-01-21 22:08:39.614359500
2024-01-21 22:08:39.614361500 During handling of the above exception, another exception occurred:
2024-01-21 22:08:39.614390500
2024-01-21 22:08:39.614392500 Traceback (most recent call last):
2024-01-21 22:08:39.614394500 File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
2024-01-21 22:08:39.614399500 self.run()
2024-01-21 22:08:39.614401500 File "/usr/lib/python3.8/threading.py", line 870, in run
2024-01-21 22:08:39.614404500 self._target(*self._args, **self._kwargs)
2024-01-21 22:08:39.614408500 File "/opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py", line 433, in connect_and_scrape
2024-01-21 22:08:39.614434500 asyncio.run(self.asy_connect_and_scrape())
2024-01-21 22:08:39.614486500 File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
2024-01-21 22:08:39.614490500 return loop.run_until_complete(main)
2024-01-21 22:08:39.614493500 File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
2024-01-21 22:08:39.614498500 return future.result()
2024-01-21 22:08:39.614500500 File "/opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py", line 468, in asy_connect_and_scrape
2024-01-21 22:08:39.614529500 ) = sys.exc_info()
2024-01-21 22:08:39.614531500 NameError: name 'sys' is not defined
2024-01-21 22:08:45.432107500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2024-01-21 22:08:45.432575500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2024-01-21 22:08:45.720281500 [CHG] Device 20:22:08:25:17:41 RSSI: -55
2024-01-21 22:08:45.720290500 [CHG] Device 20:22:08:25:17:41 RSSI: -54
2024-01-21 22:08:45.725625500
2024-01-21 22:08:45.725632500 INFO:Bluetooth details
2024-01-21 22:08:45.775765500 Attempting to disconnect from 20:22:08:25:17:41
2024-01-21 22:08:45.775771500 Successful disconnected
2024-01-21 22:08:50.862229500 Device 20:22:08:25:17:41 (public)
2024-01-21 22:08:50.862235500 Alias: JK_BD4A24S04
2024-01-21 22:08:50.862238500 Paired: no
2024-01-21 22:08:50.862239500 Trusted: yes
2024-01-21 22:08:50.862241500 Blocked: no
2024-01-21 22:08:50.862243500 Connected: no
2024-01-21 22:08:50.862245500 LegacyPairing: no
2024-01-21 22:08:50.862247500 RSSI: -47
2024-01-21 22:08:50.864102500
2024-01-21 22:08:52.039616500 INFO:SerialBattery:
2024-01-21 22:08:52.040096500 INFO:SerialBattery:Starting dbus-serialbattery
2024-01-21 22:08:52.041058500 INFO:SerialBattery:dbus-serialbattery v1.1.20240112dev
2024-01-21 22:08:52.432514500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2024-01-21 22:08:52.432953500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2024-01-21 22:08:56.628095500 Exception in thread Thread-1:
2024-01-21 22:08:56.628101500 Traceback (most recent call last):
2024-01-21 22:08:56.628104500 File "/opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py", line 449, in asy_connect_and_scrape
2024-01-21 22:08:56.628109500 await client.read_gatt_char(MODEL_NBR_UUID)
2024-01-21 22:08:56.628113500 File "/usr/lib/python3.8/site-packages/bleak/__init__.py", line 711, in read_gatt_char
2024-01-21 22:08:56.628118500 return await self._backend.read_gatt_char(char_specifier, **kwargs)
2024-01-21 22:08:56.628233500 File "/usr/lib/python3.8/site-packages/bleak/backends/bluezdbus/client.py", line 728, in read_gatt_char
2024-01-21 22:08:56.628240500 raise BleakError(
2024-01-21 22:08:56.628242500 bleak.exc.BleakError: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2024-01-21 22:08:56.628247500
2024-01-21 22:08:56.628249500 During handling of the above exception, another exception occurred:
2024-01-21 22:08:56.628278500
2024-01-21 22:08:56.628279500 Traceback (most recent call last):
2024-01-21 22:08:56.628282500 File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
2024-01-21 22:08:56.628286500 self.run()
2024-01-21 22:08:56.628288500 File "/usr/lib/python3.8/threading.py", line 870, in run
2024-01-21 22:08:56.628292500 self._target(*self._args, **self._kwargs)
2024-01-21 22:08:56.628295500 File "/opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py", line 433, in connect_and_scrape
2024-01-21 22:08:56.628383500 asyncio.run(self.asy_connect_and_scrape())
2024-01-21 22:08:56.628438500 File "/usr/lib/python3.8/asyncio/runners.py", line 44, in run
2024-01-21 22:08:56.628442500 return loop.run_until_complete(main)
2024-01-21 22:08:56.628445500 File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
2024-01-21 22:08:56.628450500 return future.result()
2024-01-21 22:08:56.628452500 File "/opt/victronenergy/dbus-serialbattery/bms/jkbms_brn.py", line 468, in asy_connect_and_scrape
2024-01-21 22:08:56.628479500 ) = sys.exc_info()
2024-01-21 22:08:56.628482500 NameError: name 'sys' is not defined
options
It looks like your BMS is connected to another device at the moment you restarted the driver. The JKBMS can only be connected to one device at a time.
Please also add tripple ~
in the line before and after the code to properly format it.
To check if it is connected to an other device ?.. just start the Android app and see if you can connect to the BMS, if it is connected to an other device .. it will not show in the left list.
@itgenmar please take a look at https://github.com/Louisvdw/dbus-serialbattery/issues/900#issuecomment-1909477616. Maybe this solves also this issue.
Just tried it with the latest Nightly
2024-01-28 15:13:49.302534500 [CHG] Device 20:22:08:25:17:41 RSSI: -68
2024-01-28 15:13:49.346633500 Attempting to disconnect from 20:22:08:25:17:41
2024-01-28 15:13:49.346640500 Successful disconnected
2024-01-28 15:13:54.405788500 Device 20:22:08:25:17:41 (public)
2024-01-28 15:13:54.405794500 Alias: JK_BD4A24S04
2024-01-28 15:13:54.405796500 Paired: no
2024-01-28 15:13:54.405798500 Trusted: yes
2024-01-28 15:13:54.405800500 Blocked: no
2024-01-28 15:13:54.405802500 Connected: no
2024-01-28 15:13:54.405804500 LegacyPairing: no
2024-01-28 15:13:54.405806500 RSSI: -68
2024-01-28 15:13:54.408237500
2024-01-28 15:13:55.541688500 INFO:SerialBattery:
2024-01-28 15:13:55.542097500 INFO:SerialBattery:Starting dbus-serialbattery
2024-01-28 15:13:55.543002500 INFO:SerialBattery:dbus-serialbattery v1.0.20231117dev
2024-01-28 15:13:55.915031500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2024-01-28 15:13:55.915467500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2024-01-28 15:13:55.919044500 DEBUG:SerialBattery:scraping thread started -> main thread id: 1995534352 scraping thread: 1979987040
2024-01-28 15:13:55.921040500 DEBUG:SerialBattery:--> asy_connect_and_scrape(): Connect and scrape on address: 20:22:08:25:17:41
2024-01-28 15:13:56.256824500 DEBUG:SerialBattery:--> asy_connect_and_scrape(): btloop
2024-01-28 15:13:56.257239500 DEBUG:SerialBattery:--> asy_connect_and_scrape(): reconnect
2024-01-28 15:13:57.870355500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: Characteristic with UUID 00002a24-0000-1000-8000-00805f9b34fb could not be found!
2024-01-28 15:14:00.521282500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2024-01-28 15:14:05.434178500 ERROR:SerialBattery:No BMS found at 20:22:08:25:17:41
2024-01-28 15:14:05.434635500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
I just can't pair the device. I got another Bluetooth 5.0 still can't connect..
And sometimes I am getting this:
2024-01-28 15:22:27.843173500 INFO:SerialBattery:
2024-01-28 15:22:27.843824500 INFO:SerialBattery:Starting dbus-serialbattery
2024-01-28 15:22:27.844843500 INFO:SerialBattery:dbus-serialbattery v1.0.20231117dev
2024-01-28 15:22:28.224290500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2024-01-28 15:22:28.224942500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2024-01-28 15:22:28.228458500 DEBUG:SerialBattery:scraping thread started -> main thread id: 1995669520 scraping thread: 1980122208
2024-01-28 15:22:28.230665500 DEBUG:SerialBattery:--> asy_connect_and_scrape(): Connect and scrape on address: 20:22:08:25:17:41
2024-01-28 15:22:28.587299500 DEBUG:SerialBattery:--> asy_connect_and_scrape(): btloop
2024-01-28 15:22:28.588039500 DEBUG:SerialBattery:--> asy_connect_and_scrape(): reconnect
2024-01-28 15:22:29.352171500 INFO:SerialBattery:--> asy_connect_and_scrape(): error while connecting to bt: [org.bluez.Error.Failed] Software caused connection abort
2024-01-28 15:22:29.352991500 INFO:SerialBattery:--> asy_connect_and_scrape(): Exit
2024-01-28 15:22:52.645988500 Missing device address argument
2024-01-28 15:22:54.309052500 INFO:SerialBattery:Starting dbus-serialbattery
2024-01-28 15:22:54.310023500 INFO:SerialBattery:dbus-serialbattery v1.0.20230531
2024-01-28 15:22:54.729476500 INFO:SerialBattery:Init of Jkbms_Ble at 20:22:08:25:17:41
2024-01-28 15:22:54.729949500 INFO:SerialBattery:Test of Jkbms_Ble at 20:22:08:25:17:41
2024-01-28 15:23:10.384565500 ERROR:SerialBattery:ERROR >>> No battery connection at Jkbms_Ble
2024-01-28 15:23:10.384573500
Bluetoothctl Log
[CHG] Device 20:22:08:25:17:41 Connected: yes
[NEW] Primary Service (Handle 0x6884)
/org/bluez/hci1/dev_20_22_08_25_17_41/service0001
0000ffe0-0000-1000-8000-00805f9b34fb
Unknown
[NEW] Characteristic (Handle 0x685c)
/org/bluez/hci1/dev_20_22_08_25_17_41/service0001/char0002
0000ffe1-0000-1000-8000-00805f9b34fb
Unknown
[NEW] Characteristic (Handle 0x685c)
/org/bluez/hci1/dev_20_22_08_25_17_41/service0001/char0004
0000ffe1-0000-1000-8000-00805f9b34fb
Unknown
[NEW] Descriptor (Handle 0x37fc)
/org/bluez/hci1/dev_20_22_08_25_17_41/service0001/char0004/desc0006
00002902-0000-1000-8000-00805f9b34fb
Client Characteristic Configuration
[CHG] Device 20:22:08:25:17:41 UUIDs: 0000ffe0-0000-1000-8000-00805f9b34fb
[CHG] Device 20:22:08:25:17:41 ServicesResolved: yes
[CHG] Device 20:22:08:25:17:41 ServicesResolved: no
What is the current state?
Did you make sure, that only the dbus-serialbattery is connection to the JKBMS?
From all the intel you gave it seems you are trying to connect two devices at thesame time with the JKBMS, which do not work by JKBMS design.
Describe the problem
**Jk BMS : JK_bd4a24s4p
Serial number Hardware v11.XW SOFTWARE V11.25 POWER ON 13 TIMES TOTL TIMES 1D14H30M0S FIST ON DATE : 2023-04024 VERSION V4.15.7**
Getting the following error in the logs, no connection to venus os.
Driver version
v1.0.20230531
Venus OS device type
Raspberry Pi
Venus OS version
latest
BMS type
JKBMS / Heltec BMS
Cell count
7
Connection type
Bluetooth
Config file
Relevant log output
Any other information that may be helpful
No response