mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-28 11:01:59 +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:
parent
74a60c2d54
commit
1f3887058b
@ -206,7 +206,14 @@ my %zwave_class = (
|
|||||||
parse => { "078612(..)(..)(..)(..)(..)" =>
|
parse => { "078612(..)(..)(..)(..)(..)" =>
|
||||||
'sprintf("version:Lib %d Prot %d.%d App %d.%d",'.
|
'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))', } },
|
||||||
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', },
|
PROPRIETARY => { id => '88', },
|
||||||
LANGUAGE => { id => '89', },
|
LANGUAGE => { id => '89', },
|
||||||
TIME => { id => '8a', },
|
TIME => { id => '8a', },
|
||||||
@ -239,6 +246,7 @@ my %zwave_class = (
|
|||||||
);
|
);
|
||||||
my %zwave_cmdArgs = (
|
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
|
Reset the configuration parameter for the cfgAddress parameter to its
|
||||||
default value. See the device documentation to determine this value.</li>
|
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>
|
<br><br><b>Class PROTECTION</b>
|
||||||
<li>protectionOff<br>
|
<li>protectionOff<br>
|
||||||
device is unprotected</li>
|
device is unprotected</li>
|
||||||
@ -941,6 +958,11 @@ s2Hex($)
|
|||||||
report the supported status fields as a bitfield.
|
report the supported status fields as a bitfield.
|
||||||
</li>
|
</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>
|
<br><br><b>Class MULTI_CHANNEL</b>
|
||||||
<li>mcEndpoints<br>
|
<li>mcEndpoints<br>
|
||||||
return the list of endpoints available, e.g.:<br>
|
return the list of endpoints available, e.g.:<br>
|
||||||
@ -1065,6 +1087,9 @@ s2Hex($)
|
|||||||
<li>remainingFilterLife: %s %</li>
|
<li>remainingFilterLife: %s %</li>
|
||||||
<li>supportedStatus: <list of supported stati></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>
|
<br><br><b>Class METER</b>
|
||||||
<li>energy:val [kWh|kVAh|pulseCount]</li>
|
<li>energy:val [kWh|kVAh|pulseCount]</li>
|
||||||
<li>gas:val [m3|feet3|pulseCount]</li>
|
<li>gas:val [m3|feet3|pulseCount]</li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user