-
Notifications
You must be signed in to change notification settings - Fork 151
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
Sending JK BMS PB-x firmware update command via BLE #510
Comments
Did this command work? |
The command I provided here works on RS485 only, and I didn't get any help from anyone yet to convert it to a BLE command. So, no updates on this issue whatsoever, I'm still stuck with the same fatal bug with no help. |
Oh I see - I dont see how the command can update the firmware tho - surely you'd need to send the new firmware as well |
I totally understand what you're saying. So, the whole idea is to do the firmware update process over BLE instead of RS485, as it's not working at all in a faulty BMS. |
The BLE commands look like [20 bytes long) (where the 0x97 is the command designator)
So not really sure how to map the command you supplied can map - do you have any other commands that could be used as comparsions |
Yeah, sure!
|
Wow - thats kinda weird the response looks like the jk02 / jk04 protocol, but the commands are completely new (and I assume that the posted response is just the start of the data?) this is via the RS485 port? |
I'm so sorry for my late response.
|
Please also note that project "esphome-jk-bms" started supporting series PB of the JK BMS a while ago, if you would like to take a look at the differences in the data structure than previous series of their products |
I couldnt find anything in the esphome-jk-bms code that matches your
commands (not that I really understand the esphome stuff)
Ive added a jkpb protocol to the github source tree - be interested to see
what results it gives
…On Sun, 29 Sept 2024 at 18:27, Tarek Yag ***@***.***> wrote:
Please also note that project "esphome-jk-bms" started supporting series
PB of the JK BMS a while ago, if you would like to take a look at the
differences in the data structure than previous series of their products
—
Reply to this email directly, view it on GitHub
<#510 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJVKNT4QIOV4U4WDVWAMBDZY6FVDAVCNFSM6AAAAABNDWBWLGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBRGEYTIMBRGA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Sorry for being late! Please also note that I don't own an ESP microcontroller yet, so I can't help with any testing right now. I thought that it would be easy to convert commands between protocols. I tried to contact @syssi a while ago, but I never got help on this matter. |
Hi, thank you for your great project and support!
I'm a Software Engineer, and I have a JK BMS (PB-2A16S15P - HW: 15.XA, SW: 15.10) with a faulty RS485-1 (right besides CAN port), which makes me unable to update my BMS firmware or even connect it to my inverter, as there is no communication possible via that port at all, so I had to do a lot of tests and sniffed all communication possible.
When I try to update the firmware via RS485-2 ports that are designated for parallel connection with other JK BMS units, the BMS shuts down / crashes immediately. We are a growing number of owners having this fatal bug and despite several attempts to contact JK support and other popular YouTube influencers, we are out of luck so far.
Since you have full knowledge of the communication protocols of JK BMS (PB series), is it possible to edit the command to make it possible to be executed via RS485-2 or BLE?
RS485-1 Firmware update command (HEX):
01 10 16 26 00 01 02 00 00 D6 97
The text was updated successfully, but these errors were encountered: