-
-
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
Bulltron battery setup error #85
Comments
Hi! I would need a debug log to tell you more / analyze the issue. Do you know which BMS is used by the battery? (If not, logs will tell anyway.) Thanks. |
Thanks for looking. I think it is Daly BMS though I have no official confirmation from manufacturer. I'll send debug log tomorrow. Can I send it directly to you? Don't like to post it publicly because it might contain sensitive data. |
Sure, there are links in my github profile you can use, e.g. my user on HA community which allows DMs. |
Sent the debug files to your Discord account as I already have an account in Discord. |
Thanks for sending the logs. I had a look at them and there are two possible issues.
A feedback with a log is highly appreciated so I can nail down the issue. Thanks for raising the issue! |
Thanks for looking. I've already tried to pair the device with bluetoothctrl pair MAC but I never get a prompt to enter a PIN and the pairing process just times out with an error. When using the Atom bluetooth proxy pairing is even more problematic as bluetoothctl doesn't work with the proxy. If you can guide me I'd give it another try. I'll try as well your hint 2 with manual installation but this will take some time because the mobile home where the Bulltron is installed will be serviced during the next 2-3 days. |
@PG248 I looked at the logs again and can see a number of Bluetooth errors (indicating that the connection does not work). Have you tried rebooting once? Can you let me know, which HA version you use, what OS, what Bluetooth adapter? Did you ensure that your phone / the app or any other software that could access the battery is disabled? |
Just updated everything: BLE BMS 1.10.0 Bluetooth is via Atom Stack M5 proxy. Still get the following error every few seconds: Can connect to the battery with bluetoothctl connect B4:XX:XX:XX:XX but cannot pair with bluetoothctl pair B4:XX:XX:XX:XX probably because pairing needs a PIN that I cannot enter during the pairing process (no request). Maybe an option to set the PIN in the config file for BLE BMS might be helpful? If you want me to do further testing tell me what you need. |
I'm still not sure what the reason is. I can see that the BMS responds with a frame that looks like from a Daly BMS but only after disconnect. The fastest way to figure out what the issue is would be to capture the Bluetooth traffic when you are using the app. Are you able to do so? |
Checklist
Describe the issue
I try to read entities from a Bulltron LiFePo battery with HA. The battery is automatically recognised but when I confirm to proceed with the automatic setup I get the following error:
device communicating failed: [org.bluez.Error.Failed]
Operation failed with ATT error: 0x0e (Unlikely Error) (BleakDBusError)
In terminal I can connect to the battery (sensitive data changed to XXX) :
I tried to pair the battery with bluetoothctl pair MAC but the pairing process stops after some timeout probably waiting for a pin. Don't get a prompt to enter a PIN
I think pairing with a PIN is not necessary unless I want to change parameters of the battery. At least that's the case with the Bulltron Mobile App. I do not want to change parameters via HA only read actual charging level, voltage, current.
Any help appreciated.
The text was updated successfully, but these errors were encountered: