From cb0c51e5a32dfae29f5bc92ef077326c95b3efca Mon Sep 17 00:00:00 2001 From: henne Date: Wed, 1 Apr 2020 16:55:04 +0200 Subject: [PATCH] =?UTF-8?q?Space=20nun=20dauerhaft=20zu=20(aufgrund=20von?= =?UTF-8?q?=20corona...)=20aber=20wir=20k=C3=B6nnen=20buzzern=20und=20musi?= =?UTF-8?q?k=20h=C3=B6ren=20beim=20Maskenherstellen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- node/statusbot.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/node/statusbot.js b/node/statusbot.js index 46df67b..3c43430 100644 --- a/node/statusbot.js +++ b/node/statusbot.js @@ -97,9 +97,11 @@ ctdoapi.on('done', function (answer) { }); ippoll.on('doneState', function (state) { - spaceanswer.state.open = state; + //spaceanswer.state.open = state; + spaceanswer.state.open = false; spaceanswer.state.lastchange = Math.floor(new Date().getTime() / 1000); - simpleanswer.state = state; + //simpleanswer.state = state; + simpleanswer.state = false; simpleanswer.lastchange = spaceanswer.state.lastchange; simpleanswer.lastchange = new Date().getTime(); io.sockets.emit('sdata', {data: simpleanswer});