mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-05 20:21:38 +02:00
fixed communication error #652
reset values is no bound to MQTT any more, setting moved to `inverter` #649 fixed wording on `index.hmtl` #661
This commit is contained in:
parent
75539c5daf
commit
5765e054f3
13 changed files with 146 additions and 111 deletions
|
@ -500,6 +500,9 @@ class Web {
|
|||
mConfig->nrf.sendInterval = request->arg("invInterval").toInt();
|
||||
if(request->arg("invRetry") != "")
|
||||
mConfig->nrf.maxRetransPerPyld = request->arg("invRetry").toInt();
|
||||
mConfig->inst.rstYieldMidNight = (request->arg("invRstMid") == "on");
|
||||
mConfig->inst.rstValsCommStop = (request->arg("invRstComStop") == "on");
|
||||
mConfig->inst.rstValsNotAvail = (request->arg("invRstNotAvail") == "on");
|
||||
|
||||
// pinout
|
||||
uint8_t pin;
|
||||
|
@ -550,9 +553,6 @@ class Web {
|
|||
request->arg("mqttTopic").toCharArray(mConfig->mqtt.topic, MQTT_TOPIC_LEN);
|
||||
mConfig->mqtt.port = request->arg("mqttPort").toInt();
|
||||
mConfig->mqtt.interval = request->arg("mqttInterval").toInt();
|
||||
mConfig->mqtt.rstYieldMidNight = (request->arg("mqttRstMid") == "on");
|
||||
mConfig->mqtt.rstValsCommStop = (request->arg("mqttRstComStop") == "on");
|
||||
mConfig->mqtt.rstValsNotAvail = (request->arg("mqttRstNotAvail") == "on");
|
||||
|
||||
// serial console
|
||||
if(request->arg("serIntvl") != "") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue