This commit is contained in:
Dmitry Borisenko
2020-09-09 16:44:19 +03:00
parent c960e5c5e5
commit 251f7ee83f
2 changed files with 6 additions and 4 deletions

View File

@@ -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",

View File

@@ -1,5 +1,7 @@
#include "Utils/statUtils.h"
#include <Arduino.h>
#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)");