mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
Remove maxPairForSec - now provided by 14_CUL_MAX
git-svn-id: https://svn.fhem.de/fhem/trunk@2331 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c22ba4979e
commit
c1969af675
@ -31,7 +31,6 @@ my %gets = ( # Name, Data to send to the CUL, Regexp for the answer
|
|||||||
my %sets = (
|
my %sets = (
|
||||||
"hmPairForSec" => "HomeMatic",
|
"hmPairForSec" => "HomeMatic",
|
||||||
"hmPairSerial" => "HomeMatic",
|
"hmPairSerial" => "HomeMatic",
|
||||||
"maxPairForSec" => "MAX",
|
|
||||||
"raw" => "",
|
"raw" => "",
|
||||||
"freq" => "SlowRF",
|
"freq" => "SlowRF",
|
||||||
"bWidth" => "SlowRF",
|
"bWidth" => "SlowRF",
|
||||||
@ -208,13 +207,6 @@ CUL_RemoveHMPair($)
|
|||||||
delete($hash->{hmPair});
|
delete($hash->{hmPair});
|
||||||
}
|
}
|
||||||
|
|
||||||
sub
|
|
||||||
CUL_RemoveMAXPair($)
|
|
||||||
{
|
|
||||||
my $hash = shift;
|
|
||||||
delete($hash->{maxPair});
|
|
||||||
}
|
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
sub
|
sub
|
||||||
CUL_Set($@)
|
CUL_Set($@)
|
||||||
@ -249,12 +241,6 @@ CUL_Set($@)
|
|||||||
$hash->{HM_CMDNR}, $id, unpack('H*', $arg)));
|
$hash->{HM_CMDNR}, $id, unpack('H*', $arg)));
|
||||||
$hash->{hmPairSerial} = $arg;
|
$hash->{hmPairSerial} = $arg;
|
||||||
|
|
||||||
} elsif($type eq "maxPairForSec") { ####################################
|
|
||||||
return "Usage: set $name maxPairForSec <seconds_active>"
|
|
||||||
if(!$arg || $arg !~ m/^\d+$/);
|
|
||||||
$hash->{maxPair} = 1;
|
|
||||||
InternalTimer(gettimeofday()+$arg, "CUL_RemoveMAXPair", $hash, 1);
|
|
||||||
|
|
||||||
} elsif($type eq "freq") { ######################################## MHz
|
} elsif($type eq "freq") { ######################################## MHz
|
||||||
|
|
||||||
my $f = $arg/26*65536;
|
my $f = $arg/26*65536;
|
||||||
@ -1176,11 +1162,6 @@ CUL_Attr(@)
|
|||||||
in learning mode if it is a receiver.
|
in learning mode if it is a receiver.
|
||||||
</li><br>
|
</li><br>
|
||||||
<a name="hmPairForSec"></a>
|
<a name="hmPairForSec"></a>
|
||||||
<li>maxPairForSec<br>
|
|
||||||
<a href="#rfmode">MAX</a> mode only.<br>
|
|
||||||
Set the CUL in Pairing-Mode for the given seconds. Any MAX device set into
|
|
||||||
pairing mode in this time will be paired with fhem.
|
|
||||||
</li><br>
|
|
||||||
<li>led<br>
|
<li>led<br>
|
||||||
Set the CUL led off (00), on (01) or blinking (02).
|
Set the CUL led off (00), on (01) or blinking (02).
|
||||||
</li><br>
|
</li><br>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user