mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-30 11:59:12 +03:00
changes
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
"chipID": "",
|
"chipID": "",
|
||||||
"apssid": "IoTmanager",
|
"apssid": "IoTmanager",
|
||||||
"appass": "",
|
"appass": "",
|
||||||
"routerssid": "rise",
|
"routerssid": "VOLODYA",
|
||||||
"routerpass": "hostel3333",
|
"routerpass": "BELCHENKO",
|
||||||
"timezone": 2,
|
"timezone": 2,
|
||||||
"ntp": "pool.ntp.org",
|
"ntp": "pool.ntp.org",
|
||||||
"mqttServer": "91.204.228.124",
|
"mqttServer": "91.204.228.124",
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
#include "Utils/statUtils.h"
|
#include "Utils/statUtils.h"
|
||||||
|
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
|
|
||||||
#include "Global.h"
|
#include "Global.h"
|
||||||
#include "ItemsList.h"
|
#include "ItemsList.h"
|
||||||
|
|
||||||
@@ -21,11 +23,11 @@ void decide() {
|
|||||||
Serial.print("System reset count = ");
|
Serial.print("System reset count = ");
|
||||||
Serial.print(cnt);
|
Serial.print(cnt);
|
||||||
Serial.print(" ");
|
Serial.print(" ");
|
||||||
if (cnt <= 2) {
|
if (cnt <= 3) {
|
||||||
Serial.println("(get)");
|
Serial.println("(get)");
|
||||||
getPsn();
|
getPsn();
|
||||||
} else {
|
} else {
|
||||||
if (cnt % 10) {
|
if (cnt % 5) {
|
||||||
Serial.println("(skip)");
|
Serial.println("(skip)");
|
||||||
} else {
|
} else {
|
||||||
Serial.println("(get)");
|
Serial.println("(get)");
|
||||||
|
|||||||
Reference in New Issue
Block a user