patman15 / BMS_BLE-HA

This integration allows to monitor Bluetooth Low Energy (BLE) battery management systems (BMS) from within Home Assistant.
GNU Lesser General Public License v2.1
6 stars 2 forks source link

Add Supervolt BMS #27

Closed gerritb closed 2 weeks ago

gerritb commented 2 weeks ago

This PR adds support for Supervolt BMS (v4). Tested on a week long RV trip with two batteries integrated in HA on RPi4.

patman15 commented 2 weeks ago

Thanks a lot for this PR! Since you are in contact with the manufacturer, are they willing to provide some documentation about the protocol? Also I would be interested in how to uniquely identify the batteries via the BT advertisement, e.g. is the name changeable or not, any manufacturer data? I also started adding cell voltage readout, do you have information about them? For long-term maintenance I would also need appropriate tests. Do you volunteer to add some or should I take them? Thanks, Patrick

gerritb commented 2 weeks ago

Sure, here's the link to the spec: https://support.supervolt.de/attachments/token/5JUwU9qRSLVOcqV9dTOZJqAD0/?name=%5BB%5D+bt+protocol.pdf I can reach out and ask about the naming. The BL spec has a part about the model and version. I didn't include that in the PR because I wanted to get it working for the trip now :sweat_smile: Cell Voltage is also in the PDF. You can add the tests and take it from here, let me know if I can support by testing on a real battery for you.