Tune BMS reconnect timing
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user