BLE Battery Management Systems custom integration

icon Originally, I just wanted to integrate my battery with a BLE BMS into HA, but I ended up with writing a new custom integration, called BLE Battery Management System as existing methods did not satisfy my needs.

What’s different with my integration?

  • It supports only Bluetooth Low Energy BMS
  • No extra hardware needed
  • It does support ESPhome Bluetooth proxy and thus does not have issues with signal range.
  • Automatic detection of available BMS
  • Uses standard HA properties

Currently, the integration supports the following BMS

  • CBT Power BMS, Creabest batteries
  • D-powercore BMS (show up as DXB-…), Fliteboard batteries (show up as TBA-…)
  • Daly BMS (show up as DL-…)
  • E&J Technology BMS
    • Supervolt v1 batteries
    • Elektronicx batteries (show up as LT-…)
  • Ective batteries
  • JBD BMS, Jiabaida
    • accurat batteries
    • Supervolt v3 batteries
  • JK BMS, Jikong, (HW version >=11 required)
  • Offgridtec LiFePo4 Smart Pro: type A & B (show up as SmartBat-A… or SmartBat-B…)
  • LiTime, Power Queen, and Redodo batteries
  • Seplos v3 (show up as SP0… or SP1…)

but if you find it useful, I’m happy to take further devices in. Thus, I have also written a short guide on how to extend. See the contribution guidelines for details. So far I only added devices, where I could also test the functionality (mostly with emulated BMS), so please provide tests in case you’d like to raise a PR.

If you go interested, have a look at

image

I want to thank, fl4p who inspired me in taking this step and I hope we can soon join forces to add more BMS.

1 Like

How can I see the second attribute from the temperature, if it is possible that it shows -65 as a sensor and attribute I have 25.2, 23.7, 24.3. I am interested in the one with 25.2 being mos temp. I don’t know its template setting. Thank you.

Not sure I fully understand your request, but did you take a look at the FAQ on how to get an attribute as an individual sensor?


Good afternoon, is there any plan to support DALY BMS with active balancer?

Did you check if it works? Most probably it should already do so. If not, feel free to raise an issue on GitHub and we can discuss the details there.

Hi Patrick,

thank you for your great integration.

BR
Andreas


BT ID: JHB-501805010265

Please raise a feature request and provide the output of bluetoothctl info <MAC> and the service explorer script there. Then I can have look why it is not detected automatically.

Thank you for this nice integration! I have a Powerqueen battery myself, and apparently it contains a Redodo BMS. So for other Powerqueen owners with this integration, you can connect the BMS :slight_smile:

Thanks for letting me know, will add it to the documentation.

My MacBook and iPhone do not see the bluetooth of this BMS. It can be connected via bluetooth only through the application on iOS.

Thank you for your work. I’m basically brand new to all things Home Assistant, and have only used it uninterrupted for less than 24 hours now. So, please be gentle with me.

Is this integration supposed to be available directly through Home Assistant like I searched for Tuya and was able to connect one of my devices? I have just searched for it without success. Is there something I’m supposed to do in order for it to appear when I search for it? Please, indulge my neonatal inquiry.

See the section of the README about installation. You first need to install HACS, then you can add a custom repository and finally, you install the integration using HACS.

@patman

Trying to use this in a proxmox VM instance of HA. i don’t have a bluetooth adaptor to passthrough, but i am using the ESPhome bluetooth proxy which works for other devices.

The integration is installed, however adding the integration instantly returns and error “No supported devices found via Bluetooth.” and the integration isn’t added.

The error i am getting from trying to use the integration makes it sound like this integration won’t work without an actual bluetooth adaptor installed. Is this correct?

Without an actual adaptor, i can’t run bluetoothctl as there is no controller available to get any errors.

The error i am getting from trying to use the integration makes it sound like this integration won’t work without an actual bluetooth adaptor installed. Is this correct?

The integration does support ESPhome BT proxy, please see the first post or the README.

The integration is installed, however adding the integration instantly returns and error “No supported devices found via Bluetooth.” and the integration isn’t added.

In this case, please refer to the troubleshooting guide. If your BMS is not supported, please open a feature request, if it should be supported (is listed in the section “supported devices”), please raise a bug issue with a proxy log attached.

I’m using a raspberry pi 5. Do I need at bluetooth adaptor and in this case which are supported.

@patman

Hi, found your integration, and just added my Seplos V2 BMS vis Bluetooth.
Thanks for that!
But:
Two more things.

  1. The Bluetooth connection will work for about 1-2 minutes. Then the Pi5 and the seplos bms will disconnect. → i have to start a new scan and reconnect them. Is there an hint for an stable connection?
  2. I use 5 packs, connected via RS485. In the bluetooth app i can see all 5 packs and the informations. What do i have to do, to get the same information in HA?

THX, Leigh

Posted the device info in the feature request; manually added it to the custom component files like the other eco-worthy batteries; however still doesn’t work.

The BT proxy detects it; but this integration still cannot be added. i can’t turn on Debug for the integration, since the integration can’t be added as it still gives the error when adding the integration in the first place. also can’t run the Bluetoothctl commands since there is no BT adaptor in the machine.

I understand it works with BT proxy; but nothing mentions if a Bluetooth adaptor also must exist for the integration to be added in the first place; since i can’t get past that step at the moment without the aforementioned error.

The Pi5 has an integrated adapter which is not optimal, but sufficient if you use only 1-2 BMSs at a time.

First of all, the integration should reconnect automatically, try to checkout the RSSI / link values to see if your BT is ok. If your run into troubles, please open a support request with a debug log attached so I can take a deeper look.

The packs should individually show up in HA. During implementation I was told every pack as it’s own BT module.