-
-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[jk_bms_ble:454]: You hit the unstable auto detection of the protocol version. This feature will be removed in future!Please update your configuration to protocol version JK02_32S if you are using a JK-B2A8S20P v11+ #297
Comments
Could you tell me the hardware and software version of your device? I assume your device is a |
I have been running this BMS with your software since Jan 2023 or earlier. I dont really check the logs too often, but happened to be updating esphome versions from 2023.3.0 to 2023.3.2 and prior to updating I checked the logs and noticed the message. Power tube temp and total voltage both are displaying accurate values. JK_BD4A8S4P |
I changed log level to DEBUG and here is the output: Edit: redacted some ip addresses |
Interesting! I haven't seen a JK-BD4A8S4P using the
|
Just for clarity, I have been running JK02 protocol, and the logs text file linked above is from that protocol version JK02. I will update to JK02_32S, compile, and provide logs after the update. |
Here is the log file after updating to JK02_32S Note: [10:22:51][D][jk_bms_ble:647]: Unknown158: 0x64 0x00 (always 0x64 0x00?) |
I tried to auto-detect the new frame structure (now called It looks like your BMS (software version 11+) is auto-detected properly as |
Are the links to text files good for posting here, or is it better if I copy and paste the actual text into the reply boxes here on github? I'm not too experienced with github / programming so want to be sure i'm posting things in the preferred format... |
The attachments are perfectly fine! Please ignore the |
Your device is a |
Great thanks! Consider updating the supported / tested models list - I dont think the BD4A8S4P was on there when I checked yesterday. I have a few other models of BMS's available for testing if interested... |
I'm happy about your feedback! I will add your device soon and improve the warning. It looks like there are more BMS models using software version 11 with the new protocol version next to the B2A8S20P. |
-----new question about a different esp board and different bms's different from the above messages----- I have one ESP32-WROOM that is connecting to two JK BMSs, B2A20S20P and BD6A20S10P. I get the "You hit the unstable auto detection of the protocol version. This feature will be removed in future!Please update your configuration to protocol version JK02_32S if you are using a JK-B2A8S20P v11+" warning in the logs for this one too. Do I need to go ahead and update the protocol on this one? I am connecting to two different model bms on one esp chip, im not sure which one is causing the warning message, or both. And not sure whats different with jk-2_32s. What do you recommend? |
Please start with a single BMS setup / single BLE client connection and update the MAC address per test. As soon you know which protocol version to use you could flash your multiple BLE client connection configuration. If the protocol version doesn't fit the temperature sensor will be probably zero and the total voltage won't match. |
The difference between |
Got it, I'll do some testing and post the results, thanks! |
Is your offer still valid? |
Yep, what would you like me to do? |
Please collect the MAC addresses of your devices. Flash a ESP32 with this YAML https://github.com/syssi/esphome-jk-bms/blob/main/esp32-ble-example.yaml make sure you are able to enabled/disable the discharging mosfet using the switch entity and provide the software and hardware version per device. |
JK-B1A20S15P works well using jk02 protocol. I just notice the manuf date is today... I wonder if this is because today is the first day its ever been powered on? I bought it a few months back and just wired it up today... Attached is a log file that you can review. one bit that may be worth review:
Edit: And yes, both the charge and discharge switches work |
Thanks for testing! I've extended the list of supported devices. Thanks for providing the unknown bytes. These details could be helpful in future. |
You are right! This is the date of the first power on. I don't know it's a new feature (and written by the Android app) or it has always been like this. |
[jk_bms_ble:454]: You hit the unstable auto detection of the protocol version. This feature will be removed in future!Please update your configuration to protocol version JK02_32S if you are using a JK-B2A8S20P v11+
I am getting that message in the logs. I am running a JK_BD4A8S4P, should I be concerned?
The text was updated successfully, but these errors were encountered: