mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-25 23:06:11 +02:00
prevent send devcontrol request during disabled night communication
changed yield total correction as module (inverter input) value #570 MQTT Yield Day zero, next try to fix #671
This commit is contained in:
parent
a843ab6881
commit
ca25f16548
13 changed files with 37 additions and 32 deletions
|
@ -287,11 +287,11 @@ class RestApi {
|
|||
obj2[F("serial")] = String(iv->config->serial.u64, HEX);
|
||||
obj2[F("channels")] = iv->channels;
|
||||
obj2[F("version")] = String(iv->getFwVersion());
|
||||
obj2[F("yieldCor")] = iv->config->yieldCor;
|
||||
|
||||
for(uint8_t j = 0; j < iv->channels; j ++) {
|
||||
obj2[F("ch_yield_cor")][j] = iv->config->yieldCor[j];
|
||||
obj2[F("ch_max_power")][j] = iv->config->chMaxPwr[j];
|
||||
obj2[F("ch_name")][j] = iv->config->chName[j];
|
||||
obj2[F("ch_name")][j] = iv->config->chName[j];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue