From dbaecc77d74f85fc3e917e99c89cc3c1f7091605 Mon Sep 17 00:00:00 2001 From: cheetah Date: Sat, 29 Jul 2023 19:04:25 +0200 Subject: [PATCH] added "ignore EOW" feature --- html/index.html | 2 ++ index.js | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/html/index.html b/html/index.html index fd3eb6f..4ba8b5c 100644 --- a/html/index.html +++ b/html/index.html @@ -42,6 +42,7 @@ + -1, region.ignoreEOW) if (!!stateMachine[ region.dwdID ]) { if (stateMachine [ region.dwdID ] != msg) { + if (msg.indexOf('Es sind keine Warnungen') > -1) { + if (!!region.ignoreEOW) continue + } await sendPage( region.preset, msg ) stateMachine [ region.dwdID ] = msg }