This commit is contained in:
Dmitry Borisenko
2020-03-01 20:41:16 +03:00
parent ec187af09d
commit a6117db46e
43 changed files with 1059 additions and 305 deletions

View File

@@ -77,7 +77,7 @@ void level() {
level = map(distance_cm,
jsonReadtoInt(optionJson, "empty_level"),
jsonReadtoInt(optionJson, "full_level"), 0, 100);
//jsonWrite(configJson, "level", level);
jsonWrite(configJson, "level", level);
//if (level_old != level) {
eventGen ("level", "");
sendSTATUS("level", String(level));