diff --git a/data_svelte/config.json b/data_svelte/config.json index 6445d301..e7ebbed3 100644 --- a/data_svelte/config.json +++ b/data_svelte/config.json @@ -3,8 +3,8 @@ "chipID": "", "apssid": "IoTmanager", "appass": "", - "routerssid": "rise2", - "routerpass": "hostel3333", + "routerssid": "dlink", + "routerpass": "", "timezone": 1, "ntp": "pool.ntp.org", "mqttServer": "91.204.228.124", @@ -17,21 +17,21 @@ "mqttPrefix2": "/iotTest3", "mqttUser2": "rise", "mqttPass2": "hostel3333", - "scen": "1", + "scen": 1, "telegramApi": "1416711569:AAEI0j83GmXqwzb_gnK1B0Am0gDwZoJt5xo", - "telegonof": "0", - "teleginput": "0", - "autos": "1", + "telegonof": 0, + "teleginput": 0, + "autos": 1, "weblogin": "admin", "webpass": "admin", - "MqttIn": "0", - "MqttOut": "0", - "blink": "0", - "oneWirePin": "2", + "MqttIn": 0, + "MqttOut": 0, + "blink": 0, + "oneWirePin": 2, "serverip": "http://206.189.49.244", - "uart": "0", - "uartS": "9600", - "uartTX": "12", - "uartRX": "13", - "grafmax": "0" + "uart": 0, + "uartS": 9600, + "uartTX": 12, + "uartRX": 13, + "grafmax": 0 } \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index d00aa0fc..d180fc11 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -89,13 +89,13 @@ void setup() { ts.add( MYTEST, 10000, [&](void*) { - Serial.println(configSetupJson.length()); - Serial.println(F("--------------------------------------")); + //Serial.println(configSetupJson.length()); + //Serial.println(F("--------------------------------------")); //Serial.println(jsonReadStr(configSetupJson, "apssidx")); //Serial.println(jsonReadBool(configSetupJson, "telegonof")); //Serial.println(jsonReadInt(configSetupJson, "mqttPort")); //Serial.println(jsonReadInt(configSetupJson, "uartTX")); - Serial.println(F("--------------------------------------")); + //Serial.println(F("--------------------------------------")); }, nullptr, true);