From 8ef7d80a2c637ee854c8bd7a5b713b3b949c0ca8 Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Mon, 27 Oct 2014 21:44:59 +0000 Subject: [PATCH] ZWave: wakeupIntervalCapabilities by krikan (Forum #28356) git-svn-id: https://svn.fhem.de/fhem/trunk@6824 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/10_ZWave.pm | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/10_ZWave.pm b/fhem/FHEM/10_ZWave.pm index 4ae52d646..0e8b2eb2c 100755 --- a/fhem/FHEM/10_ZWave.pm +++ b/fhem/FHEM/10_ZWave.pm @@ -220,10 +220,15 @@ my %zwave_class = ( WAKE_UP => { id => '84', set => { wakeupInterval => "04%06x%02x", wakeupNoMoreInformation => "08", }, - get => { wakeupInterval => "05" }, + get => { wakeupInterval => "05", + wakeupIntervalCapabilities => "09", }, parse => { "028407" => 'wakeup:notification', "..8406(......)(..)" => - '"wakeupReport:interval ".hex($1)." target ".hex($2)',}, }, + '"wakeupReport:interval ".hex($1)." target ".hex($2)', + "..840a(......)(......)(......)(......)" => + '"wakeupIntervalCapabilitiesReport:min ".hex($1).'. + '" max ".hex($2)." default ".hex($3)." step ".hex($4)' + }, }, ASSOCIATION => { id => '85', set => { associationAdd => "01%02x%02x*", associationDel => "04%02x%02x*", }, @@ -1472,6 +1477,11 @@ s2Hex($) return the wakeup interval in seconds, in the form
wakeupReport:interval seconds target id +
  • wakeupIntervalCapabilities (only versionClass 2)
    + return the wake up interval capabilities in seconds, in the form
    + wakeupIntervalCapabilitiesReport:min seconds max seconds default seconds + step seconds +


  • Class BASIC_WINDOW_COVERING @@ -1640,6 +1650,7 @@ s2Hex($)

    Class WAKE_UP
  • wakeup:notification
  • wakeupReport:interval:X target:Y
  • +
  • wakeupIntervalCapabilitiesReport:min W max X default Y step Z