2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-25 22:09:21 +00:00

ZWave INDICATOR Class from hschmitt (Forum #24068)

git-svn-id: https://svn.fhem.de/fhem/trunk@5998 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-05-29 06:11:36 +00:00
parent 74a60c2d54
commit 1f3887058b

View File

@ -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.</li>
<br><br><b>Class INDICATOR</b>
<li>indicatorOn<br>
switch the indicator on</li>
<li>indicatorOff<br>
switch the indicator off</li>
<li>indicatorDim value<br>
takes values from 1 to 99.
If the indicator does not support dimming. It is interpreted as on.</li>
<br><br><b>Class PROTECTION</b>
<li>protectionOff<br>
device is unprotected</li>
@ -941,6 +958,11 @@ s2Hex($)
report the supported status fields as a bitfield.
</li>
<br><br><b>Class INDICATOR</b>
<li>indicatorStatus<br>
return the indicator status of the node, as indState:on, indState:off or indState:dim value.
</li>
<br><br><b>Class MULTI_CHANNEL</b>
<li>mcEndpoints<br>
return the list of endpoints available, e.g.:<br>
@ -1065,6 +1087,9 @@ s2Hex($)
<li>remainingFilterLife: %s %</li>
<li>supportedStatus: <list of supported stati></li>
<br><br><b>Class INDICATOR</b>
<li>indState:[on|off|dim value]</li>
<br><br><b>Class METER</b>
<li>energy:val [kWh|kVAh|pulseCount]</li>
<li>gas:val [m3|feet3|pulseCount]</li>