From e21a521653444416fe7166da1f355366f9efedab Mon Sep 17 00:00:00 2001 From: gmaniac Date: Sat, 15 Dec 2012 14:49:46 +0000 Subject: [PATCH] Remove maxPairForSec - now provided by 14_CUL_MAX git-svn-id: https://svn.fhem.de/fhem/trunk@2331 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/00_CUL.pm | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/fhem/FHEM/00_CUL.pm b/fhem/FHEM/00_CUL.pm index 669aed50a..56bc58e99 100755 --- a/fhem/FHEM/00_CUL.pm +++ b/fhem/FHEM/00_CUL.pm @@ -31,7 +31,6 @@ my %gets = ( # Name, Data to send to the CUL, Regexp for the answer my %sets = ( "hmPairForSec" => "HomeMatic", "hmPairSerial" => "HomeMatic", - "maxPairForSec" => "MAX", "raw" => "", "freq" => "SlowRF", "bWidth" => "SlowRF", @@ -208,13 +207,6 @@ CUL_RemoveHMPair($) delete($hash->{hmPair}); } -sub -CUL_RemoveMAXPair($) -{ - my $hash = shift; - delete($hash->{maxPair}); -} - ##################################### sub CUL_Set($@) @@ -249,12 +241,6 @@ CUL_Set($@) $hash->{HM_CMDNR}, $id, unpack('H*', $arg))); $hash->{hmPairSerial} = $arg; - } elsif($type eq "maxPairForSec") { #################################### - return "Usage: set $name maxPairForSec " - if(!$arg || $arg !~ m/^\d+$/); - $hash->{maxPair} = 1; - InternalTimer(gettimeofday()+$arg, "CUL_RemoveMAXPair", $hash, 1); - } elsif($type eq "freq") { ######################################## MHz my $f = $arg/26*65536; @@ -1176,11 +1162,6 @@ CUL_Attr(@) in learning mode if it is a receiver.
-
  • maxPairForSec
    - MAX mode only.
    - 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. -

  • led
    Set the CUL led off (00), on (01) or blinking (02).