Closed sstolk90 closed 10 months ago
I have a similar issue (But with a serial connection). But in my case it will not even connect.
The UI shows me a JK BMS has been found:
But it does not connect. The other JK (Hardware version 10.XW) does work correctly.
In the log I get the following line:
@40000000649572b800b3a63c ERROR:SerialBattery:>>> ERROR: No reply - returning
@40000000649572b800b841ec INFO:SerialBattery:Testing HLPdataBMS4S
@40000000649572bc1f4b19cc ERROR:SerialBattery:>>> ERROR: No reply - returning
@40000000649572bc1f501b0c INFO:SerialBattery:Testing Jkbms
@40000000649572cc1dc9d4e4 ERROR:SerialBattery:>>> ERROR: No reply - returning [len:243/3262]
@40000000649572cc1dd1627c INFO:SerialBattery:Testing Lifepower
@40000000649572cc2dd72544 ERROR:SerialBattery:>>> ERROR: No reply - returning
@40000000649572cc2dde9784 INFO:SerialBattery:Testing LltJbd
@40000000649572cd027d90cc ERROR:SerialBattery:>>> ERROR: No reply - returning
And in the (official) App there are some changes aswell:
The JK BMS was discovered while it was in CAN mode. But the logs show in this case:
@4000000064957ac6249df854 INFO:SerialBattery:dbus-serialbattery v1.0.20230531
...
@4000000064957acf0736a824 INFO:SerialBattery:Testing Jkbms
@4000000064957acf10093b74 ERROR:SerialBattery:>>> ERROR: No reply - returning [len:0]
In another discovery run I got:
@4000000064957b673585782c INFO:SerialBattery:Testing Jkbms
@4000000064957b673866492c ERROR:SerialBattery:CRC checksum mismatch: Expected 0x4f59, Got 0x4e92
Switching the Temp Sensor does not make a difference (just for completness sake)
I assume with Hardware Version 11.XW they changed the serial protocol. That there is an additional field in the config called "Device Address" suggests this even more.
Please disregard my previous comment for now. I had a serial node in my node-red which interfered with the connection.
I changed to a different (hardware 10) JK BMS and had the same issue. Then I found the node-red node. I will check with the hardware version 11 JK BMS again and report back!
Update: I can confirm that its running normally with the 11.XW hardware version over serial connection!
The same here. In serial-battery the MOSFET temperatures of my two JKBMS' (4S, FW 11.XW, connected via BT) are shown as 0° independently from the real temperature. In the JKBMS app the values are correct.
I see all the temperatures, in both JK BMS I own, via BT.
Version 3.01 is used.
JKBMS :
FW: 1.0.20230531
HW: JKBMS 10.XW 16 cells (20220808)
Other JK BMS the same but other HW HW: JKBMS 10.XW 16 cells (20220925)
The problem resides only with the 11.XW hardware version. Someone with such a BMS can contact me on Discrod, so I can take a look?
@mr-manuel I have two running JKBMS 11.XW. Let me know if you need access for troubleshooting purposes. As I don‘t use discord, just drop me an e-mail to tempuno… as last time.
Does the JKBMS 11.XW
only have one external temperature sensor?
Temp 1 is 24.4
which is equal to 244
(10, decimal) or F4
(hex)
Temp 2 is 24.6
which is equal to 246
(10, decimal) or F6
(hex)
In the logs you see ..., 244, 0, 246, 0, 0, 0, ...
where it should be ..., temp 1, 0, temp2, 0, mos temp, 0, ...
or ...\xf4\x00\xf6\x00\x00\x00...
for ..\temp1\x00\temp2\x00\mos temp\x00
.
Each JKBMS has two external temperature sensors plus the internal one for the MOS. See the attached screen shots.
I am only at my camper for the next 10 minutes ... let me know if you need anything else which is only visible in the app via Blutetooth.
Latest TCP address ...
[PastedGraphic-1.png]
Unfortunately the pictures were not attached to GitHub via mail.
I searched for temperature values from 25.0
to 27.9
in the raw data, but there isn't any. Maybe @baranator can help us?
Any progress on fixing this issue?
I am putting a battery system together for a RV build and just found out this awesome project, installed it on the Cerbo GX and everything seems to be working, but I have a jk-b2a8s20p 11.XW BMS which has this MOSFET temperature reading 0 issue.
Coding is not really my forte since I am a hardware guy, but I know my way around the Linux, I can help troubleshooting if needed, just need the direction. Thanks!
Hi, just found following: https://github.com/syssi/esphome-jk-bms/issues/326 could this be of help?
Changed to 112 instead of 134 for temperature_mos… That did the trick!
Thank you! @jensbehrens I followed your lead, changed 134 to 112 in jkbms_brn.py, and voila, the MOSFET temperature shows up.
Would be interesting of this works also for hardware version 10. I will add this in the meanwhile for version 11.
In https://github.com/syssi/esphome-jk-bms/blob/main/components/jk_bms_ble/jk_bms_ble.cpp#LL555C1-L555C119 they do a check for 32S frame (line 554) and use 112, in other cases (line 587) 134 is used for the mos temp. If I understand the code correctly…
Could you please try with this file? https://github.com/mr-manuel/venus-os_dbus-serialbattery/blob/dev/etc/dbus-serialbattery/bms/jkbms_brn.py
Yes, seems to work fine for me 👍
I found another bug in the code where for some 11. JKBMS no values were shown. Since I have to change the check if the data structure is 16s or 32s I need someone with a 10. JKBMS connected over Bluetooth. Can someone with this requisite contact me on Discord?
The issue was fixed in v1.0.20231102dev
which is the nightly of today.
Hi @mr-manuel, I installed the v1.0.20231102dev nightly on my Cerbo GX, now the driver doesn’t read most of the parameters, soc, voltage, current, temperatures, etc. All the individual cell voltages do show up in “Cell Voltages” submenu though. I am not sure what’s going on.
Can you please enable debug logging by adding this in the config.ini
LOGGING = DEBUG
then execute reinstall-local.sh
wait some time and then send me as much logs as possible (about 100 lines needed at least)?
Hi @mr-manuel, here is the log from my Cerbo GX. Thank you very much for your help!
Please change
to
if fb[70] == 255:
and then run reinstall-local.sh
Could you please post your hardware version of the JKBMS? Like JKBMS 11.XW 16 cells (20230320)
Made the change per your instruction and it seems the problem is fixed. Thank you very much!
My hardware version is JKBMS 11.XW 8 Cells (20221225)
Can this dbus driver be used to turn the JKBMS’s charge and discharge on and off, through the remote console or the config.ini file? Or I will have to do it on JKBMS’ app?
Sorry I understand this is more of a support question and I am hijacking the thread here, but I would be very much appreciated if someone knowledgeable can answer it quickly. Thanks!
Tecnically it's possible over Bluetooth but not implemented yet.
Sorry that i couldn't be helpful in this issue - I'm too busy at the moment. But it's very nice to see that you got this fixed!
@mr-manuel your enhancements of the bluetooth-functionality and the dbus-serialbattery brought great progress! From this perspective i'm now quite happy, that i killed the wired interface of my jkbms not even a year ago :D
Yeah, all started with your defective serial port. Great that it happened :-D
Hi @mr-manuel, is this issue considered fixed and closed? Or you will further improve it to accommodate different versions of JKBMS, 8 cells, 16 cells, etc. As you know, the v1.0.20231102dev nightly doesn’t work on my 8 cells JK-B2A8S20P BMS without the fix in jkbms_brn.py. Thank you very much!
The fix for your BMS will be included in the next merge.
@mr-manuel I also tested the latest nightly build v1.0.20231103dev with my JKBMS 11.XW 4 cells (20230527). Line 168 in jkbms_brn.py is changed to if fb[70] == 255:
Still, most of the parameters (volt, current, SOC etc.) are not showing up in serial driver. The standard log does not show any anomalies at start but ends with zero division errors ... I assume due to the missing parameters.
2023-11-08 12:34:39.511688500 INFO:SerialBattery:
2023-11-08 12:34:39.512974500 INFO:SerialBattery:Starting dbus-serialbattery
2023-11-08 12:34:39.514936500 INFO:SerialBattery:dbus-serialbattery v1.0.20231103dev
2023-11-08 12:34:40.149216500 INFO:SerialBattery:Init of Jkbms_Ble at C8:47:8C:E6:E2:00
2023-11-08 12:34:40.150944500 INFO:SerialBattery:Test of Jkbms_Ble at C8:47:8C:E6:E2:00
2023-11-08 12:34:45.180733500 INFO:SerialBattery:BAT: JKBMS 11.XW 4 cells (20230527)
2023-11-08 12:34:45.182091500 INFO:SerialBattery:Connection established to Jkbms_Ble
2023-11-08 12:34:45.183230500 INFO:SerialBattery:Battery Jkbms_Ble connected to dbus from c8478ce6e200
2023-11-08 12:34:45.183900500 INFO:SerialBattery:========== Settings ==========
2023-11-08 12:34:45.184576500 INFO:SerialBattery:> Connection voltage: 0.0V | Current: 0.0A | SoC: 0%
2023-11-08 12:34:45.185424500 INFO:SerialBattery:> Cell count: 4 | Cells populated: 4
2023-11-08 12:34:45.186277500 INFO:SerialBattery:> LINEAR LIMITATION ENABLE: False
2023-11-08 12:34:45.188492500 INFO:SerialBattery:> MAX BATTERY CHARGE CURRENT: 40.0A | MAX BATTERY DISCHARGE CURRENT: 150.0A
2023-11-08 12:34:45.189530500 INFO:SerialBattery:> MAX BATTERY CHARGE CURRENT: 150.0A | MAX BATTERY DISCHARGE CURRENT: 150.0A (read from BMS)
2023-11-08 12:34:45.189905500 INFO:SerialBattery:> CVCM: True
2023-11-08 12:34:45.190643500 INFO:SerialBattery:> MIN CELL VOLTAGE: 2.9V | MAX CELL VOLTAGE: 3.45V
2023-11-08 12:34:45.191341500 INFO:SerialBattery:> CCCM CV: False | DCCM CV: False
2023-11-08 12:34:45.192189500 INFO:SerialBattery:> CCCM T: False | DCCM T: False
2023-11-08 12:34:45.193134500 INFO:SerialBattery:> CCCM SOC: False | DCCM SOC: False
2023-11-08 12:34:45.194018500 INFO:SerialBattery:Serial Number/Unique Identifier: 2081215375
2023-11-08 12:34:45.294446500 INFO:SerialBattery:DeviceInstance = 1
2023-11-08 12:34:45.295554500 INFO:SerialBattery:com.victronenergy.battery.c8478ce6e200
2023-11-08 12:34:45.296531500 INFO:SerialBattery:BAT: JKBMS 11.XW 4 cells (20230527)
2023-11-08 12:34:45.346034500 INFO:SerialBattery:publish config values = 1
2023-11-08 12:34:45.934202500 ERROR:SerialBattery:Exception occurred: ZeroDivisionError('float division by zero') of type <class 'ZeroDivisionError'> in /opt/victronenergy/dbus-serialbattery/dbushelper.py line #638
2023-11-08 12:35:45.441425500 ERROR:SerialBattery:Exception occurred: ZeroDivisionError('float division by zero') of type <class 'ZeroDivisionError'> in /opt/victronenergy/dbus-serialbattery/dbushelper.py line #638
2023-11-08 12:36:45.285741500 ERROR:SerialBattery:Exception occurred: ZeroDivisionError('float division by zero') of type <class 'ZeroDivisionError'> in /opt/victronenergy/dbus-serialbattery/dbushelper.py line #638
2023-11-08 12:37:45.221731500 ERROR:SerialBattery:Exception occurred: ZeroDivisionError('float division by zero') of type <class 'ZeroDivisionError'> in /opt/victronenergy/dbus-serialbattery/dbushelper.py line #638
2023-11-08 12:38:45.073800500 ERROR:SerialBattery:Exception occurred: ZeroDivisionError('float division by zero') of type <class 'ZeroDivisionError'> in /opt/victronenergy/dbus-serialbattery/dbushelper.py line #638
Please set the logging to debug and post the logs again. Add LOGGING = DEBUG
to the config.ini
.
@mr-manuel Here are the first 10 seconds after driver start:
````2023-11-08 20:34:54.221429500 INFO:SerialBattery: 2023-11-08 20:34:54.222644500 INFO:SerialBattery:Starting dbus-serialbattery 2023-11-08 20:34:54.224323500 INFO:SerialBattery:dbus-serialbattery v1.0.20231103dev 2023-11-08 20:34:54.868147500 INFO:SerialBattery:Init of Jkbms_Ble at C8:47:8C:E6:E2:00 2023-11-08 20:34:54.875962500 INFO:SerialBattery:Test of Jkbms_Ble at C8:47:8C:E6:E2:00 2023-11-08 20:34:54.879981500 DEBUG:SerialBattery:scraping thread started -> main thread id: 3070177296 scraping thread: 3051521120 2023-11-08 20:34:54.883073500 DEBUG:SerialBattery:--> asy_connect_and_scrape(): Connect and scrape on address: C8:47:8C:E6:E2:00 2023-11-08 20:34:55.364801500 DEBUG:SerialBattery:--> asy_connect_and_scrape(): btloop 2023-11-08 20:34:55.365678500 DEBUG:SerialBattery:--> asy_connect_and_scrape(): reconnect tail: /data/log/dbus-blebattery.0/current has been replaced; following end of new file 2023-11-08 20:34:57.895864500 DEBUG:SerialBattery:ncallback(): \x55\xaa\xeb\x90\x03\xc1\x4a\x4b\x5f\x42\x32\x41\x38\x53\x32\x30\x50\x00\x00\x00\x00\x00\x31\x31\x2e\x58\x57\x00\x00\x00\x31\x31\x2e\x31\x37\x00\x00\x00\x9c\x7a\xd9\x00\x16\x00\x00\x00\x42\x61\x74\x74\x2d\x31\x20\x53\x42\x00\x00\x00\x00\x00\x00\x00\x31\x32\x33\x34\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x32\x33\x30\x35\x32\x37\x00\x00\x32\x30\x38\x31\x32\x31\x35\x33\x37\x35\x00\x30\x30\x30\x30\x00\x49\x6e\x70\x75\x74\x20\x55\x73\x65\x72\x64\x61\x74\x61\x00\x00\x31\x34\x33\x35\x31\x31\x00\x00\x00\x00 2023-11-08 20:34:57.898913500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 0 2023-11-08 20:34:57.902224500 DEBUG:SerialBattery:bytearray(b'') 2023-11-08 20:34:57.903611500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 128 2023-11-08 20:34:57.907294500 DEBUG:SerialBattery:[85, 170, 235, 144, 3, 193, 74, 75, 95, 66, 50, 65, 56, 83, 50, 48, 80, 0, 0, 0, 0, 0, 49, 49, 46, 88, 87, 0, 0, 0, 49, 49, 46, 49, 55, 0, 0, 0, 156, 122, 217, 0, 22, 0, 0, 0, 66, 97, 116, 116, 45, 49, 32, 83, 66, 0, 0, 0, 0, 0, 0, 0, 49, 50, 51, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 51, 48, 53, 50, 55, 0, 0, 50, 48, 56, 49, 50, 49, 53, 51, 55, 53, 0, 48, 48, 48, 48, 0, 73, 110, 112, 117, 116, 32, 85, 115, 101, 114, 100, 97, 116, 97, 0, 0, 49, 52, 51, 53, 49, 49, 0, 0, 0, 0] 2023-11-08 20:34:57.910826500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 22 2023-11-08 20:34:57.914653500 DEBUG:SerialBattery:ncallback(): \x00\x00\x00\x00\x00\x00\x49\x6e\x70\x75\x74\x20\x55\x73\x65\x72\x64\x61\x74\x61\x00\x00 2023-11-08 20:34:57.915860500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 128 2023-11-08 20:34:57.918045500 DEBUG:SerialBattery:[85, 170, 235, 144, 3, 193, 74, 75, 95, 66, 50, 65, 56, 83, 50, 48, 80, 0, 0, 0, 0, 0, 49, 49, 46, 88, 87, 0, 0, 0, 49, 49, 46, 49, 55, 0, 0, 0, 156, 122, 217, 0, 22, 0, 0, 0, 66, 97, 116, 116, 45, 49, 32, 83, 66, 0, 0, 0, 0, 0, 0, 0, 49, 50, 51, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 51, 48, 53, 50, 55, 0, 0, 50, 48, 56, 49, 50, 49, 53, 51, 55, 53, 0, 48, 48, 48, 48, 0, 73, 110, 112, 117, 116, 32, 85, 115, 101, 114, 100, 97, 116, 97, 0, 0, 49, 52, 51, 53, 49, 49, 0, 0, 0, 0] 2023-11-08 20:34:57.921355500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 150 2023-11-08 20:34:57.924685500 DEBUG:SerialBattery:[85, 170, 235, 144, 3, 193, 74, 75, 95, 66, 50, 65, 56, 83, 50, 48, 80, 0, 0, 0, 0, 0, 49, 49, 46, 88, 87, 0, 0, 0, 49, 49, 46, 49, 55, 0, 0, 0, 156, 122, 217, 0, 22, 0, 0, 0, 66, 97, 116, 116, 45, 49, 32, 83, 66, 0, 0, 0, 0, 0, 0, 0, 49, 50, 51, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 51, 48, 53, 50, 55, 0, 0, 50, 48, 56, 49, 50, 49, 53, 51, 55, 53, 0, 48, 48, 48, 48, 0, 73, 110, 112, 117, 116, 32, 85, 115, 101, 114, 100, 97, 116, 97, 0, 0, 49, 52, 51, 53, 49, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 73, 110, 112, 117, 116, 32, 85, 115, 101, 114, 100, 97, 116, 97, 0, 0] 2023-11-08 20:34:57.947814500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 128 2023-11-08 20:34:57.950342500 DEBUG:SerialBattery:ncallback(): \x7c\xf8\xff\xf3\x0f\x00\x00\x00\x00\x00\x00\x00\x90\x0f\x00\x00\x00\x00\xc0\xd8\x03\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 2023-11-08 20:34:57.951569500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 150 2023-11-08 20:34:57.954662500 DEBUG:SerialBattery:[85, 170, 235, 144, 3, 193, 74, 75, 95, 66, 50, 65, 56, 83, 50, 48, 80, 0, 0, 0, 0, 0, 49, 49, 46, 88, 87, 0, 0, 0, 49, 49, 46, 49, 55, 0, 0, 0, 156, 122, 217, 0, 22, 0, 0, 0, 66, 97, 116, 116, 45, 49, 32, 83, 66, 0, 0, 0, 0, 0, 0, 0, 49, 50, 51, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 51, 48, 53, 50, 55, 0, 0, 50, 48, 56, 49, 50, 49, 53, 51, 55, 53, 0, 48, 48, 48, 48, 0, 73, 110, 112, 117, 116, 32, 85, 115, 101, 114, 100, 97, 116, 97, 0, 0, 49, 52, 51, 53, 49, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 73, 110, 112, 117, 116, 32, 85, 115, 101, 114, 100, 97, 116, 97, 0, 0] 2023-11-08 20:34:57.956111500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 278 2023-11-08 20:34:57.959556500 DEBUG:SerialBattery:[85, 170, 235, 144, 3, 193, 74, 75, 95, 66, 50, 65, 56, 83, 50, 48, 80, 0, 0, 0, 0, 0, 49, 49, 46, 88, 87, 0, 0, 0, 49, 49, 46, 49, 55, 0, 0, 0, 156, 122, 217, 0, 22, 0, 0, 0, 66, 97, 116, 116, 45, 49, 32, 83, 66, 0, 0, 0, 0, 0, 0, 0, 49, 50, 51, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 51, 48, 53, 50, 55, 0, 0, 50, 48, 56, 49, 50, 49, 53, 51, 55, 53, 0, 48, 48, 48, 48, 0, 73, 110, 112, 117, 116, 32, 85, 115, 101, 114, 100, 97, 116, 97, 0, 0, 49, 52, 51, 53, 49, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 73, 110, 112, 117, 116, 32, 85, 115, 101, 114, 100, 97, 116, 97, 0, 0, 124, 248, 255, 243, 15, 0, 0, 0, 0, 0, 0, 0, 144, 15, 0, 0, 0, 0, 192, 216, 3, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 2023-11-08 20:34:57.964562500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 22 2023-11-08 20:34:57.966799500 DEBUG:SerialBattery:ncallback(): \x00\x00\x00\x00\x00\x00\x00\x00\x00\xfe\x2f\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x9b 2023-11-08 20:34:57.968985500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 278 2023-11-08 20:34:57.972194500 DEBUG:SerialBattery:[85, 170, 235, 144, 3, 193, 74, 75, 95, 66, 50, 65, 56, 83, 50, 48, 80, 0, 0, 0, 0, 0, 49, 49, 46, 88, 87, 0, 0, 0, 49, 49, 46, 49, 55, 0, 0, 0, 156, 122, 217, 0, 22, 0, 0, 0, 66, 97, 116, 116, 45, 49, 32, 83, 66, 0, 0, 0, 0, 0, 0, 0, 49, 50, 51, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 51, 48, 53, 50, 55, 0, 0, 50, 48, 56, 49, 50, 49, 53, 51, 55, 53, 0, 48, 48, 48, 48, 0, 73, 110, 112, 117, 116, 32, 85, 115, 101, 114, 100, 97, 116, 97, 0, 0, 49, 52, 51, 53, 49, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 73, 110, 112, 117, 116, 32, 85, 115, 101, 114, 100, 97, 116, 97, 0, 0, 124, 248, 255, 243, 15, 0, 0, 0, 0, 0, 0, 0, 144, 15, 0, 0, 0, 0, 192, 216, 3, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 2023-11-08 20:34:57.975054500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 300 2023-11-08 20:34:57.978611500 DEBUG:SerialBattery:[85, 170, 235, 144, 3, 193, 74, 75, 95, 66, 50, 65, 56, 83, 50, 48, 80, 0, 0, 0, 0, 0, 49, 49, 46, 88, 87, 0, 0, 0, 49, 49, 46, 49, 55, 0, 0, 0, 156, 122, 217, 0, 22, 0, 0, 0, 66, 97, 116, 116, 45, 49, 32, 83, 66, 0, 0, 0, 0, 0, 0, 0, 49, 50, 51, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 51, 48, 53, 50, 55, 0, 0, 50, 48, 56, 49, 50, 49, 53, 51, 55, 53, 0, 48, 48, 48, 48, 0, 73, 110, 112, 117, 116, 32, 85, 115, 101, 114, 100, 97, 116, 97, 0, 0, 49, 52, 51, 53, 49, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 73, 110, 112, 117, 116, 32, 85, 115, 101, 114, 100, 97, 116, 97, 0, 0, 124, 248, 255, 243, 15, 0, 0, 0, 0, 0, 0, 0, 144, 15, 0, 0, 0, 0, 192, 216, 3, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 47, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 155] 2023-11-08 20:34:57.980380500 DEBUG:SerialBattery:compair recvd. crc: 155 vs calc. crc: 155 2023-11-08 20:34:57.982550500 DEBUG:SerialBattery:great success! frame complete and sane, lets decode 2023-11-08 20:34:57.985882500 DEBUG:SerialBattery:[85, 170, 235, 144, 3, 193, 74, 75, 95, 66, 50, 65, 56, 83, 50, 48, 80, 0, 0, 0, 0, 0, 49, 49, 46, 88, 87, 0, 0, 0, 49, 49, 46, 49, 55, 0, 0, 0, 156, 122, 217, 0, 22, 0, 0, 0, 66, 97, 116, 116, 45, 49, 32, 83, 66, 0, 0, 0, 0, 0, 0, 0, 49, 50, 51, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 50, 51, 48, 53, 50, 55, 0, 0, 50, 48, 56, 49, 50, 49, 53, 51, 55, 53, 0, 48, 48, 48, 48, 0, 73, 110, 112, 117, 116, 32, 85, 115, 101, 114, 100, 97, 116, 97, 0, 0, 49, 52, 51, 53, 49, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 73, 110, 112, 117, 116, 32, 85, 115, 101, 114, 100, 97, 116, 97, 0, 0, 124, 248, 255, 243, 15, 0, 0, 0, 0, 0, 0, 0, 144, 15, 0, 0, 0, 0, 192, 216, 3, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 47, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 155] 2023-11-08 20:34:57.987883500 DEBUG:SerialBattery:fb[38]: 0.0.156.122.217 2023-11-08 20:34:57.990548500 DEBUG:SerialBattery:fb[54]: 32.83.66.0.0 2023-11-08 20:34:57.991761500 DEBUG:SerialBattery:fb[70]: 0.0.0.0.0 2023-11-08 20:34:57.993028500 DEBUG:SerialBattery:fb[134]: 0.0.73.110.112 2023-11-08 20:34:57.994543500 DEBUG:SerialBattery:fb[144]: 101.114.100.97.116 2023-11-08 20:34:57.998368500 DEBUG:SerialBattery:bms_max_cell_count recognized: 16 2023-11-08 20:34:57.999399500 DEBUG:SerialBattery:processing frame with device info 2023-11-08 20:34:58.004263500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 20 2023-11-08 20:34:58.007210500 DEBUG:SerialBattery:ncallback(): \xaa\x55\x90\xeb\xc8\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x44 2023-11-08 20:34:58.008463500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 0 2023-11-08 20:34:58.009160500 DEBUG:SerialBattery:[] 2023-11-08 20:34:58.009832500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 20 2023-11-08 20:34:58.010483500 DEBUG:SerialBattery:[170, 85, 144, 235, 200, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 68] 2023-11-08 20:34:58.704237500 DEBUG:SerialBattery: 2023-11-08 20:34:58.705122500 DEBUG:SerialBattery:Write register: 150 bytearray(b'\xaaU\x90\xeb\x96\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x10') 2023-11-08 20:34:58.760070500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 128 2023-11-08 20:34:58.763277500 DEBUG:SerialBattery:ncallback(): \x55\xaa\xeb\x90\x01\xc1\x58\x02\x00\x00\xbe\x0a\x00\x00\x54\x0b\x00\x00\x10\x0e\x00\x00\xde\x0d\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x28\x0a\x00\x00\xf0\x49\x02\x00\x02\x00\x00\x00\x2c\x01\x00\x00\xf0\x49\x02\x00\x02\x00\x00\x00\x3c\x00\x00\x00\x3c\x00\x00\x00\xd0\x07\x00\x00\x26\x02\x00\x00\xf4\x01\x00\x00\x26\x02\x00\x00\xf4\x01\x00\x00\x28\x00\x00\x00\x32\x00\x00\x00\xe8\x03\x00\x00\x20\x03\x00\x00\x04\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x01\x00 2023-11-08 20:34:58.764011500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 20 2023-11-08 20:34:58.764682500 DEBUG:SerialBattery:[170, 85, 144, 235, 200, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 68] 2023-11-08 20:34:58.765344500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 128 2023-11-08 20:34:58.766155500 DEBUG:SerialBattery:[85, 170, 235, 144, 1, 193, 88, 2, 0, 0, 190, 10, 0, 0, 84, 11, 0, 0, 16, 14, 0, 0, 222, 13, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 10, 0, 0, 240, 73, 2, 0, 2, 0, 0, 0, 44, 1, 0, 0, 240, 73, 2, 0, 2, 0, 0, 0, 60, 0, 0, 0, 60, 0, 0, 0, 208, 7, 0, 0, 38, 2, 0, 0, 244, 1, 0, 0, 38, 2, 0, 0, 244, 1, 0, 0, 40, 0, 0, 0, 50, 0, 0, 0, 232, 3, 0, 0, 32, 3, 0, 0, 4, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0] 2023-11-08 20:34:58.802136500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 22 2023-11-08 20:34:58.804007500 DEBUG:SerialBattery:ncallback(): \x00\x00\xe0\x93\x04\x00\xb8\x0b\x00\x00\x7a\x0d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 2023-11-08 20:34:58.804902500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 128 2023-11-08 20:34:58.805839500 DEBUG:SerialBattery:[85, 170, 235, 144, 1, 193, 88, 2, 0, 0, 190, 10, 0, 0, 84, 11, 0, 0, 16, 14, 0, 0, 222, 13, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 10, 0, 0, 240, 73, 2, 0, 2, 0, 0, 0, 44, 1, 0, 0, 240, 73, 2, 0, 2, 0, 0, 0, 60, 0, 0, 0, 60, 0, 0, 0, 208, 7, 0, 0, 38, 2, 0, 0, 244, 1, 0, 0, 38, 2, 0, 0, 244, 1, 0, 0, 40, 0, 0, 0, 50, 0, 0, 0, 232, 3, 0, 0, 32, 3, 0, 0, 4, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0] 2023-11-08 20:34:58.806494500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 150 2023-11-08 20:34:58.807438500 DEBUG:SerialBattery:[85, 170, 235, 144, 1, 193, 88, 2, 0, 0, 190, 10, 0, 0, 84, 11, 0, 0, 16, 14, 0, 0, 222, 13, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 10, 0, 0, 240, 73, 2, 0, 2, 0, 0, 0, 44, 1, 0, 0, 240, 73, 2, 0, 2, 0, 0, 0, 60, 0, 0, 0, 60, 0, 0, 0, 208, 7, 0, 0, 38, 2, 0, 0, 244, 1, 0, 0, 38, 2, 0, 0, 244, 1, 0, 0, 40, 0, 0, 0, 50, 0, 0, 0, 232, 3, 0, 0, 32, 3, 0, 0, 4, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 224, 147, 4, 0, 184, 11, 0, 0, 122, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 2023-11-08 20:34:58.837062500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 128 2023-11-08 20:34:58.840301500 DEBUG:SerialBattery:ncallback(): \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00 2023-11-08 20:34:58.840431500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 150 2023-11-08 20:34:58.842394500 DEBUG:SerialBattery:[85, 170, 235, 144, 1, 193, 88, 2, 0, 0, 190, 10, 0, 0, 84, 11, 0, 0, 16, 14, 0, 0, 222, 13, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 10, 0, 0, 240, 73, 2, 0, 2, 0, 0, 0, 44, 1, 0, 0, 240, 73, 2, 0, 2, 0, 0, 0, 60, 0, 0, 0, 60, 0, 0, 0, 208, 7, 0, 0, 38, 2, 0, 0, 244, 1, 0, 0, 38, 2, 0, 0, 244, 1, 0, 0, 40, 0, 0, 0, 50, 0, 0, 0, 232, 3, 0, 0, 32, 3, 0, 0, 4, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 224, 147, 4, 0, 184, 11, 0, 0, 122, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 2023-11-08 20:34:58.842600500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 278 2023-11-08 20:34:58.844000500 DEBUG:SerialBattery:[85, 170, 235, 144, 1, 193, 88, 2, 0, 0, 190, 10, 0, 0, 84, 11, 0, 0, 16, 14, 0, 0, 222, 13, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 10, 0, 0, 240, 73, 2, 0, 2, 0, 0, 0, 44, 1, 0, 0, 240, 73, 2, 0, 2, 0, 0, 0, 60, 0, 0, 0, 60, 0, 0, 0, 208, 7, 0, 0, 38, 2, 0, 0, 244, 1, 0, 0, 38, 2, 0, 0, 244, 1, 0, 0, 40, 0, 0, 0, 50, 0, 0, 0, 232, 3, 0, 0, 32, 3, 0, 0, 4, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 224, 147, 4, 0, 184, 11, 0, 0, 122, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0] 2023-11-08 20:34:58.863162500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 22 2023-11-08 20:34:58.864273500 DEBUG:SerialBattery:ncallback(): \xb0\x71\x0b\x00\x00\x00\x00\x00\x00\x7c\xf8\xff\xff\x0f\x00\x00\x00\x00\x00\x00\x00\x09 2023-11-08 20:34:58.864940500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 278 2023-11-08 20:34:58.866173500 DEBUG:SerialBattery:[85, 170, 235, 144, 1, 193, 88, 2, 0, 0, 190, 10, 0, 0, 84, 11, 0, 0, 16, 14, 0, 0, 222, 13, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 10, 0, 0, 240, 73, 2, 0, 2, 0, 0, 0, 44, 1, 0, 0, 240, 73, 2, 0, 2, 0, 0, 0, 60, 0, 0, 0, 60, 0, 0, 0, 208, 7, 0, 0, 38, 2, 0, 0, 244, 1, 0, 0, 38, 2, 0, 0, 244, 1, 0, 0, 40, 0, 0, 0, 50, 0, 0, 0, 232, 3, 0, 0, 32, 3, 0, 0, 4, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 224, 147, 4, 0, 184, 11, 0, 0, 122, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0] 2023-11-08 20:34:58.866889500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 300 2023-11-08 20:34:58.868097500 DEBUG:SerialBattery:[85, 170, 235, 144, 1, 193, 88, 2, 0, 0, 190, 10, 0, 0, 84, 11, 0, 0, 16, 14, 0, 0, 222, 13, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 10, 0, 0, 240, 73, 2, 0, 2, 0, 0, 0, 44, 1, 0, 0, 240, 73, 2, 0, 2, 0, 0, 0, 60, 0, 0, 0, 60, 0, 0, 0, 208, 7, 0, 0, 38, 2, 0, 0, 244, 1, 0, 0, 38, 2, 0, 0, 244, 1, 0, 0, 40, 0, 0, 0, 50, 0, 0, 0, 232, 3, 0, 0, 32, 3, 0, 0, 4, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 224, 147, 4, 0, 184, 11, 0, 0, 122, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 176, 113, 11, 0, 0, 0, 0, 0, 0, 124, 248, 255, 255, 15, 0, 0, 0, 0, 0, 0, 0, 9] 2023-11-08 20:34:58.869103500 DEBUG:SerialBattery:compair recvd. crc: 9 vs calc. crc: 9 2023-11-08 20:34:58.869701500 DEBUG:SerialBattery:great success! frame complete and sane, lets decode 2023-11-08 20:34:58.870870500 DEBUG:SerialBattery:[85, 170, 235, 144, 1, 193, 88, 2, 0, 0, 190, 10, 0, 0, 84, 11, 0, 0, 16, 14, 0, 0, 222, 13, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40, 10, 0, 0, 240, 73, 2, 0, 2, 0, 0, 0, 44, 1, 0, 0, 240, 73, 2, 0, 2, 0, 0, 0, 60, 0, 0, 0, 60, 0, 0, 0, 208, 7, 0, 0, 38, 2, 0, 0, 244, 1, 0, 0, 38, 2, 0, 0, 244, 1, 0, 0, 40, 0, 0, 0, 50, 0, 0, 0, 232, 3, 0, 0, 32, 3, 0, 0, 4, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 224, 147, 4, 0, 184, 11, 0, 0, 122, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 176, 113, 11, 0, 0, 0, 0, 0, 0, 124, 248, 255, 255, 15, 0, 0, 0, 0, 0, 0, 0, 9] 2023-11-08 20:34:58.871509500 DEBUG:SerialBattery:fb[38]: 0.0.0.0.0 2023-11-08 20:34:58.872160500 DEBUG:SerialBattery:fb[54]: 2.0.2.0.0 2023-11-08 20:34:58.872926500 DEBUG:SerialBattery:fb[70]: 0.0.60.0.0 2023-11-08 20:34:58.873550500 DEBUG:SerialBattery:fb[134]: 4.0.184.11.0 2023-11-08 20:34:58.874134500 DEBUG:SerialBattery:fb[144]: 0.0.0.0.0 2023-11-08 20:34:58.874701500 DEBUG:SerialBattery:bms_max_cell_count recognized: 16 2023-11-08 20:34:58.875237500 DEBUG:SerialBattery:Processing frame with settings info 2023-11-08 20:34:58.878024500 DEBUG:SerialBattery:{'model_nbr': 'BK-BLE-1.0', 'device_info': {'hw_rev': '11.XW', 'sw_rev': '11.17', 'uptime': 14252700, 'vendor_id': 'JK_B2A8S20P', 'manufacturing_date': '230527', 'serial_number': '2081215375', 'production': 'Input Us'}, 'last_update': 1699475698.000919, 'settings': {'cell_uvp': 2.75, 'cell_uvpr': 2.9, 'cell_ovp': 3.6, 'cell_ovpr': 3.5500000000000003, 'balance_trigger_voltage': 0.003, 'power_off_voltage': 2.6, 'max_charge_current': 150.0, 'max_discharge_current': 150.0, 'max_balance_current': 150.0, 'cell_count': 4, 'charging_switch': True, 'discharging_switch': True, 'balancing_switch': True}} 2023-11-08 20:34:58.938778500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 20 2023-11-08 20:34:58.938786500 DEBUG:SerialBattery:ncallback(): \xaa\x55\x90\xeb\xc8\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x44 2023-11-08 20:34:58.938791500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 0 2023-11-08 20:34:58.939139500 DEBUG:SerialBattery:[] 2023-11-08 20:34:58.940721500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 20 2023-11-08 20:34:58.940917500 DEBUG:SerialBattery:[170, 85, 144, 235, 200, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 68] tail: /data/log/dbus-blebattery.0/current has been replaced; following end of new file 2023-11-08 20:35:00.080383500 INFO:SerialBattery:DeviceInstance = 1 2023-11-08 20:35:00.080391500 INFO:SerialBattery:com.victronenergy.battery.c8478ce6e200 2023-11-08 20:35:00.080394500 INFO:SerialBattery:BAT: JKBMS 11.XW 4 cells (20230527) 2023-11-08 20:35:00.124540500 INFO:SerialBattery:publish config values = 1 2023-11-08 20:35:00.450813500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 128 2023-11-08 20:35:00.481423500 DEBUG:SerialBattery:ncallback(): \x55\xaa\xeb\x90\x02\xc3\x2f\x0d\x2e\x0d\x2e\x0d\x2f\x0d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\x00\x00\x2f\x0d\x01\x00\x00\x01\x2b\x00\x2a\x00\x28\x00\x26\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 2023-11-08 20:35:00.488120500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 0 2023-11-08 20:35:00.510286500 DEBUG:SerialBattery:[] 2023-11-08 20:35:00.511681500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 128 2023-11-08 20:35:00.517490500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 195, 47, 13, 46, 13, 46, 13, 47, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 2023-11-08 20:35:00.536105500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 22 2023-11-08 20:35:00.555614500 DEBUG:SerialBattery:ncallback(): \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xa3\x00\x00\x00\x00\x00 2023-11-08 20:35:00.562251500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 128 2023-11-08 20:35:00.565986500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 195, 47, 13, 46, 13, 46, 13, 47, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 2023-11-08 20:35:00.573687500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 150 2023-11-08 20:35:00.577948500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 195, 47, 13, 46, 13, 46, 13, 47, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0] 2023-11-08 20:35:00.590206500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 128 2023-11-08 20:35:00.606374500 DEBUG:SerialBattery:ncallback(): \xbc\x34\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x89\x00\x8b\x00\x00\x00\x00\x00\x00\x00\x00\x62\x8b\x86\x04\x00\xe0\x93\x04\x00\x07\x00\x00\x00\xb8\x0a\x23\x00\x64\x00\x00\x00\xf5\x7a\xd9\x00\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x00\x01\x00\x00\x00\xc1\x03\x00\x00\x00\x00\x4f\x6e\x40\x40\x00\x00\x00\x00\x46\x05\xe8\x18\x00\x01\x00\x01\x00\x05\x00\x00\x81\x9d\xe5\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 2023-11-08 20:35:00.619549500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 150 2023-11-08 20:35:00.621157500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 195, 47, 13, 46, 13, 46, 13, 47, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0] 2023-11-08 20:35:00.650076500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 278 2023-11-08 20:35:00.664419500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 195, 47, 13, 46, 13, 46, 13, 47, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 188, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 245, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 70, 5, 232, 24, 0, 1, 0, 1, 0, 5, 0, 0, 129, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 2023-11-08 20:35:00.671101500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 22 2023-11-08 20:35:00.679139500 DEBUG:SerialBattery:ncallback(): \x00\x00\x00\x00\x00\x00\x00\x00\x00\xfe\xff\x7f\xdc\x1f\x01\x00\x00\x00\x00\x00\x00\x29 2023-11-08 20:35:00.690355500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 278 2023-11-08 20:35:00.717701500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 195, 47, 13, 46, 13, 46, 13, 47, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 188, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 245, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 70, 5, 232, 24, 0, 1, 0, 1, 0, 5, 0, 0, 129, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 2023-11-08 20:35:00.724458500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 300 2023-11-08 20:35:00.726323500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 195, 47, 13, 46, 13, 46, 13, 47, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 188, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 245, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 70, 5, 232, 24, 0, 1, 0, 1, 0, 5, 0, 0, 129, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 255, 127, 220, 31, 1, 0, 0, 0, 0, 0, 0, 41] 2023-11-08 20:35:00.749121500 DEBUG:SerialBattery:compair recvd. crc: 41 vs calc. crc: 41 2023-11-08 20:35:00.750360500 DEBUG:SerialBattery:great success! frame complete and sane, lets decode 2023-11-08 20:35:00.881626500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 195, 47, 13, 46, 13, 46, 13, 47, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 188, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 245, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 70, 5, 232, 24, 0, 1, 0, 1, 0, 5, 0, 0, 129, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 255, 127, 220, 31, 1, 0, 0, 0, 0, 0, 0, 41] 2023-11-08 20:35:00.881881500 DEBUG:SerialBattery:fb[38]: 0.0.0.0.0 2023-11-08 20:35:00.885276500 DEBUG:SerialBattery:fb[54]: 0.0.0.0.0 2023-11-08 20:35:00.886573500 DEBUG:SerialBattery:fb[70]: 0.0.15.0.0 2023-11-08 20:35:00.888668500 DEBUG:SerialBattery:fb[134]: 0.0.0.0.0 2023-11-08 20:35:00.891638500 DEBUG:SerialBattery:fb[144]: 0.0.163.0.0 2023-11-08 20:35:00.909261500 DEBUG:SerialBattery:bms_max_cell_count recognized: 16 2023-11-08 20:35:00.911794500 DEBUG:SerialBattery:processing frame with battery cell info 2023-11-08 20:35:00.983346500 DEBUG:SerialBattery:decode_cellinfo_jk02(): self.frame_buffer 2023-11-08 20:35:00.988318500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 195, 47, 13, 46, 13, 46, 13, 47, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 188, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 245, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 70, 5, 232, 24, 0, 1, 0, 1, 0, 5, 0, 0, 129, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 255, 127, 220, 31, 1, 0, 0, 0, 0, 0, 0, 41] 2023-11-08 20:35:01.004631500 DEBUG:SerialBattery:{'model_nbr': 'BK-BLE-1.0', 'device_info': {'hw_rev': '11.XW', 'sw_rev': '11.17', 'uptime': 14252700, 'vendor_id': 'JK_B2A8S20P', 'manufacturing_date': '230527', 'serial_number': '2081215375', 'production': 'Input Us'}, 'last_update': 1699475700.0692294, 'settings': {'cell_uvp': 2.75, 'cell_uvpr': 2.9, 'cell_ovp': 3.6, 'cell_ovpr': 3.5500000000000003, 'balance_trigger_voltage': 0.003, 'power_off_voltage': 2.6, 'max_charge_current': 150.0, 'max_discharge_current': 150.0, 'max_balance_current': 150.0, 'cell_count': 4, 'charging_switch': True, 'discharging_switch': True, 'balancing_switch': True}, 'cell_info': {'voltages': [3.375, 3.374, 3.374, 3.375], 'average_cell_voltage': 0.0, 'delta_cell_voltage': 0.0, 'max_voltage_cell': 0, 'min_voltage_cell': 0, 'resistances': [0.0, 0.0, 0.0, 0.015, 0.0, 3.375, 0.001, 0.256, 0.043000000000000003, 0.042, 0.04, 0.038, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 'total_voltage': 0.0, 'current': 0.0, 'temperature_sensor_1': 0.0, 'temperature_sensor_2': 0.0, 'temperature_mos': 0.0, 'balancing_current': 0.0, 'balancing_action': 0.0, 'battery_soc': 0, 'capacity_remain': 10682.368, 'capacity_nominal': 0.0, 'cycle_count': 13500, 'cycle_capacity': 0.0, 'charging_switch_enabled': False, 'discharging_switch_enabled': False, 'balancing_active': False, 'error_bitmask_16': '0x0', 'error_bitmask_2': '0000000000000000', 'power': 0.0}, 'warnings': {'resistance_too_high': False, 'cell_count_wrong': False, 'charge_overtemp': False, 'charge_undertemp': False, 'discharge_overtemp': False, 'cell_overvoltage': False, 'cell_undervoltage': False, 'charge_overcurrent': False, 'discharge_overcurrent': False}} tail: /data/log/dbus-blebattery.0/current has been replaced; following end of new file 2023-11-08 20:35:01.822852500 DEBUG:SerialBattery:{'model_nbr': 'BK-BLE-1.0', 'device_info': {'hw_rev': '11.XW', 'sw_rev': '11.17', 'uptime': 14252700, 'vendor_id': 'JK_B2A8S20P', 'manufacturing_date': '230527', 'serial_number': '2081215375', 'production': 'Input Us'}, 'last_update': 1699475701.0171716, 'settings': {'cell_uvp': 2.75, 'cell_uvpr': 2.9, 'cell_ovp': 3.6, 'cell_ovpr': 3.5500000000000003, 'balance_trigger_voltage': 0.003, 'power_off_voltage': 2.6, 'max_charge_current': 150.0, 'max_discharge_current': 150.0, 'max_balance_current': 150.0, 'cell_count': 4, 'charging_switch': True, 'discharging_switch': True, 'balancing_switch': True}, 'cell_info': {'voltages': [3.375, 3.374, 3.375, 3.374], 'average_cell_voltage': 0.0, 'delta_cell_voltage': 0.0, 'max_voltage_cell': 0, 'min_voltage_cell': 0, 'resistances': [0.0, 0.0, 0.0, 0.015, 0.0, 3.374, 0.001, 0.256, 0.043000000000000003, 0.042, 0.04, 0.038, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 'total_voltage': 0.0, 'current': 0.0, 'temperature_sensor_1': 0.0, 'temperature_sensor_2': 0.0, 'temperature_mos': 0.0, 'balancing_current': 0.0, 'balancing_action': 0.0, 'battery_soc': 0, 'capacity_remain': 10682.368, 'capacity_nominal': 0.0, 'cycle_count': 13498, 'cycle_capacity': 0.0, 'charging_switch_enabled': False, 'discharging_switch_enabled': False, 'balancing_active': False, 'error_bitmask_16': '0x0', 'error_bitmask_2': '0000000000000000', 'power': 0.0}, 'warnings': {'resistance_too_high': False, 'cell_count_wrong': False, 'charge_overtemp': False, 'charge_undertemp': False, 'discharge_overtemp': False, 'cell_overvoltage': False, 'cell_undervoltage': False, 'charge_overcurrent': False, 'discharge_overcurrent': False}} 2023-11-08 20:35:01.858699500 DEBUG:SerialBattery:logged to dbus [0] 2023-11-08 20:35:01.869479500 DEBUG:SerialBattery:Cells:[1]3.375V [2]3.374V [3]3.375V [4]3.374V [5]NoneV [6]NoneV [7]NoneV [8]NoneV 2023-11-08 20:35:02.058400500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 128 2023-11-08 20:35:02.073050500 DEBUG:SerialBattery:ncallback(): \x55\xaa\xeb\x90\x02\xc5\x2f\x0d\x2e\x0d\x2f\x0d\x2f\x0d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\x00\x00\x2f\x0d\x01\x00\x00\x01\x2b\x00\x2a\x00\x28\x00\x26\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 2023-11-08 20:35:02.074403500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 0 2023-11-08 20:35:02.082904500 DEBUG:SerialBattery:[] 2023-11-08 20:35:02.086440500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 128 2023-11-08 20:35:02.096086500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 197, 47, 13, 46, 13, 47, 13, 47, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] tail: /data/log/dbus-blebattery.0/current has been replaced; following end of new file 2023-11-08 20:35:02.746394500 DEBUG:SerialBattery:fb[38]: 0.0.0.0.0 2023-11-08 20:35:02.746402500 DEBUG:SerialBattery:fb[54]: 0.0.0.0.0 2023-11-08 20:35:02.746405500 DEBUG:SerialBattery:fb[70]: 0.0.15.0.0 2023-11-08 20:35:02.746407500 DEBUG:SerialBattery:fb[134]: 0.0.0.0.0 2023-11-08 20:35:02.746409500 DEBUG:SerialBattery:fb[144]: 0.0.163.0.0 2023-11-08 20:35:02.746411500 DEBUG:SerialBattery:bms_max_cell_count recognized: 16 2023-11-08 20:35:02.746414500 DEBUG:SerialBattery:processing frame with battery cell info 2023-11-08 20:35:02.751467500 DEBUG:SerialBattery:decode_cellinfo_jk02(): self.frame_buffer 2023-11-08 20:35:02.753291500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 198, 47, 13, 46, 13, 47, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 46, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 186, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 247, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 69, 5, 233, 24, 0, 1, 0, 1, 0, 5, 0, 0, 146, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 255, 127, 220, 31, 1, 0, 0, 0, 0, 0, 0, 60] 2023-11-08 20:35:02.755527500 DEBUG:SerialBattery:{'model_nbr': 'BK-BLE-1.0', 'device_info': {'hw_rev': '11.XW', 'sw_rev': '11.17', 'uptime': 14252700, 'vendor_id': 'JK_B2A8S20P', 'manufacturing_date': '230527', 'serial_number': '2081215375', 'production': 'Input Us'}, 'last_update': 1699475702.665519, 'settings': {'cell_uvp': 2.75, 'cell_uvpr': 2.9, 'cell_ovp': 3.6, 'cell_ovpr': 3.5500000000000003, 'balance_trigger_voltage': 0.003, 'power_off_voltage': 2.6, 'max_charge_current': 150.0, 'max_discharge_current': 150.0, 'max_balance_current': 150.0, 'cell_count': 4, 'charging_switch': True, 'discharging_switch': True, 'balancing_switch': True}, 'cell_info': {'voltages': [3.375, 3.374, 3.375, 3.374], 'average_cell_voltage': 0.0, 'delta_cell_voltage': 0.0, 'max_voltage_cell': 0, 'min_voltage_cell': 0, 'resistances': [0.0, 0.0, 0.0, 0.015, 0.0, 3.374, 0.001, 0.256, 0.043000000000000003, 0.042, 0.04, 0.038, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 'total_voltage': 0.0, 'current': 0.0, 'temperature_sensor_1': 0.0, 'temperature_sensor_2': 0.0, 'temperature_mos': 0.0, 'balancing_current': 0.0, 'balancing_action': 0.0, 'battery_soc': 0, 'capacity_remain': 10682.368, 'capacity_nominal': 0.0, 'cycle_count': 13498, 'cycle_capacity': 0.0, 'charging_switch_enabled': False, 'discharging_switch_enabled': False, 'balancing_active': False, 'error_bitmask_16': '0x0', 'error_bitmask_2': '0000000000000000', 'power': 0.0}, 'warnings': {'resistance_too_high': False, 'cell_count_wrong': False, 'charge_overtemp': False, 'charge_undertemp': False, 'discharge_overtemp': False, 'cell_overvoltage': False, 'cell_undervoltage': False, 'charge_overcurrent': False, 'discharge_overcurrent': False}} 2023-11-08 20:35:02.764043500 DEBUG:SerialBattery:logged to dbus [0] 2023-11-08 20:35:02.765942500 DEBUG:SerialBattery:Cells:[1]3.375V [2]3.374V [3]3.375V [4]3.374V [5]NoneV [6]NoneV [7]NoneV [8]NoneV 2023-11-08 20:35:02.772730500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 128 2023-11-08 20:35:02.776041500 DEBUG:SerialBattery:ncallback(): \x55\xaa\xeb\x90\x02\xc7\x31\x0d\x2f\x0d\x2f\x0d\x2e\x0d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\x00\x00\x2e\x0d\x01\x00\x00\x01\x2b\x00\x2a\x00\x28\x00\x26\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 2023-11-08 20:35:02.776972500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 0 2023-11-08 20:35:02.778407500 DEBUG:SerialBattery:[] 2023-11-08 20:35:02.779452500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 128 2023-11-08 20:35:02.781494500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 199, 49, 13, 47, 13, 47, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 46, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 2023-11-08 20:35:02.782946500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 22 2023-11-08 20:35:02.787614500 DEBUG:SerialBattery:ncallback(): \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xa3\x00\x00\x00\x00\x00 2023-11-08 20:35:02.787625500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 128 2023-11-08 20:35:02.787629500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 199, 49, 13, 47, 13, 47, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 46, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 2023-11-08 20:35:02.787684500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 150 2023-11-08 20:35:02.787970500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 199, 49, 13, 47, 13, 47, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 46, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0] 2023-11-08 20:35:02.791374500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 128 2023-11-08 20:35:02.794034500 DEBUG:SerialBattery:ncallback(): \xba\x34\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x89\x00\x8b\x00\x00\x00\x00\x00\x00\x00\x00\x62\x8b\x86\x04\x00\xe0\x93\x04\x00\x07\x00\x00\x00\xb8\x0a\x23\x00\x64\x00\x00\x00\xf7\x7a\xd9\x00\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x00\x01\x00\x00\x00\xc1\x03\x00\x00\x00\x00\x4f\x6e\x40\x40\x00\x00\x00\x00\x45\x05\xf7\x18\x00\x01\x00\x01\x00\x05\x00\x00\x97\x9d\xe5\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 2023-11-08 20:35:02.795161500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 150 2023-11-08 20:35:02.797226500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 199, 49, 13, 47, 13, 47, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 46, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0] 2023-11-08 20:35:02.797650500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 278 2023-11-08 20:35:02.799100500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 199, 49, 13, 47, 13, 47, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 46, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 186, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 247, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 69, 5, 247, 24, 0, 1, 0, 1, 0, 5, 0, 0, 151, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 2023-11-08 20:35:02.801240500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 22 2023-11-08 20:35:02.806849500 DEBUG:SerialBattery:ncallback(): \x00\x00\x00\x00\x00\x00\x00\x00\x00\xfe\xff\x7f\xdc\x1f\x01\x00\x00\x00\x00\x00\x00\x53 2023-11-08 20:35:02.806860500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 278 2023-11-08 20:35:02.806865500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 199, 49, 13, 47, 13, 47, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 46, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 186, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 247, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 69, 5, 247, 24, 0, 1, 0, 1, 0, 5, 0, 0, 151, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 2023-11-08 20:35:02.807075500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 300 2023-11-08 20:35:02.807080500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 199, 49, 13, 47, 13, 47, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 46, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 186, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 247, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 69, 5, 247, 24, 0, 1, 0, 1, 0, 5, 0, 0, 151, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 255, 127, 220, 31, 1, 0, 0, 0, 0, 0, 0, 83] 2023-11-08 20:35:02.807294500 DEBUG:SerialBattery:compair recvd. crc: 83 vs calc. crc: 83 2023-11-08 20:35:02.808135500 DEBUG:SerialBattery:great success! frame complete and sane, lets decode 2023-11-08 20:35:02.809616500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 199, 49, 13, 47, 13, 47, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 46, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 186, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 247, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 69, 5, 247, 24, 0, 1, 0, 1, 0, 5, 0, 0, 151, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 255, 127, 220, 31, 1, 0, 0, 0, 0, 0, 0, 83] 2023-11-08 20:35:02.810504500 DEBUG:SerialBattery:fb[38]: 0.0.0.0.0 2023-11-08 20:35:02.811446500 DEBUG:SerialBattery:fb[54]: 0.0.0.0.0 2023-11-08 20:35:02.813347500 DEBUG:SerialBattery:fb[70]: 0.0.15.0.0 2023-11-08 20:35:02.814446500 DEBUG:SerialBattery:fb[134]: 0.0.0.0.0 2023-11-08 20:35:02.815236500 DEBUG:SerialBattery:fb[144]: 0.0.163.0.0 2023-11-08 20:35:02.816363500 DEBUG:SerialBattery:bms_max_cell_count recognized: 16 2023-11-08 20:35:02.816998500 DEBUG:SerialBattery:processing frame with battery cell info 2023-11-08 20:35:02.826827500 DEBUG:SerialBattery:decode_cellinfo_jk02(): self.frame_buffer 2023-11-08 20:35:02.829727500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 199, 49, 13, 47, 13, 47, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 46, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 186, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 247, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 69, 5, 247, 24, 0, 1, 0, 1, 0, 5, 0, 0, 151, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 255, 127, 220, 31, 1, 0, 0, 0, 0, 0, 0, 83] 2023-11-08 20:35:02.832486500 DEBUG:SerialBattery:{'model_nbr': 'BK-BLE-1.0', 'device_info': {'hw_rev': '11.XW', 'sw_rev': '11.17', 'uptime': 14252700, 'vendor_id': 'JK_B2A8S20P', 'manufacturing_date': '230527', 'serial_number': '2081215375', 'production': 'Input Us'}, 'last_update': 1699475702.7549922, 'settings': {'cell_uvp': 2.75, 'cell_uvpr': 2.9, 'cell_ovp': 3.6, 'cell_ovpr': 3.5500000000000003, 'balance_trigger_voltage': 0.003, 'power_off_voltage': 2.6, 'max_charge_current': 150.0, 'max_discharge_current': 150.0, 'max_balance_current': 150.0, 'cell_count': 4, 'charging_switch': True, 'discharging_switch': True, 'balancing_switch': True}, 'cell_info': {'voltages': [3.3770000000000002, 3.375, 3.375, 3.374], 'average_cell_voltage': 0.0, 'delta_cell_voltage': 0.0, 'max_voltage_cell': 0, 'min_voltage_cell': 0, 'resistances': [0.0, 0.0, 0.0, 0.015, 0.0, 3.374, 0.001, 0.256, 0.043000000000000003, 0.042, 0.04, 0.038, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 'total_voltage': 0.0, 'current': 0.0, 'temperature_sensor_1': 0.0, 'temperature_sensor_2': 0.0, 'temperature_mos': 0.0, 'balancing_current': 0.0, 'balancing_action': 0.0, 'battery_soc': 0, 'capacity_remain': 10682.368, 'capacity_nominal': 0.0, 'cycle_count': 13498, 'cycle_capacity': 0.0, 'charging_switch_enabled': False, 'discharging_switch_enabled': False, 'balancing_active': False, 'error_bitmask_16': '0x0', 'error_bitmask_2': '0000000000000000', 'power': 0.0}, 'warnings': {'resistance_too_high': False, 'cell_count_wrong': False, 'charge_overtemp': False, 'charge_undertemp': False, 'discharge_overtemp': False, 'cell_overvoltage': False, 'cell_undervoltage': False, 'charge_overcurrent': False, 'discharge_overcurrent': False}} 2023-11-08 20:35:02.843767500 DEBUG:SerialBattery:logged to dbus [0] 2023-11-08 20:35:02.845811500 DEBUG:SerialBattery:Cells:[1]3.3770000000000002V [2]3.375V [3]3.375V [4]3.374V [5]NoneV [6]NoneV [7]NoneV [8]NoneV 2023-11-08 20:35:03.150536500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 128 2023-11-08 20:35:03.159135500 DEBUG:SerialBattery:ncallback(): \x55\xaa\xeb\x90\x02\xc8\x2f\x0d\x2e\x0d\x2e\x0d\x2f\x0d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\x00\x00\x2f\x0d\x01\x00\x00\x01\x2b\x00\x2a\x00\x28\x00\x26\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 2023-11-08 20:35:03.180226500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 0 2023-11-08 20:35:03.183534500 DEBUG:SerialBattery:[] 2023-11-08 20:35:03.189529500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 128 2023-11-08 20:35:03.203145500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 200, 47, 13, 46, 13, 46, 13, 47, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] tail: /data/log/dbus-blebattery.0/current has been replaced; following end of new file 2023-11-08 20:35:03.544407500 DEBUG:SerialBattery:compair recvd. crc: 92 vs calc. crc: 92 2023-11-08 20:35:03.570522500 DEBUG:SerialBattery:great success! frame complete and sane, lets decode 2023-11-08 20:35:03.573772500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 200, 47, 13, 46, 13, 46, 13, 47, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 188, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 248, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 70, 5, 247, 24, 0, 1, 0, 1, 0, 5, 0, 0, 157, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 255, 127, 220, 31, 1, 0, 0, 0, 0, 0, 0, 92] 2023-11-08 20:35:03.576124500 DEBUG:SerialBattery:fb[38]: 0.0.0.0.0 2023-11-08 20:35:03.586233500 DEBUG:SerialBattery:fb[54]: 0.0.0.0.0 2023-11-08 20:35:03.587524500 DEBUG:SerialBattery:fb[70]: 0.0.15.0.0 2023-11-08 20:35:03.590653500 DEBUG:SerialBattery:fb[134]: 0.0.0.0.0 2023-11-08 20:35:03.597850500 DEBUG:SerialBattery:fb[144]: 0.0.163.0.0 2023-11-08 20:35:03.600950500 DEBUG:SerialBattery:bms_max_cell_count recognized: 16 2023-11-08 20:35:03.609972500 DEBUG:SerialBattery:processing frame with battery cell info 2023-11-08 20:35:03.638545500 DEBUG:SerialBattery:decode_cellinfo_jk02(): self.frame_buffer 2023-11-08 20:35:03.664945500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 200, 47, 13, 46, 13, 46, 13, 47, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 188, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 248, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 70, 5, 247, 24, 0, 1, 0, 1, 0, 5, 0, 0, 157, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 255, 127, 220, 31, 1, 0, 0, 0, 0, 0, 0, 92] 2023-11-08 20:35:03.666836500 DEBUG:SerialBattery:{'model_nbr': 'BK-BLE-1.0', 'device_info': {'hw_rev': '11.XW', 'sw_rev': '11.17', 'uptime': 14252700, 'vendor_id': 'JK_B2A8S20P', 'manufacturing_date': '230527', 'serial_number': '2081215375', 'production': 'Input Us'}, 'last_update': 1699475702.8325963, 'settings': {'cell_uvp': 2.75, 'cell_uvpr': 2.9, 'cell_ovp': 3.6, 'cell_ovpr': 3.5500000000000003, 'balance_trigger_voltage': 0.003, 'power_off_voltage': 2.6, 'max_charge_current': 150.0, 'max_discharge_current': 150.0, 'max_balance_current': 150.0, 'cell_count': 4, 'charging_switch': True, 'discharging_switch': True, 'balancing_switch': True}, 'cell_info': {'voltages': [3.375, 3.374, 3.374, 3.375], 'average_cell_voltage': 0.0, 'delta_cell_voltage': 0.0, 'max_voltage_cell': 0, 'min_voltage_cell': 0, 'resistances': [0.0, 0.0, 0.0, 0.015, 0.0, 3.375, 0.001, 0.256, 0.043000000000000003, 0.042, 0.04, 0.038, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 'total_voltage': 0.0, 'current': 0.0, 'temperature_sensor_1': 0.0, 'temperature_sensor_2': 0.0, 'temperature_mos': 0.0, 'balancing_current': 0.0, 'balancing_action': 0.0, 'battery_soc': 0, 'capacity_remain': 10682.368, 'capacity_nominal': 0.0, 'cycle_count': 13500, 'cycle_capacity': 0.0, 'charging_switch_enabled': False, 'discharging_switch_enabled': False, 'balancing_active': False, 'error_bitmask_16': '0x0', 'error_bitmask_2': '0000000000000000', 'power': 0.0}, 'warnings': {'resistance_too_high': False, 'cell_count_wrong': False, 'charge_overtemp': False, 'charge_undertemp': False, 'discharge_overtemp': False, 'cell_overvoltage': False, 'cell_undervoltage': False, 'charge_overcurrent': False, 'discharge_overcurrent': False}} 2023-11-08 20:35:03.699988500 DEBUG:SerialBattery:logged to dbus [0] 2023-11-08 20:35:03.701189500 DEBUG:SerialBattery:Cells:[1]3.375V [2]3.374V [3]3.374V [4]3.375V [5]NoneV [6]NoneV [7]NoneV [8]NoneV 2023-11-08 20:35:03.736857500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 128 2023-11-08 20:35:03.739141500 DEBUG:SerialBattery:ncallback(): \x55\xaa\xeb\x90\x02\xc9\x2f\x0d\x2e\x0d\x2e\x0d\x2e\x0d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\x00\x00\x2e\x0d\x01\x00\x00\x01\x2b\x00\x2a\x00\x28\x00\x26\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 2023-11-08 20:35:03.740395500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 0 2023-11-08 20:35:03.740862500 DEBUG:SerialBattery:[] 2023-11-08 20:35:03.742087500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 128 2023-11-08 20:35:03.743075500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 201, 47, 13, 46, 13, 46, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 46, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 2023-11-08 20:35:03.784890500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 22 2023-11-08 20:35:03.786073500 DEBUG:SerialBattery:ncallback(): \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xa3\x00\x00\x00\x00\x00 2023-11-08 20:35:03.786894500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 128 2023-11-08 20:35:03.787942500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 201, 47, 13, 46, 13, 46, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 46, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 2023-11-08 20:35:03.788795500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 150 2023-11-08 20:35:03.789917500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 201, 47, 13, 46, 13, 46, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 46, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0] 2023-11-08 20:35:03.806478500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 128 2023-11-08 20:35:03.808584500 DEBUG:SerialBattery:ncallback(): \xba\x34\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x89\x00\x8b\x00\x00\x00\x00\x00\x00\x00\x00\x62\x8b\x86\x04\x00\xe0\x93\x04\x00\x07\x00\x00\x00\xb8\x0a\x23\x00\x64\x00\x00\x00\xf9\x7a\xd9\x00\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x00\x01\x00\x00\x00\xc1\x03\x00\x00\x00\x00\x4f\x6e\x40\x40\x00\x00\x00\x00\x45\x05\xf7\x18\x00\x01\x00\x01\x00\x05\x00\x00\xa2\x9d\xe5\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 2023-11-08 20:35:03.809407500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 150 2023-11-08 20:35:03.810541500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 201, 47, 13, 46, 13, 46, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 46, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0] 2023-11-08 20:35:03.811431500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 278 2023-11-08 20:35:03.839852500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 201, 47, 13, 46, 13, 46, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 46, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 186, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 249, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 69, 5, 247, 24, 0, 1, 0, 1, 0, 5, 0, 0, 162, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 2023-11-08 20:35:03.865800500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 22 2023-11-08 20:35:03.870441500 DEBUG:SerialBattery:ncallback(): \x00\x00\x00\x00\x00\x00\x00\x00\x00\xfe\xff\x7f\xdc\x1f\x01\x00\x00\x00\x00\x00\x00\x5e 2023-11-08 20:35:03.871696500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 278 2023-11-08 20:35:03.873414500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 201, 47, 13, 46, 13, 46, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 46, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 186, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 249, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 69, 5, 247, 24, 0, 1, 0, 1, 0, 5, 0, 0, 162, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 2023-11-08 20:35:03.875304500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 300 2023-11-08 20:35:03.877172500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 201, 47, 13, 46, 13, 46, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 46, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 186, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 249, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 69, 5, 247, 24, 0, 1, 0, 1, 0, 5, 0, 0, 162, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 255, 127, 220, 31, 1, 0, 0, 0, 0, 0, 0, 94] 2023-11-08 20:35:03.879008500 DEBUG:SerialBattery:compair recvd. crc: 94 vs calc. crc: 94 2023-11-08 20:35:03.880278500 DEBUG:SerialBattery:great success! frame complete and sane, lets decode 2023-11-08 20:35:03.881886500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 201, 47, 13, 46, 13, 46, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 46, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 186, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 249, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 69, 5, 247, 24, 0, 1, 0, 1, 0, 5, 0, 0, 162, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 255, 127, 220, 31, 1, 0, 0, 0, 0, 0, 0, 94] 2023-11-08 20:35:03.883211500 DEBUG:SerialBattery:fb[38]: 0.0.0.0.0 2023-11-08 20:35:03.884241500 DEBUG:SerialBattery:fb[54]: 0.0.0.0.0 2023-11-08 20:35:03.885249500 DEBUG:SerialBattery:fb[70]: 0.0.15.0.0 2023-11-08 20:35:03.886746500 DEBUG:SerialBattery:fb[134]: 0.0.0.0.0 2023-11-08 20:35:03.887755500 DEBUG:SerialBattery:fb[144]: 0.0.163.0.0 2023-11-08 20:35:03.888807500 DEBUG:SerialBattery:bms_max_cell_count recognized: 16 2023-11-08 20:35:03.889717500 DEBUG:SerialBattery:processing frame with battery cell info 2023-11-08 20:35:03.907494500 DEBUG:SerialBattery:decode_cellinfo_jk02(): self.frame_buffer 2023-11-08 20:35:03.910674500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 201, 47, 13, 46, 13, 46, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 46, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 186, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 249, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 69, 5, 247, 24, 0, 1, 0, 1, 0, 5, 0, 0, 162, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 255, 127, 220, 31, 1, 0, 0, 0, 0, 0, 0, 94] 2023-11-08 20:35:03.912656500 DEBUG:SerialBattery:{'model_nbr': 'BK-BLE-1.0', 'device_info': {'hw_rev': '11.XW', 'sw_rev': '11.17', 'uptime': 14252700, 'vendor_id': 'JK_B2A8S20P', 'manufacturing_date': '230527', 'serial_number': '2081215375', 'production': 'Input Us'}, 'last_update': 1699475703.668775, 'settings': {'cell_uvp': 2.75, 'cell_uvpr': 2.9, 'cell_ovp': 3.6, 'cell_ovpr': 3.5500000000000003, 'balance_trigger_voltage': 0.003, 'power_off_voltage': 2.6, 'max_charge_current': 150.0, 'max_discharge_current': 150.0, 'max_balance_current': 150.0, 'cell_count': 4, 'charging_switch': True, 'discharging_switch': True, 'balancing_switch': True}, 'cell_info': {'voltages': [3.375, 3.374, 3.374, 3.374], 'average_cell_voltage': 0.0, 'delta_cell_voltage': 0.0, 'max_voltage_cell': 0, 'min_voltage_cell': 0, 'resistances': [0.0, 0.0, 0.0, 0.015, 0.0, 3.374, 0.001, 0.256, 0.043000000000000003, 0.042, 0.04, 0.038, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 'total_voltage': 0.0, 'current': 0.0, 'temperature_sensor_1': 0.0, 'temperature_sensor_2': 0.0, 'temperature_mos': 0.0, 'balancing_current': 0.0, 'balancing_action': 0.0, 'battery_soc': 0, 'capacity_remain': 10682.368, 'capacity_nominal': 0.0, 'cycle_count': 13498, 'cycle_capacity': 0.0, 'charging_switch_enabled': False, 'discharging_switch_enabled': False, 'balancing_active': False, 'error_bitmask_16': '0x0', 'error_bitmask_2': '0000000000000000', 'power': 0.0}, 'warnings': {'resistance_too_high': False, 'cell_count_wrong': False, 'charge_overtemp': False, 'charge_undertemp': False, 'discharge_overtemp': False, 'cell_overvoltage': False, 'cell_undervoltage': False, 'charge_overcurrent': False, 'discharge_overcurrent': False}} 2023-11-08 20:35:03.934511500 DEBUG:SerialBattery:logged to dbus [0] 2023-11-08 20:35:03.936063500 DEBUG:SerialBattery:Cells:[1]3.375V [2]3.374V [3]3.374V [4]3.374V [5]NoneV [6]NoneV [7]NoneV [8]NoneV 2023-11-08 20:35:04.239419500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 128 2023-11-08 20:35:04.244691500 DEBUG:SerialBattery:ncallback(): \x55\xaa\xeb\x90\x02\xca\x2f\x0d\x2e\x0d\x2f\x0d\x2e\x0d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\x00\x00\x2f\x0d\x01\x00\x00\x01\x2b\x00\x2a\x00\x28\x00\x26\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 2023-11-08 20:35:04.246138500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 0 2023-11-08 20:35:04.247414500 DEBUG:SerialBattery:[] 2023-11-08 20:35:04.248610500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 128 2023-11-08 20:35:04.252083500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 202, 47, 13, 46, 13, 47, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] tail: /data/log/dbus-blebattery.0/current has been replaced; following end of new file 2023-11-08 20:35:04.355999500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 300 2023-11-08 20:35:04.358647500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 202, 47, 13, 46, 13, 47, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 187, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 249, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 69, 5, 247, 24, 0, 1, 0, 1, 0, 5, 0, 0, 167, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 255, 127, 220, 31, 1, 0, 0, 0, 0, 0, 0, 103] 2023-11-08 20:35:04.360770500 DEBUG:SerialBattery:compair recvd. crc: 103 vs calc. crc: 103 2023-11-08 20:35:04.363283500 DEBUG:SerialBattery:great success! frame complete and sane, lets decode 2023-11-08 20:35:04.364977500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 202, 47, 13, 46, 13, 47, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 187, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 249, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 69, 5, 247, 24, 0, 1, 0, 1, 0, 5, 0, 0, 167, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 255, 127, 220, 31, 1, 0, 0, 0, 0, 0, 0, 103] 2023-11-08 20:35:04.367817500 DEBUG:SerialBattery:fb[38]: 0.0.0.0.0 2023-11-08 20:35:04.381848500 DEBUG:SerialBattery:fb[54]: 0.0.0.0.0 2023-11-08 20:35:04.383129500 DEBUG:SerialBattery:fb[70]: 0.0.15.0.0 2023-11-08 20:35:04.384487500 DEBUG:SerialBattery:fb[134]: 0.0.0.0.0 2023-11-08 20:35:04.385526500 DEBUG:SerialBattery:fb[144]: 0.0.163.0.0 2023-11-08 20:35:04.386531500 DEBUG:SerialBattery:bms_max_cell_count recognized: 16 2023-11-08 20:35:04.387543500 DEBUG:SerialBattery:processing frame with battery cell info 2023-11-08 20:35:04.396347500 DEBUG:SerialBattery:decode_cellinfo_jk02(): self.frame_buffer 2023-11-08 20:35:04.399153500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 202, 47, 13, 46, 13, 47, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 187, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 249, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 69, 5, 247, 24, 0, 1, 0, 1, 0, 5, 0, 0, 167, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 255, 127, 220, 31, 1, 0, 0, 0, 0, 0, 0, 103] 2023-11-08 20:35:04.401215500 DEBUG:SerialBattery:{'model_nbr': 'BK-BLE-1.0', 'device_info': {'hw_rev': '11.XW', 'sw_rev': '11.17', 'uptime': 14252700, 'vendor_id': 'JK_B2A8S20P', 'manufacturing_date': '230527', 'serial_number': '2081215375', 'production': 'Input Us'}, 'last_update': 1699475703.913241, 'settings': {'cell_uvp': 2.75, 'cell_uvpr': 2.9, 'cell_ovp': 3.6, 'cell_ovpr': 3.5500000000000003, 'balance_trigger_voltage': 0.003, 'power_off_voltage': 2.6, 'max_charge_current': 150.0, 'max_discharge_current': 150.0, 'max_balance_current': 150.0, 'cell_count': 4, 'charging_switch': True, 'discharging_switch': True, 'balancing_switch': True}, 'cell_info': {'voltages': [3.375, 3.374, 3.375, 3.374], 'average_cell_voltage': 0.0, 'delta_cell_voltage': 0.0, 'max_voltage_cell': 0, 'min_voltage_cell': 0, 'resistances': [0.0, 0.0, 0.0, 0.015, 0.0, 3.375, 0.001, 0.256, 0.043000000000000003, 0.042, 0.04, 0.038, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 'total_voltage': 0.0, 'current': 0.0, 'temperature_sensor_1': 0.0, 'temperature_sensor_2': 0.0, 'temperature_mos': 0.0, 'balancing_current': 0.0, 'balancing_action': 0.0, 'battery_soc': 0, 'capacity_remain': 10682.368, 'capacity_nominal': 0.0, 'cycle_count': 13499, 'cycle_capacity': 0.0, 'charging_switch_enabled': False, 'discharging_switch_enabled': False, 'balancing_active': False, 'error_bitmask_16': '0x0', 'error_bitmask_2': '0000000000000000', 'power': 0.0}, 'warnings': {'resistance_too_high': False, 'cell_count_wrong': False, 'charge_overtemp': False, 'charge_undertemp': False, 'discharge_overtemp': False, 'cell_overvoltage': False, 'cell_undervoltage': False, 'charge_overcurrent': False, 'discharge_overcurrent': False}} 2023-11-08 20:35:04.445732500 DEBUG:SerialBattery:logged to dbus [0] 2023-11-08 20:35:04.446917500 DEBUG:SerialBattery:Cells:[1]3.375V [2]3.374V [3]3.375V [4]3.374V [5]NoneV [6]NoneV [7]NoneV [8]NoneV 2023-11-08 20:35:04.786927500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 128 2023-11-08 20:35:04.795048500 DEBUG:SerialBattery:ncallback(): \x55\xaa\xeb\x90\x02\xcb\x31\x0d\x2e\x0d\x2f\x0d\x2e\x0d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0f\x00\x00\x00\x2f\x0d\x01\x00\x00\x01\x2b\x00\x2a\x00\x28\x00\x26\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 2023-11-08 20:35:04.795960500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 0 2023-11-08 20:35:04.796695500 DEBUG:SerialBattery:[] 2023-11-08 20:35:04.797592500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 128 2023-11-08 20:35:04.818570500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 203, 49, 13, 46, 13, 47, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 2023-11-08 20:35:04.831957500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 22 2023-11-08 20:35:04.833591500 DEBUG:SerialBattery:ncallback(): \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xa3\x00\x00\x00\x00\x00 2023-11-08 20:35:04.836046500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 128 2023-11-08 20:35:04.837483500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 203, 49, 13, 46, 13, 47, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 2023-11-08 20:35:04.841713500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 150 2023-11-08 20:35:04.843469500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 203, 49, 13, 46, 13, 47, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0] 2023-11-08 20:35:04.860092500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 128 2023-11-08 20:35:04.862848500 DEBUG:SerialBattery:ncallback(): \xbc\x34\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x89\x00\x8b\x00\x00\x00\x00\x00\x00\x00\x00\x62\x8b\x86\x04\x00\xe0\x93\x04\x00\x07\x00\x00\x00\xb8\x0a\x23\x00\x64\x00\x00\x00\xfa\x7a\xd9\x00\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07\x00\x01\x00\x00\x00\xc1\x03\x00\x00\x00\x00\x4f\x6e\x40\x40\x00\x00\x00\x00\x46\x05\xea\x18\x00\x01\x00\x01\x00\x05\x00\x00\xad\x9d\xe5\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 2023-11-08 20:35:04.864026500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 150 2023-11-08 20:35:04.866315500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 203, 49, 13, 46, 13, 47, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0] 2023-11-08 20:35:04.868488500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 278 2023-11-08 20:35:04.870057500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 203, 49, 13, 46, 13, 47, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 188, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 250, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 70, 5, 234, 24, 0, 1, 0, 1, 0, 5, 0, 0, 173, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 2023-11-08 20:35:04.876940500 DEBUG:SerialBattery:--> NEW PACKAGE! lenght: 22 2023-11-08 20:35:04.878490500 DEBUG:SerialBattery:ncallback(): \x00\x00\x00\x00\x00\x00\x00\x00\x00\xfe\xff\x7f\xdc\x1f\x01\x00\x00\x00\x00\x00\x00\x66 2023-11-08 20:35:04.880474500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (before extend) -> lenght: 278 2023-11-08 20:35:04.882043500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 203, 49, 13, 46, 13, 47, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 188, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 250, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 70, 5, 234, 24, 0, 1, 0, 1, 0, 5, 0, 0, 173, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 2023-11-08 20:35:04.883365500 DEBUG:SerialBattery:--> assemble_frame() -> self.frame_buffer (after extend) -> lenght: 300 2023-11-08 20:35:04.885481500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 203, 49, 13, 46, 13, 47, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 188, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 250, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 70, 5, 234, 24, 0, 1, 0, 1, 0, 5, 0, 0, 173, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 255, 127, 220, 31, 1, 0, 0, 0, 0, 0, 0, 102] 2023-11-08 20:35:04.887059500 DEBUG:SerialBattery:compair recvd. crc: 102 vs calc. crc: 102 2023-11-08 20:35:04.888093500 DEBUG:SerialBattery:great success! frame complete and sane, lets decode 2023-11-08 20:35:04.889793500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 203, 49, 13, 46, 13, 47, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 188, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 250, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 70, 5, 234, 24, 0, 1, 0, 1, 0, 5, 0, 0, 173, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 255, 127, 220, 31, 1, 0, 0, 0, 0, 0, 0, 102] 2023-11-08 20:35:04.891029500 DEBUG:SerialBattery:fb[38]: 0.0.0.0.0 2023-11-08 20:35:04.892083500 DEBUG:SerialBattery:fb[54]: 0.0.0.0.0 2023-11-08 20:35:04.893131500 DEBUG:SerialBattery:fb[70]: 0.0.15.0.0 2023-11-08 20:35:04.894336500 DEBUG:SerialBattery:fb[134]: 0.0.0.0.0 2023-11-08 20:35:04.895435500 DEBUG:SerialBattery:fb[144]: 0.0.163.0.0 2023-11-08 20:35:04.896546500 DEBUG:SerialBattery:bms_max_cell_count recognized: 16 2023-11-08 20:35:04.897627500 DEBUG:SerialBattery:processing frame with battery cell info 2023-11-08 20:35:04.904492500 DEBUG:SerialBattery:decode_cellinfo_jk02(): self.frame_buffer 2023-11-08 20:35:04.906251500 DEBUG:SerialBattery:[85, 170, 235, 144, 2, 203, 49, 13, 46, 13, 47, 13, 46, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 47, 13, 1, 0, 0, 1, 43, 0, 42, 0, 40, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163, 0, 0, 0, 0, 0, 188, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 137, 0, 139, 0, 0, 0, 0, 0, 0, 0, 0, 98, 139, 134, 4, 0, 224, 147, 4, 0, 7, 0, 0, 0, 184, 10, 35, 0, 100, 0, 0, 0, 250, 122, 217, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 1, 0, 0, 0, 193, 3, 0, 0, 0, 0, 79, 110, 64, 64, 0, 0, 0, 0, 70, 5, 234, 24, 0, 1, 0, 1, 0, 5, 0, 0, 173, 157, 229, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 254, 255, 127, 220, 31, 1, 0, 0, 0, 0, 0, 0, 102] 2023-11-08 20:35:04.908158500 DEBUG:SerialBattery:{'model_nbr': 'BK-BLE-1.0', 'device_info': {'hw_rev': '11.XW', 'sw_rev': '11.17', 'uptime': 14252700, 'vendor_id': 'JK_B2A8S20P', 'manufacturing_date': '230527', 'serial_number': '2081215375', 'production': 'Input Us'}, 'last_update': 1699475704.401746, 'settings': {'cell_uvp': 2.75, 'cell_uvpr': 2.9, 'cell_ovp': 3.6, 'cell_ovpr': 3.5500000000000003, 'balance_trigger_voltage': 0.003, 'power_off_voltage': 2.6, 'max_charge_current': 150.0, 'max_discharge_current': 150.0, 'max_balance_current': 150.0, 'cell_count': 4, 'charging_switch': True, 'discharging_switch': True, 'balancing_switch': True}, 'cell_info': {'voltages': [3.3770000000000002, 3.374, 3.375, 3.374], 'average_cell_voltage': 0.0, 'delta_cell_voltage': 0.0, 'max_voltage_cell': 0, 'min_voltage_cell': 0, 'resistances': [0.0, 0.0, 0.0, 0.015, 0.0, 3.375, 0.001, 0.256, 0.043000000000000003, 0.042, 0.04, 0.038, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], 'total_voltage': 0.0, 'current': 0.0, 'temperature_sensor_1': 0.0, 'temperature_sensor_2': 0.0, 'temperature_mos': 0.0, 'balancing_current': 0.0, 'balancing_action': 0.0, 'battery_soc': 0, 'capacity_remain': 10682.368, 'capacity_nominal': 0.0, 'cycle_count': 13500, 'cycle_capacity': 0.0, 'charging_switch_enabled': False, 'discharging_switch_enabled': False, 'balancing_active': False, 'error_bitmask_16': '0x0', 'error_bitmask_2': '0000000000000000', 'power': 0.0}, 'warnings': {'resistance_too_high': False, 'cell_count_wrong': False, 'charge_overtemp': False, 'charge_undertemp': False, 'discharge_overtemp': False, 'cell_overvoltage': False, 'cell_undervoltage': False, 'charge_overcurrent': False, 'discharge_overcurrent': False}} 2023-11-08 20:35:04.919817500 DEBUG:SerialBattery:logged to dbus [0] ````
Today I had the same Problem that all main Parameters are Zeros.
So I installed the Nightly Build and this fixed my problem too.
What I also observed (before the update), the cycles count was very high (54000) and not stable it goes up and down all the time.
I think the bug will happened, because my Battery is in the garage and now the temperatures outside going down. So this will happen by other JK-BMS Bluetooth users as well.
@mr-manuel thank you very much for fixing this issue 😃
The reason why you cycles count was high because it is displaying the voltage there. I had the same issue if you look at my screenshots.
Op za 11 nov. 2023 12:39 schreef Bjoern @.***>:
Today I had the same Problem that all main Parameters are Zeros. [image: Screenshot 2023-11-11 at 10 23 16] https://user-images.githubusercontent.com/506641/282239176-49a75e4c-d096-439b-8a2f-c1b58c8dc19d.png
So I installed the Nightly Build and this fixed my problem too. [image: Screenshot 2023-11-11 at 12 28 33] https://user-images.githubusercontent.com/506641/282239100-59606a1a-306c-4c07-983e-aed24b9343c6.png
What I also observed (before the update), the cycles count was very high (54000) and not stable it goes up and down all the time.
I think the bug will happened, because my Battery is in the garage and now the temperatures outside going down. So this will happen by other JK-BMS Bluetooth users as well.
@mr-manuel https://github.com/mr-manuel thank you very much for fixing this issue 😃
— Reply to this email directly, view it on GitHub https://github.com/Louisvdw/dbus-serialbattery/issues/716#issuecomment-1806793063, or unsubscribe https://github.com/notifications/unsubscribe-auth/APTUHJKS535ECMYI44UWSTLYD5PV5AVCNFSM6AAAAAAZJK7N36VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWG44TGMBWGM . You are receiving this because you authored the thread.Message ID: @.***>
@mr-manuel Could you find anything in my log?
@drago-more sorry I'm pretty busy at the moment. In the meanwhile could you try to change
to
if 1 == 1:
then check, if now all data is shown correctly, After change it to
if 1 != 1:
Please report back which one works for you. You have to run /data/etc/dbus-serialbattery/reinstall-local.sh
after each change or better reboot the system.
@mr-manuel Easy, no stress! 😉
What works for me is
self.bms_max_cell_count = 32
self.translate_cell_info = TRANSLATE_CELL_INFO_32S
It shows all values incl. the MOSFET temperature. Thus the issue seems to be with the if
condition fb[70] == 255
. In my case (JKBMS 11.XW, 4 cells) it results to FALSE
instead to TRUE
.
Could you all please test the latest nightly and check, if it works for you?
Works for JKBMS 11.XW, 4 cells. 👍
What is the proper way to update to the latest nightly? I installed the latest nightly on my Cerbo GX without uninstalling the existing driver first, it didn’t work, I had to uninstall the existing driver then install the new one to make it work, is it the correct procedure?
You can just execute the install.sh
and select to install the nightly build and then select the dev branch. No uninstall needed, only a reboot.
Hi @mr-manuel, I had to reboot twice for my jkbms to display all the parameters in my case, the first reboot only shows the voltage I remember. I have since done an uninstall first and then the install, then everything seems to work fine.
One additional question, is there option to set balancing start voltage in this driver? Say, I want the jkbms to balance cells only above certain voltage. Thanks!
No, you can only set the balancing voltage through the JKBMS app, since this is not something you need at a daily base. You set it once and forget about it, until you optimized your system.
Got it. Thank you! @mr-manuel
Describe the bug
I use the nightly build DEV branch with both JK BMS'ses on bluetooth. So far they connect good and all the values are displayed. Exccept for the MOSFET Temp of one of the newer JK BMS'ses. I have 1 BMS with firmware version 10.XW 16 cells and 1 with firmware version 11.XW. The one with 11.ZW does display the MOSFET temp in the JKBMS app but not in this driver. The MOSFET temp of the 10.XW is displayed in the app and also this driver. Maybe the driver gets the information of the 11.XW on a different scheme so that the values are misplaced.
How to reproduce
Always not displayed
Expected behavior
MOSFET Temp not 0 degrees in the Remote Console / MQTT values
Driver version
1.0.20230613dev
Venus OS device type
Venus_GX
Venus OS version
2.92
BMS type
JKBMS / Heltec BMS
Cell count
16
Connection type
Bluetooth
Config file
Relevant log output
Any other information that may be helpful
No response