mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-12 14:07:16 +02:00
Patch no_eeprom_pl
This commit is contained in:
parent
f53933b473
commit
7c7a7d25b8
8 changed files with 25 additions and 92 deletions
|
@ -156,9 +156,6 @@ void webApi::getInverterList(JsonObject obj) {
|
|||
obj2[F("ch_max_power")][j] = iv->chMaxPwr[j];
|
||||
obj2[F("ch_name")][j] = iv->chName[j];
|
||||
}
|
||||
|
||||
obj2[F("power_limit")] = iv->powerLimit[0];
|
||||
obj2[F("power_limit_option")] = iv->powerLimit[1];
|
||||
}
|
||||
}
|
||||
obj[F("interval")] = String(mConfig->sendInterval);
|
||||
|
@ -274,7 +271,6 @@ void webApi::getLive(JsonObject obj) {
|
|||
obj2[F("name")] = String(iv->name);
|
||||
obj2[F("channels")] = iv->channels;
|
||||
obj2[F("power_limit_read")] = round3(iv->actPowerLimit);
|
||||
obj2[F("power_limit_active")] = NoPowerLimit != iv->powerLimit[1];
|
||||
obj2[F("last_alarm")] = String(iv->lastAlarmMsg);
|
||||
obj2[F("ts_last_success")] = rec->ts;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue