-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Liontron Batteries #141
Comments
If it is a JBD then the protocol is already there, so I guess it is only the detection that does not work. Can you provide the output of |
this should help: bluetoothctl info First (40Ah) Device 70:3E:97:D1:BE:20 (public) Second (55Ah) Device 70:3E:97:D1:C1:8C (public) Einrichtungsfehler, wird erneut versucht: device communicating failed: 70:3E:97:D1:BE:20 - 70:3E:97:D1:BE:20: Failed to connect after 4 attempt(s): TimeoutError (BleakNotFoundError) |
Not sure how you reached that state, because that should not happen ... Can you try the linked branch? That should work. If not, please provide a debug log! Thanks. |
Here are the Debug Logs:
|
Seems like BT has troubles connecting, so far I could not spot an issue with the integration. Can you please
|
Hi, the problem seems to be the same as in the ESPHome Project. There where Timing Problems while getting data, which could be solved there... i don't know, if you find it in the code.... i linked the artikel in my first post....
|
I have had a look at the issue, but I can't see the relation (yet). The logs show that HA is unable to even make a connection. The integration doesn't reach the state to send a single command. For me it looks like either
Unfortunately, I do not see much because even the connect command fails. |
hci0 70:3E:97:D1:C1:8C type LE Public connect failed (status 0x08, Timeout) |
@jassi0001 I talked to @syssi yesterday. I cannot see any relation between the changes that were done and the current issue. Given the fact that you cannot connect using
|
bluetoothctl devices to see how many others are around as you said, it is a problem with the adapter or the stack.... |
problem seems to be inside the HAOS... connection from Proxmox works.... i Think you can close here and i have to check in my installation |
Closing is up to the reporter, unless I fixed something. 😄 Close at your needs, I'm happy to help you with further input, if you have questions. If you haven't done so, I recommend to "pass-through" the whole USB device to the VM. At least for me the setup works. |
Checklist
Please describe the enhancement you would like to have.
I have two Liontron Batteries (). The ESPHome Project "github://syssi/esphome-jbd-bms@main" integrated it together with me.
device_description: "Monitor and control a Xiaoxiang Battery Management System (JBD-BMS) via BLE"
The ESPHome communication is working as expected.
Maybe you can implement it an i can test?
in the other Project there where timing issues. after changing that, the communication worked....
Additional context
github://syssi/esphome-jbd-bms@main
Feature Request at syssi: syssi/esphome-jbd-bms#81
Implementationat syssi: syssi/esphome-jbd-bms#84
https://liontron.com/
https://liontron.com/download/german/LISMART1240LX.pdf and
https://liontron.com/download/german/LISMART1255LX.pdf
unfortunatly i do not have a ble protocol.
The text was updated successfully, but these errors were encountered: