mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-19 18:56:03 +00:00
HMCCU: Several bug fixes
git-svn-id: https://svn.fhem.de/fhem/trunk@25257 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
cb16ace435
commit
504702cbdd
@ -30,7 +30,7 @@ sub HMCCUCHN_Set ($@);
|
||||
sub HMCCUCHN_Get ($@);
|
||||
sub HMCCUCHN_Attr ($@);
|
||||
|
||||
my $HMCCUCHN_VERSION = '5.0 213201747';
|
||||
my $HMCCUCHN_VERSION = '5.0 213261849';
|
||||
|
||||
######################################################################
|
||||
# Initialize module
|
||||
@ -183,7 +183,7 @@ sub HMCCUCHN_InitDevice ($$)
|
||||
|
||||
my $rc = 0;
|
||||
|
||||
if ($init_done) {
|
||||
if ($init_done && !HMCCU_IsDelayedInit ($ioHash)) {
|
||||
my $detect = HMCCU_DetectDevice ($ioHash, $da, $di);
|
||||
|
||||
# Interactive device definition
|
||||
@ -524,7 +524,13 @@ sub HMCCUCHN_Get ($@)
|
||||
Readings 'state' and 'control' are not deleted. With option 'reset' all readings
|
||||
and all internally stored device parameter values are deleted.
|
||||
</li><br/>
|
||||
<li><b>set <name> config [device|<receiver>] <parameter>=<value>[:<type>] [...]</b><br/>
|
||||
<li><b>set <name> close</b><br/>
|
||||
[blind] Set level of a shutter or blind to 0%.
|
||||
</li><br/>
|
||||
<li><b>set <name> color <color-name></b><br/>
|
||||
[light] Set color of LED light.
|
||||
</li><br/>
|
||||
<li><b>set <name> config [device|<receiver>] <parameter>=<value>[:<type>] [...]</b><br/>
|
||||
Set multiple config (parameter set MASTER) or link (parameter set LINKS) parameters.
|
||||
If neither 'device' nor <i>receiver</i> is specified, configuration parameters of
|
||||
current channel are set. With option 'device' configuration parameters of the device
|
||||
@ -583,8 +589,11 @@ sub HMCCUCHN_Get ($@)
|
||||
format HH:MM or HH:MM:SS. This command is only available if channel contains a datapoint
|
||||
ON_TIME.
|
||||
</li><br/>
|
||||
<li><b>set <name> open</b><br/>
|
||||
[blind] Set level of a shutter or blind to 100%.
|
||||
</li><br/>
|
||||
<li><b>set <name> pct <value> [<ontime> [<ramptime>]]</b><br/>
|
||||
[dimmer] Set datapoint LEVEL of a channel to the specified <i>value</i>. Optionally a <i>ontime</i>
|
||||
[dimmer,blind] Set datapoint LEVEL of a channel to the specified <i>value</i>. Optionally a <i>ontime</i>
|
||||
and a <i>ramptime</i> (both in seconds) can be specified. This command is only available
|
||||
if channel contains at least a datapoint LEVEL and optionally datapoints ON_TIME and
|
||||
RAMP_TIME. The parameter <i>ontime</i> can be specified in seconds or as timestamp in
|
||||
@ -593,6 +602,9 @@ sub HMCCUCHN_Get ($@)
|
||||
Example: Turn dimmer on for 600 second. Increase light to 100% over 10 seconds<br>
|
||||
<code>set myswitch pct 100 600 10</code>
|
||||
</li><br/>
|
||||
<li><b>set <name> pctSlats <value></b><br/>
|
||||
[blind] Like command 'set pct', but changes the level of slats (if available).
|
||||
</li><br/>
|
||||
<li><b>set <name> readingFilter <datapoint-list></b><br/>
|
||||
Set attribute ccureadingfilter by selecting a list of datapoints. Parameter <i>datapoint-list</i>
|
||||
is a comma seperated list of datapoints.
|
||||
|
Loading…
x
Reference in New Issue
Block a user