From 4d344e1c62dd787d8fb4036c4866595eca8252e4 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Thu, 7 May 2015 13:03:28 +0000 Subject: [PATCH] 10_ZWave.pm: add basicSet to the parse section (Forum #36980) git-svn-id: https://svn.fhem.de/fhem/trunk@8539 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/10_ZWave.pm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/fhem/FHEM/10_ZWave.pm b/fhem/FHEM/10_ZWave.pm index 78f5fa3d0..5ef084867 100755 --- a/fhem/FHEM/10_ZWave.pm +++ b/fhem/FHEM/10_ZWave.pm @@ -23,8 +23,9 @@ my %zwave_class = ( BASIC => { id => '20', set => { basicValue => "01%02x", }, get => { basicStatus => "02", }, - parse => { "..2003(.*)"=> '"basicReport:$1"', - "..2002" => "state:basicGet" }}, # sent by the remote + parse => { "..2001(.*)"=> '"state:basicSet $1"', # Forum #36980 + "..2002" => "state:basicGet", # sent by the remote + "..2003(.*)"=> '"basicReport:$1"' }}, CONTROLLER_REPLICATION => { id => '21', }, APPLICATION_STATUS => { id => '22', }, ZIP_SERVICES => { id => '23', }, @@ -185,7 +186,7 @@ my %zwave_class = ( NETWORK_SCHEDULE => { id => '53', }, NETWORK_MANAGEMENT_PRIMARY=>{ id => '54', }, TRANSPORT_SERVICE => { id => '55', }, - CRC_16_ENCAP => { id => '56', }, + CRC_16_ENCAP => { id => '56', }, # Parse is handled in the code APPLICATION_CAPABILITY => { id => '57', }, ZIP_ND => { id => '58', }, ASSOCIATION_GRP_INFO => { id => '59', }, @@ -2003,7 +2004,8 @@ s2Hex($)
Class BASIC
  • basicReport:XY
  • -
  • state:basicGet:XY
  • +
  • state:basicGet
  • +
  • state:basicSet XY


  • Class BATTERY
  • battery:chargelevel %