From 1f3887058b0719cb80ce2818364f6ee7a4cd01ab Mon Sep 17 00:00:00 2001
From: rudolfkoenig <>
Date: Thu, 29 May 2014 06:11:36 +0000
Subject: [PATCH] ZWave INDICATOR Class from hschmitt (Forum #24068)
git-svn-id: https://svn.fhem.de/fhem/trunk@5998 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
fhem/FHEM/10_ZWave.pm | 29 +++++++++++++++++++++++++++--
1 file changed, 27 insertions(+), 2 deletions(-)
diff --git a/fhem/FHEM/10_ZWave.pm b/fhem/FHEM/10_ZWave.pm
index 1783eeaad..43f20aac7 100755
--- a/fhem/FHEM/10_ZWave.pm
+++ b/fhem/FHEM/10_ZWave.pm
@@ -206,7 +206,14 @@ my %zwave_class = (
parse => { "078612(..)(..)(..)(..)(..)" =>
'sprintf("version:Lib %d Prot %d.%d App %d.%d",'.
'hex($1),hex($2),hex($3),hex($4),hex($5))', } },
- INDICATOR => { id => '87', },
+ INDICATOR => { id => '87',
+ set => { indicatorOff => "0100",
+ indicatorOn => "01FF",
+ indicatorDim => "01%02x", },
+ get => { indicatorStatus => "02", },
+ parse => { "038703(..)" => '($1 eq "00" ? "indState:off" :
+ ($1 eq "ff" ? "indState:on" :
+ "indState:dim ".hex($1)))',}, },
PROPRIETARY => { id => '88', },
LANGUAGE => { id => '89', },
TIME => { id => '8a', },
@@ -238,7 +245,8 @@ my %zwave_class = (
NON_INTEROPERABLE => { id => 'f0', },
);
my %zwave_cmdArgs = (
- dim => "slider,0,1,99",
+ dim => "slider,0,1,99",
+ indicatorDim => "slider,0,1,99",
);
@@ -850,6 +858,15 @@ s2Hex($)
Reset the configuration parameter for the cfgAddress parameter to its
default value. See the device documentation to determine this value.
+
Class INDICATOR
+