From 9d365d79e97c799dfa82185d54f224008a6d499c Mon Sep 17 00:00:00 2001 From: arteck <6681528+arteck@users.noreply.github.com> Date: Wed, 25 Oct 2023 19:16:22 +0200 Subject: [PATCH] Update main.js --- main.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.js b/main.js index 473d9dd..9b9eff1 100644 --- a/main.js +++ b/main.js @@ -287,8 +287,7 @@ class judoisoftControll extends utils.Adapter { setTimeout(function() { _tokenData = this.getTokenFirst(); if (_tokenData != null) { - let conResult = axios.get(baseUrl + "?token=" + _tokenData + "&group=register&command=get%20device%20data", {httpsAgent: agent}); - clearInterval(_requestInterval); + let conResult = axios.get(baseUrl + "?token=" + _tokenData + "&group=register&command=get%20device%20data", {httpsAgent: agent}); this.getInfosCloud(); } }, 1000 * 60 * 5); // warte 5 min