clock timezone

This commit is contained in:
Yuri Trikoz
2020-06-27 02:37:30 +03:00
parent 00fd9f9bb9
commit 39a3cb04ed
3 changed files with 30 additions and 30 deletions

View File

@@ -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);
}