-
-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Using on JK-B5A24S Balancer Only unit, mostly works but some issues #213
Comments
You are right. The |
Is this what you are after?
I Think I remember reading somewhere else that it uses a 320 byte frame rather than a 300, so I don't know if there is any information missing from the end of it? |
This frame looks good & complete (80+80+80+60 = 300, Preamble
Could you capture a
The frames are requested right after the established BLE connection. You could use the
|
Certainly, below should be all 3 frames from a single pass. let me know if there is anything else I can grab for you.
|
As next step I would be happy about a BLE traffic capture (btsnoop). Don't worry, it's quite simple as long as you have an Android device. The btsnoop capture is part of the bug report bundle (if enabled beforehand): I try to summarize the goal for a brief overview:
I will extract the write commands / instructions from the capture so we can guess the proper payload of the JK04 protocol. Without having this capture there is a risk to write garbage to your device. |
Hopefully this includes what you are after. I've removed the before and after as it was quite a large file, but I don't think anything should be missing. I set each of the following values and then reverted them in this order The ADC Ref figures I'm not 100% certain on, as they change, and it came up with the wrong figure next time I opened it. Please let me know if anything else can be of use. |
Thanks for preparing such a well structured and documented capture. I will try to go the next steps later the week and will report back if something is missing. |
Extracted write commands:
|
See also #94 |
@syssi thanks a lot for your work done, just to confirm it's working fine via BLE and JK-B2A20S20P HW V11.XW, SW V11.25H |
@iovcharyk Thanks for your feedback! Could you do me a favor and create a new issue + report your device as supported? I don't want to reference this issue because your report is off-topic here. |
Hi, Please can I check if there was any more progress on fully supporting JK04/balancer units? I am happy to try and provide further scans or test things out if that's of any assistance? Many Thanks |
Hi,
I am trying to use this on a Balancer Only unit (JK-B5A24S), and while most of it works there are a couple of bits which don't, and I was wondering if they could be investigated.
I've disabled all the sensors/switches which I don't think apply to the Balancer, which has left the following sections visible, but empty and non functional.
[Configuration] Balance Trigger voltage
[Configuration] Cell count
[Configuration] Max Balance Current
[Configuration] Power Off Voltage
[Configuration] Voltage Calibration
[Sensors] Temperature Sensor 1
I can see most of these values are correctly extracted from the settings frame, but are not displayed in HA, and attempting to send them isn't allowed. I can set them absolutely fine over bluetooth.
The following is a list of the unknown parts when decoding the data, if any of that is of use?
If there is anything else I can provide then please let me know.
Thank you for any assistance you can provide.
The text was updated successfully, but these errors were encountered: