mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 10:19:29 +02:00
Add feature to changing SOC method in UI on BYD Atto3
This commit is contained in:
parent
c450de308f
commit
c6363f9467
5 changed files with 44 additions and 13 deletions
|
@ -56,6 +56,12 @@ std::vector<BatteryCommand> battery_commands = {
|
|||
[](Battery* b) {
|
||||
b->reset_SOH();
|
||||
}},
|
||||
{"changeSOC", "Change SOC method",
|
||||
"change SOC method? This will toggle between ESTIMATED and MEASURED SOC methods.",
|
||||
[](Battery* b) { return b && b->supports_change_SOC_method(); },
|
||||
[](Battery* b) {
|
||||
b->change_SOC_method();
|
||||
}},
|
||||
};
|
||||
|
||||
String advanced_battery_processor(const String& var) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue