diff --git a/ESP8266FS-0.5.0.zip b/ESP8266FS-0.5.0.zip new file mode 100644 index 00000000..9a425f8f Binary files /dev/null and b/ESP8266FS-0.5.0.zip differ diff --git a/ESP8266FS.rar b/ESP8266FS.rar deleted file mode 100644 index fbc48f6e..00000000 Binary files a/ESP8266FS.rar and /dev/null differ diff --git a/Time.ino b/Time.ino index bbef4623..732b8959 100644 --- a/Time.ino +++ b/Time.ino @@ -40,6 +40,9 @@ void reconfigTime() { Serial.print(" "); Serial.println(GetTime()); + time_t now = time(nullptr); + Serial.println(now); + } else { Serial.println("[E] Get time impossible, no wifi connection"); } diff --git a/date_excess/config-my.json b/data/config-all.json similarity index 57% rename from date_excess/config-my.json rename to data/config-all.json index e16986fa..6d81dee4 100644 --- a/date_excess/config-my.json +++ b/data/config-all.json @@ -3,14 +3,14 @@ "chipID": "", "ssidAP": "WiFi", "passwordAP": "", - "ssid": "rise", - "password": "hostel3333", + "ssid": "your_ssid", + "password": "your_password", "timezone": 3, - "mqttServer": "m12.cloudmqtt.com", - "mqttPort": 14053, + "mqttServer": "", + "mqttPort": 0, "mqttPrefix": "/IoTmanager", - "mqttUser": "lbscvzuj", - "mqttPass": "bLxlveOgaF8F", + "mqttUser": "", + "mqttPass": "", "scenario": "1", "pushingbox_id": "", "web_login": "admin", diff --git a/data/config.json b/data/config.json index 6d81dee4..e16986fa 100644 --- a/data/config.json +++ b/data/config.json @@ -3,14 +3,14 @@ "chipID": "", "ssidAP": "WiFi", "passwordAP": "", - "ssid": "your_ssid", - "password": "your_password", + "ssid": "rise", + "password": "hostel3333", "timezone": 3, - "mqttServer": "", - "mqttPort": 0, + "mqttServer": "m12.cloudmqtt.com", + "mqttPort": 14053, "mqttPrefix": "/IoTmanager", - "mqttUser": "", - "mqttPass": "", + "mqttUser": "lbscvzuj", + "mqttPass": "bLxlveOgaF8F", "scenario": "1", "pushingbox_id": "", "web_login": "admin", diff --git a/set.h b/set.h index ce02251e..f5670fd3 100644 --- a/set.h +++ b/set.h @@ -1,5 +1,6 @@ String firmware_version = "2.3.1"; -boolean flash_1mb = true; +boolean flash_1mb = false; +//----------------------------------------------------------------- String last_version; boolean start_check_version = false;