From ea9a26e06dbb242b9d066efbe5ccabedbab45918 Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Sat, 21 Jun 2014 09:18:53 +0000 Subject: [PATCH] Zwave versionClass by hschmitt (Forum #24725) git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6148 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/10_ZWave.pm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/fhem/FHEM/10_ZWave.pm b/fhem/FHEM/10_ZWave.pm index bbb6c59b4..853c1ff1b 100755 --- a/fhem/FHEM/10_ZWave.pm +++ b/fhem/FHEM/10_ZWave.pm @@ -218,10 +218,12 @@ my %zwave_class = ( get => { association => "02%02x", }, parse => { "..8503(..)(..)..(.*)" => '"assocGroup_$1:Max $2 Nodes $3"',}, }, VERSION => { id => '86', - get => { version => "11", }, + get => { version => "11", + versionClass => "13%02x", }, parse => { "078612(..)(..)(..)(..)(..)" => 'sprintf("version:Lib %d Prot %d.%d App %d.%d",'. - 'hex($1),hex($2),hex($3),hex($4),hex($5))', } }, + 'hex($1),hex($2),hex($3),hex($4),hex($5))', + "048614(..)(..)" => '"versionClass_$1:$2"', }, }, INDICATOR => { id => '87', set => { indicatorOff => "0100", indicatorOn => "01FF", @@ -1076,6 +1078,9 @@ s2Hex($) return the version information of this node in the form:
Lib A Prot x.y App a.b +
  • versionClass classId
    + return the supported command version for the requested class +


  • Class WAKE_UP
  • wakeupInterval
    @@ -1214,6 +1219,7 @@ s2Hex($)

    Class VERSION
  • version:Lib A Prot x.y App a.b
  • +
  • versionClass_$classId:$version


  • Class WAKE_UP
  • wakeup:notification