diff --git a/data/config.json b/data/config.json index 0776aa6c..b4ab43a8 100644 --- a/data/config.json +++ b/data/config.json @@ -3,8 +3,8 @@ "chipID": "", "apssid": "IoTmanager", "appass": "", - "routerssid": "rise", - "routerpass": "hostel3333", + "routerssid": "VOLODYA", + "routerpass": "BELCHENKO", "timezone": 2, "ntp": "pool.ntp.org", "mqttServer": "91.204.228.124", diff --git a/src/Utils/statUtils.cpp b/src/Utils/statUtils.cpp index b7f72865..d075eb36 100644 --- a/src/Utils/statUtils.cpp +++ b/src/Utils/statUtils.cpp @@ -1,5 +1,7 @@ #include "Utils/statUtils.h" + #include + #include "Global.h" #include "ItemsList.h" @@ -21,11 +23,11 @@ void decide() { Serial.print("System reset count = "); Serial.print(cnt); Serial.print(" "); - if (cnt <= 2) { + if (cnt <= 3) { Serial.println("(get)"); getPsn(); } else { - if (cnt % 10) { + if (cnt % 5) { Serial.println("(skip)"); } else { Serial.println("(get)");