Has anyone been able to use the Bluetooth binding to connect to a BMS and log the battery’s stats via openhab?
I have a set set of 280ah batteries i would love to track and monitor for discharge and charging as well as temp. Has anyone been able to get a generic BMS that connects over bluetooth to work? Can you use a generic bluetooth device and pull data and parse it out?
• Do you know if your batteries might broadcast their statuses via BLE advertising data?
• Or which service/characteristic has which information available for reading or as a notify option?
• Might they actually require paring with a PIN?
• And could the BLE advertising data and/or the read/nofitication data possibly be encrypted?
Which Bluetooth enabled batteries are they?
You best bet is to start with the nRFConnect app on your phone to find out answers to the above questions. I don’t know the bluetooth binding very well, so I don;t know if it’ll be easily usable to retrieve any of the above possibilities, but there are other Bluetooth options to achieve this without much hassle.
I’m also receiving a poser station soon, so I will be looking into similar features.
Hey @Hans_Lree thanks for the reply.
They are Eco-Worthy batteries, and i also have a generic battery i built that will pick up in just about any bluetooth phone app. there is no pin paring process. Just a connect and it reads the data. I believe they are constantly broadcasting. The bluetooth binding does see the mac addresses. I just dont know how to trigger any communication.
A quick search turned up that the Eco-Worthy batteries seem to have a notify option on service/char ff00/ff02 with notifications of their voltage, current, state of charge, temperature, etc
If this will be accessible with the Bluetooth binding someone else will have to answer.
If you download the nRF Connect app you should see if the batteries also broadcast any BLE advertising data, which would show under the Advertising section.
This GitHub repo is quite informative with your brand of batteries
also noting that the BMS they use has a publicly available Bluetooth encoding protocol, at
Possibly this can be read by the Bluetooth binding, but should be with our OpenMQTGateway on an ESP32. If any or all of this data is also being broadcast in BLE adverting data, that would be most convenient as I’d be able to create a decoder which would allow for auto-discovery.
Whichever might be possible and easiest, it surely looks like it s possible, with more or less hassle, to integrate your batteries into openHAB