From 161b032aa3dd22fe06d4567855dbf1691939f63f Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Sat, 19 Sep 2015 12:03:12 +0000 Subject: [PATCH] 10_ZWave.pm: add ASSOCIATION_GRP_INFO (Forum #38064) git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@9275 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/10_ZWave.pm | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/fhem/FHEM/10_ZWave.pm b/fhem/FHEM/10_ZWave.pm index 6ecc24415..8865c401b 100755 --- a/fhem/FHEM/10_ZWave.pm +++ b/fhem/FHEM/10_ZWave.pm @@ -202,7 +202,11 @@ my %zwave_class = ( CRC_16_ENCAP => { id => '56' }, # Parse is handled in the code APPLICATION_CAPABILITY => { id => '57' }, ZIP_ND => { id => '58' }, - ASSOCIATION_GRP_INFO => { id => '59' }, + ASSOCIATION_GRP_INFO => { id => '59', + get => { associationGroupName => "01%02x", + associationGroupCmdList => "0500%02x" }, + parse => { "..5902(..)(.*)"=> '"assocGroupName_$1:".pack("H*", $2)', + "..5906(..)..(.*)"=> '"assocGroupCmdList_$1:".$2' } }, DEVICE_RESET_LOCALLY => { id => '5a', parse => { "025a01" => "deviceResetLocally:yes" } }, CENTRAL_SCENE => { id => '5b', @@ -3149,6 +3153,15 @@ s2Hex($) return the number of association groups
+

Class ASSOCIATION_GRP_INFO +
  • associationGroupName groupId
    + return the name of association groups +
  • +
  • associationGroupCmdList groupId
    + return Command Classes and Commands that will be sent to associated + devices in this group
    +
  • +
    Class BASIC
  • basicStatus
    return the status of the node as basicReport:XY. The value (XY) depends on @@ -3418,6 +3431,10 @@ s2Hex($)
  • assocGroup_X:Max Y Nodes A,B,...
  • assocGroups:X
  • +

    Class ASSOCIATION_GRP_INFO +
  • assocGroupName_X:name
  • +
  • assocGroupCmdList_X:AABBCCDD...
  • +

    Class BASIC
  • basicReport:XY
  • state:basicGet