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
56 stars 10 forks source link

Separate Calculation for Charging/Discharging Capacity for Home Assistant Battery Management #100

Open DAVEfromCZE opened 4 days ago

DAVEfromCZE commented 4 days ago

Checklist

Please describe the enhancement you would like to have.

Hello 
First, thank you for your work on this project—it's been incredibly helpful in integrating my Seplos BMS with Home Assistant.

I would like to suggest a feature enhancement that I believe could benefit many users:
Could you add support for calculating separate capacities for charging and discharging energy in Home Assistant's battery management?

Currently, my Seplos BMS provides only the remaining capacity, which makes it challenging to track charging and discharging energy separately. Having this feature would allow better monitoring and management of energy flow in Home Assistant.

Thank you for considering this request, and please let me know if you need any additional details or testing support.

Additional context

No response

patman15 commented 3 days ago

Hi! Thanks for the feedback and this request. The topic of energy management was also on my list to be improved. The remaining capacity sensor is not the right one to be used for energy management anyway, the easiest to be used would be "total energy in/out". Unfortunately, this is not provided by most of the BMS. Would a separate "power in" and "power out" sensor fulfill your need? In that case you would still need to add a template integration sensor before you can add it to the energy management. Still, one/two steps less. Let me know your thoughts/expectations.