• Have you tried out dark mode?! Scroll to the bottom of any page to find a sun or moon icon to turn dark mode on or off!

diy solar

diy solar

BMS_BLE-HA Home Assistant Integration for managing bluetooth enabled LiFePO4 batteries

gary_lankford

New Member
Joined
Mar 18, 2023
Messages
42
Location
Texas
Note that I am only reporting the availability of this project and have no claim on any aspect of it.

With the recent addition of a plug-in for Redodo batteries, my Li Time 12.8V and 51.4V batteries were automatically detected as new devices and set up by Home assistant. As this was not by plan, but due to an apparent similarity between the Redodo and Li Time bms, the generated HA entities are not all duplicating Li Time app readings, but most are. The author of the integration is active and working to sort things out.

If you are using Home Assistant and using a battery with BLE capability, this project may be for you!


"This integration allows to monitor Bluetooth Low Energy (BLE) battery management systems (BMS) from within Home Assistant. After installation, no configuration is required. You can use the ESPHome Bluetooth proxy to extend the bluetooth coverage range. By using standard dashboard cards, it is easy to visualize the current state of remote batteries."

Features​

  • Zero configuration
  • Autodetects compatible batteries
  • Supports ESPHome Bluetooth proxy (BT proxy limit: 3 devices/proxy)
  • Any number of batteries in parallel
  • Native Home Assistant integration (works with all HA installation methods)
  • Readout of individual cell voltages to be able to judge battery health

Supported Devices​

  • 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
  • JBD BMS, Jiabaida, 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…)
  • Redodo batteries
  • Seplos v3 (show up as SP0… or SP1…)
New device types can be easily added via the plugin architecture of this integration. See the contribution guidelines for details.
 
Any Way to read seplos v2
This integration is only a few months old... Just because a battery isn't on the list doesn't mean it won't work, more likely, no one has tried it yet to report it... You'll notice Li Time isn't on the list yet either!

You could just install the integration and see, or better, get on the github repository and ask patman to work with you to get it working.

If I gather right, if it uses BLE, it can probably be made to work...
 
The BMS_BLE-HA HACS integration is now fully functional for reading bluetooth enabled Li Time battery data into Home Assistant.
 
If you also have solar assistant, you can get all the data from the seplos in HA.
The advantage of BMS_BLE-HA is that it integrates natively with HA and requires no external setup or external hardware beyond either the added or internal BT adapter that your HA system should already have.

This assumes the battery is bluetooth enabled, and a suitable plug-in for BMS_BLE-HA is already included in the integration or can be written for it.

Perhaps not applicable for Seplos (I just don't know), but I left Solar Assistant for esphome-pace-bms for integrating and monitoring my SOK 100Ah 48V batteries, as it offers more information (and even control) that Solar Assistant doesn't, and again, is more native to HA.

 
What would be needed if battery is not physically within bluetooth range of Home Assistant? And/Or (in my case), if HA is running as a VM and does not have a bluetooth radio?
 
Hello,

unfortunately the BMS_BLE-HA HACS integration seems to recognize my four Seplos v.2.0 BMS. They do not show up via the terminal either. In the terminal I only get my 4 Neey balancers displayed.

Is there any chance that the Seplos 2.0 BMS will still be added as a plugin, or does anyone know of another way to integrate the individual cell voltages into Homeassistant?
 
What would be needed if battery is not physically within bluetooth range of Home Assistant? And/Or (in my case), if HA is running as a VM and does not have a bluetooth radio?
A usb bluetooth device is typically 12Mb/sec. And since it is low speed usb you can get usb powered extension cables that are 30ft in length, and you can also get usb extension to rj45 and back to usb on the other end and those extensions can go further than 30ft. My server is close enough to my batteries that I only needed one 15ft powered extension cable to get the usb within 10ft of the batteries.

You would then have to add that bluetooth/usb device to the vm config so that it could use it.
 
Anyone know if this is more reliable than the built-in Batmon addon? Seems Batmon has trouble reading my Eco-Worthy batteries that use a JBD BMS. Randomly starts throwing errors, sometimes comes back, other times requires the addon to be restarted.
 
Anyone know if this is more reliable than the built-in Batmon addon? Seems Batmon has trouble reading my Eco-Worthy batteries that use a JBD BMS. Randomly starts throwing errors, sometimes comes back, other times requires the addon to be restarted.
The JK bms (with the BLE from above) was having that issue a few weeks ago, one of the recent updates seems to have fixed it or at least added code to recover quickly from the issue. I have had updates for in the last week, so it is still being actively developed.
 
Currently using this to monitor Seplos V2.
Creator is very active with this app, very receptive to working things out.
Seplos V2 appears to be the only BMS that won't gather all the info from the master battery, if I understand correctly. To see all batteries, you have to install each battery.

Also, certain versions of Realtek bluetooth adapters don't play well with HA. I had that issue with my mini pc. If I connected more than one battery, entities started becoming unavailable. Disabled the internal Realtek adapter and added a couple usb adapters, all is good.
 
I have a new Eco-Worthy 100ah/12v battery. Anyone know how to tell what BMS it has, and whether it might work with this?

I installed this integration and tried it, and it doesn't see the battery on any proxy device I have. Interestingly it sees it on shelly, but it broadcasts the thing indicated in this known issue (below).

I've also tried a esphome implementation (https://github.com/syssi/esphome-jbd-bms/blob/main/esp32-ble-example.yaml) that just says it cannot find the MAC.

Oddly my one (single, only) battery shows up in the eco-worthy application scan as three different things. only the middle one will connect though. With the esphome implementation I tried all three MAC's.

An OUI lookup on the first and last shows "ASSA ABLOY Korea Co", but nothing for the middle (these are really MAC lookups, I'm not sure BT works exactly the same way or not for registration).


1762537835065.png

1762537957227.png
 

diy solar

diy solar
Back
Top