Add manual override charge(discharge limits

This commit is contained in:
Daniel Öster 2025-09-04 20:26:17 +03:00
parent 91bbb25270
commit a9185be603
14 changed files with 66 additions and 34 deletions

View file

@ -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);