Tune BMS reconnect timing

This commit is contained in:
2026-06-04 19:49:26 -06:00
parent abb197b36d
commit 330dd7cce6
2 changed files with 11 additions and 2 deletions
@@ -468,9 +468,13 @@ void buildStatusDocument(JsonDocument& doc) {
} else {
if (appConfig.bms.enabled && appConfig.bms.address.length() > 0) {
battery["source"] = "jbd_bms";
} else {
if (appConfig.bms.enabled && appConfig.bms.address.length() > 0) {
battery["source"] = "jbd_bms";
} else {
battery["source"] = "unconfigured";
}
}
battery["connected"] = false;
battery["soc"] = 0;
battery["voltage"] = 0;