mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-23 19:27:13 +02:00
Mono-Display: show values in offline mode #498
improved wifi class #483 added communication enable / disable (to test mutliple DTUs with the same inverter) fix factory reset #495
This commit is contained in:
parent
faf918c018
commit
c8c8b99957
12 changed files with 126 additions and 95 deletions
|
@ -406,6 +406,8 @@ class Web {
|
|||
Inverter<> *iv;
|
||||
for(uint8_t i = 0; i < MAX_NUM_INVERTERS; i ++) {
|
||||
iv = mSys->getInverterByPos(i, false);
|
||||
// enable communication
|
||||
iv->config->enabled = (request->arg("inv" + String(i) + "Enable") == "on");
|
||||
// address
|
||||
request->arg("inv" + String(i) + "Addr").toCharArray(buf, 20);
|
||||
if(strlen(buf) == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue