From afc6da90200e241ac0c92e1a54915bf6cdbdb925 Mon Sep 17 00:00:00 2001 From: Ellert <> Date: Tue, 14 Mar 2017 17:42:55 +0000 Subject: [PATCH] 98_DOIFtools.pm: Improved DOIF-Operand derivation from an event line if the event monitor is opend in DOIFs detail view. Improved dialog to insert the selected operand in a definition. see https://wiki.fhem.de/wiki/DOIFtools#DOIF-Operanden_aus_einer_Eventzeile_erzeugen git-svn-id: https://svn.fhem.de/fhem/trunk@13702 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 3 + fhem/FHEM/98_DOIFtools.pm | 134 ++++++++++++++++++++++++++++---------- 2 files changed, 104 insertions(+), 33 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 06d8f5ae4..f7cb60cef 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,8 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - update: 98_DOIFtools: Improved DOIF-Operand derivation from an event line + if the event monitor is opend in DOIFs detail view. + Improved dialog to insert the selected operand in a definition - new: 31_PLAYBULB: Integrates different smart lights from MIPOW and displays several settings - bugfix: 00_SONOS: Errorhandling for RadioName etc. diff --git a/fhem/FHEM/98_DOIFtools.pm b/fhem/FHEM/98_DOIFtools.pm index 1992b18e5..5763cdcd1 100644 --- a/fhem/FHEM/98_DOIFtools.pm +++ b/fhem/FHEM/98_DOIFtools.pm @@ -48,42 +48,106 @@ my @DOIFtools_we =(); my $DOIFtoolsJSfuncEM = <<'EOF'; "; # $ret .= ""; my $filter = $a ? ($a eq "log" ? "global" : $a) : ".*"; @@ -409,7 +475,7 @@ sub DOIFtools_fhemwebFn($$$$) { ($a && $a eq "log" ? " checked":"").">". " \n"; $ret .= "