mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 17:59:27 +02:00
Add manual override charge(discharge limits
This commit is contained in:
parent
91bbb25270
commit
a9185be603
14 changed files with 66 additions and 34 deletions
|
@ -467,6 +467,12 @@ void init_webserver() {
|
|||
} else if (p->name() == "WIFICHANNEL") {
|
||||
auto type = atoi(p->value().c_str());
|
||||
settings.saveUInt("WIFICHANNEL", type);
|
||||
} else if (p->name() == "DCHGPOWER") {
|
||||
auto type = atoi(p->value().c_str());
|
||||
settings.saveUInt("DCHGPOWER", type);
|
||||
} else if (p->name() == "CHGPOWER") {
|
||||
auto type = atoi(p->value().c_str());
|
||||
settings.saveUInt("CHGPOWER", type);
|
||||
} else if (p->name() == "LOCALIP1") {
|
||||
auto type = atoi(p->value().c_str());
|
||||
settings.saveUInt("LOCALIP1", type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue