From 4b10fffc88698c11b3993ea1608ca5edfc32b41c Mon Sep 17 00:00:00 2001 From: Dmitry Borisenko <67171972+IoTManagerProject@users.noreply.github.com> Date: Tue, 22 Nov 2022 15:07:41 +0100 Subject: [PATCH] 123 --- public/index.html | 2 +- src/App.svelte | 17 +++++----- src/pages/Connection.svelte | 24 +++++++------- src/pages/Dashboard.svelte | 17 ++++++++-- src/pages/System.svelte | 64 ++++++++++++++++++++++++------------- 5 files changed, 78 insertions(+), 46 deletions(-) diff --git a/public/index.html b/public/index.html index 9f21ca7..f58d837 100644 --- a/public/index.html +++ b/public/index.html @@ -4,7 +4,7 @@ - IoT Manager 4.4.1 + IoT Manager 4.4.2 diff --git a/src/App.svelte b/src/App.svelte index be1312a..66343cb 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -33,14 +33,14 @@ //******************************************************************************************************************************/ const debug = true; const LOG_MAX_MESSAGES = 100; - const reconnectTimeout = 20000; + const reconnectTimeout = 30000; const waitingAckTimeout = 5000; - const rebootingTimeout = 18000; - const updatingTimeout = 120000; + const rebootingTimeout = 20000; + const updatingTimeout = 130000; let opened = false; let preventMove = false; const blobDebug = false; - const devMode = true; + const devMode = false; //****************************************************variable section**********************************************************/ //******************************************************************************************************************************/ @@ -1156,6 +1156,7 @@ function rebootEsp() { if (debug) console.log("[i]", "reboot..."); wsSendMsg(selectedWs, "/reboot|"); + markDeviceStatus(selectedWs, false); rebootingUpdatingInProgress = true; myTimeout = setTimeout(rebootingTask, rebootingTimeout); } @@ -1306,7 +1307,7 @@