From 91547ada96fd34cc6985ac23d9c2304c136c48df Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Wed, 9 Mar 2016 07:58:21 +0000 Subject: [PATCH] 10_ZWave.pm: add noWakeupForApplicationUpdate (Forum #50090) git-svn-id: https://svn.fhem.de/fhem/trunk@11030 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/10_ZWave.pm | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/fhem/FHEM/10_ZWave.pm b/fhem/FHEM/10_ZWave.pm index 9ee75854c..965eaf283 100755 --- a/fhem/FHEM/10_ZWave.pm +++ b/fhem/FHEM/10_ZWave.pm @@ -545,6 +545,7 @@ ZWave_Initialize($) my @attrList = qw( IODev WNMI_delay + noWakeupForApplicationUpdate:1,0 classes do_not_notify:1,0 dummy:1,0 @@ -3728,10 +3729,12 @@ ZWave_Parse($$@) my $hash = $modules{ZWave}{defptr}{"$homeId $id"}; if($hash) { - #if(ZWave_isWakeUp($hash)) { # Used to Debug Forum #50090 / CAN problems - # ZWave_wakeupTimer($hash, 1); - # ZWave_processSendStack($hash, "next"); - #} + if(!AttrVal($hash->{NAME}, "noWakeupForApplicationUpdate", 0)) { # 50090 + if(ZWave_isWakeUp($hash)) { + ZWave_wakeupTimer($hash, 1); + ZWave_processSendStack($hash, "next"); + } + } if(!$ret) { readingsSingleUpdate($hash, "CMD", $cmd, 1); # forum:20884 @@ -4936,6 +4939,14 @@ s2Hex($)