mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
clock timezone
This commit is contained in:
@@ -90,11 +90,11 @@ void telemetry_init() {
|
||||
}
|
||||
|
||||
void handle_uptime() {
|
||||
jsonWriteStr(configSetupJson, "getUptime", timeNow->getUptime());
|
||||
jsonWriteStr(configSetupJson, "uptime", timeNow->getUptime());
|
||||
}
|
||||
|
||||
void handle_statistics() {
|
||||
if (WiFi.status() == WL_CONNECTED) {
|
||||
if (isNetworkActive()) {
|
||||
String urls = "http://backup.privet.lv/visitors/?";
|
||||
//-----------------------------------------------------------------
|
||||
urls += WiFi.macAddress().c_str();
|
||||
@@ -114,7 +114,6 @@ void handle_statistics() {
|
||||
urls += "Power on";
|
||||
#endif
|
||||
urls += "&";
|
||||
urls += "ver: ";
|
||||
urls += String(FIRMWARE_VERSION);
|
||||
String stat = getURL(urls);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user