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
50 stars 9 forks source link

Voltage for each cell. #63

Open herijaya opened 1 month ago

herijaya commented 1 month ago

Checklist

Is your feature request related to a problem? Please describe.

No.

Describe the solution you'd like

I can't read the battery cell voltage, right? It seems even better to read the battery voltage for each cell. Thank you my brother

Additional context

No response

herijaya commented 1 month ago

my device : BMS Protection Home Energy Storage Smart Bms 16S 100A with 1A Active Balance

patman15 commented 1 month ago

I can't read the battery cell voltage, right?

You can, please see the README:

Individual cell voltage are available as attribute to the delta voltage sensor. If you want to have them as individual sensors, please check the FAQ.

danbi commented 4 weeks ago

The debug log shows Daly returns voltages with three fractional digits, the interface displays only two. Maybe the full resolution should be processed.

2024-10-28 21:28:06.211 DEBUG (MainThread) [custom_components.bms_ble] BMS data sample {'temp#0': -40.0, 'voltage': 52.4, 'current': -6.1, 'battery_level': 63.6 , 'cycle_charge': 197.1, 'cell_count': 16, 'temp_sensors': 1, 'cycles': 329, 'de lta_voltage': 0.004, 'temp#1': 24.0, 'cell#0': 3.278, 'cell#1': 3.279, 'cell#2': 3.28, 'cell#3': 3.279, 'cell#4': 3.28, 'cell#5': 3.279, 'cell#6': 3.28, 'cell#7 ': 3.279, 'cell#8': 3.281, 'cell#9': 3.28, 'cell#10': 3.28, 'cell#11': 3.279, 'c ell#12': 3.28, 'cell#13': 3.28, 'cell#14': 3.28, 'cell#15': 3.279, 'cycle_capaci ty': 10328.04, 'power': -319.64, 'battery_charging': False, 'runtime': 116321, ' temperature': -8.0}

patman15 commented 4 weeks ago

Full resolution is available, but HA for some reason does not show it. If you have a look at the developer tools it's there: Bildschirmfoto vom 2024-10-29 09-14-48 You can also create individual sensors, see the FAQ on how to do that.