Looking for some inspiration(help) on battery gauges for a 12V 100AH Lifepo4 battery. I’ve seen examples such as the attached and looking for what values are used for each segment? Is there a “best practice” value?
This is what I use for my 12V battery voltage in ApexCharts:
color_threshold:
- color: "#e45e65" # red
value: 15
- color: "#e0b400" # yellow
value: 14
- color: "#0da035" # green
value: 12
- color: "#039BE5" # blue
value: 11.5
For the SOC of a float battery I’d recommend:
100 → 80 green
79-50 → yellow
49-0 red or blue
For a deep cycle battery:
100 → 50 green
49-20 → yellow
19-0 red or blue
For temperature look up the datasheet of your battery.
1 Like
As for battery level color:
note that an icon color is defined in HA as:
if (value >= 70) {
return "--state-sensor-battery-high-color";
}
if (value >= 30) {
return "--state-sensor-battery-medium-color";
}
return "--state-sensor-battery-low-color";
So it probably makes sense to use same thresholds (although I would choose values like 34, 67).