updates to change other parameters from http

This commit is contained in:
2021-07-19 11:54:37 +02:00
parent ad21d73fbb
commit b2ff66d44c
6 changed files with 59 additions and 19 deletions
+6 -2
View File
@@ -50,9 +50,13 @@ void HTTPServer::start_apps() {
treppe->set_idle_pwm_max(arg(i).toInt(), VORGABE_PROZENT);
}
else if (argName(i).equals("range_tim_sta")) {
treppe->set_time_per_stair(arg(i).toInt());
}
else if (argName(i).equals("range_tim_on")) {
else if (argName(i).equals("range_tim_ldr")) {
treppe->set_time_ldr(arg(i).toInt());
}
else if (argName(i).equals("range_ldr_shw")) {
treppe->set_ldr_schwelle(arg(i).toInt(), VORGABE_PROZENT);
}
}