From e32bdabd8ef7bfeb6f0fa2370bc1ba0e0fb895f2 Mon Sep 17 00:00:00 2001 From: borisneubert <> Date: Mon, 2 Jul 2012 18:42:02 +0000 Subject: [PATCH] Activate EvalSpecials in postproc (patch supplied by Tobias Faust) git-svn-id: https://svn.fhem.de/fhem/trunk@1678 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/67_ECMDDevice.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fhem/FHEM/67_ECMDDevice.pm b/fhem/FHEM/67_ECMDDevice.pm index b153c4fd4..b8c26ae9c 100644 --- a/fhem/FHEM/67_ECMDDevice.pm +++ b/fhem/FHEM/67_ECMDDevice.pm @@ -104,9 +104,11 @@ ECMDDevice_PostProc($$$) #my %specials= ECMDDevice_DeviceParams2Specials($hash); #my $command= EvalSpecials($postproc, %specials); # we pass the command verbatim instead - my $command= $postproc; + # my $command= $postproc; if($postproc) { + my %specials= ECMDDevice_DeviceParams2Specials($hash); + my $command= EvalSpecials($postproc, %specials); $_= $value; Log 5, "Postprocessing $value with perl command $command."; $value= AnalyzePerlCommand(undef, $command);