Battery Cells Card - Cell-Monitoring for LiFePo4
Version: 0.5.0
Description: A Home Assistant custom card to visualize battery cells, cell voltages, SOC, balancing status, and differences.
Ideal for LiFePO₄ battery systems.
Note:
The bar heights indicate cell voltage, not state of charge.
The percentage SOC can be read in the legend if an SOC sensor is assigned.
What does this card do?
Depending on configuration, this custom card shows:
- Individual cell voltages
- Cell voltage difference (Δ mV)
- Charge / discharge power (W)
- Charge/discharge icons
- Balancing status
- SOC value and SOC icon
- Color-coded voltage legend
- Responsive scaling
- Optional row wrapping for small displays (chunking)
Compatible with all BMS that provide individual cell sensors, e.g.:
- Daly
- JK-BMS
- smartBMS smartlabs dongle
- All sensors reporting individual cell voltages
Features
Cell Visualization
- Color scale: Red → Orange → Yellow → Green
Battery Status
- SOC text & icon
- Plus/minus symbol depending on charge/discharge
Balancing
- Sync icon when balancing is active
- Δ voltage display between cells
Flexible Layout
- Auto-scaling
- Optional row wrapping (chunking)
- Responsive for mobile and desktop
Display Options
- Legend toggle
- SOC value & icon toggle separately
- 3D frame toggle
- Adjustable font size
Sensor Support
- SOC sensor
- Power (W) sensor
- Cell difference sensor
- Lowest & highest cell sensor
- Individual cells {name, entity}
Manual Installation
- Download battery-cells-card.js
- Copy it to
/config/www/ - In Home Assistant:
- Settings
- Dashboards
- Three-dot menu
- Resources
- Add Resource
- URL: /local/battery-cells-card.js
Type: JavaScript Module
- Reload browser (CTRL + F5)
The card is now selectable and visible in the GUI.
Screenshot:
