From 3e2356cdfa9dac89f0c50bebb9944dc0cde755fe Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Sun, 1 Nov 2015 11:45:03 +0000 Subject: [PATCH] 10_ZWave.pm: change assocGroup report to decimal (Forum #41624) git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@9745 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/10_ZWave.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/FHEM/10_ZWave.pm b/fhem/FHEM/10_ZWave.pm index 9f1bbee5c..7c5b4c7af 100755 --- a/fhem/FHEM/10_ZWave.pm +++ b/fhem/FHEM/10_ZWave.pm @@ -325,7 +325,8 @@ my %zwave_class = ( associationRequestAll => 'ZWave_associationRequest($hash,"")' }, get => { association => "02%02x", associationGroups => "05" }, - parse => { "..8503(..)(..)..(.*)" => '"assocGroup_$1:Max $2 Nodes $3"', + parse => { "..8503(..)(..)..(.*)" => + 'sprintf("assocGroup_%d:Max %d Nodes %d", hex($1), hex($2), hex($3))', "..8506(..)" => '"assocGroups:".hex($1)' }, init => { ORDER=>10, CMD=> '"set $NAME associationAdd 1 $CTRLID"' } }, VERSION => { id => '86',