From b6355dc0230d7f062989885c99ab6fcd61d5e04a Mon Sep 17 00:00:00 2001 From: matscher <> Date: Sun, 11 Jan 2015 18:52:43 +0000 Subject: [PATCH] 09_CUL_FHTTK.pm: small update of documentation in order to simulate the same, removed unnecessary check of sensor code git-svn-id: https://svn.fhem.de/fhem/trunk@7529 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 2 ++ fhem/FHEM/09_CUL_FHTTK.pm | 43 ++++++++++++++------------------------- 2 files changed, 17 insertions(+), 28 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 1c0f694c1..387a7e45e 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,7 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - changed: 09_CUL_FHTTK: small update to the documentation in order to + simulate the same - fix: 66_ECMD: use STATE not state for connection checking (forum #31307) - feature: 57_Calendar: enable gzipped ical files (forum #31845) - bugfix: 70_Jabber.pm: XMPP DNS SVR record query added diff --git a/fhem/FHEM/09_CUL_FHTTK.pm b/fhem/FHEM/09_CUL_FHTTK.pm index 7d526de15..0b9f1b1e2 100644 --- a/fhem/FHEM/09_CUL_FHTTK.pm +++ b/fhem/FHEM/09_CUL_FHTTK.pm @@ -154,19 +154,6 @@ CUL_FHTTK_Set($@) if($attr{$name}{"model"} ne "dummy") { return $ret; } - - # check address of FHT TF - my $myaddr = hex($hash->{CODE}); - my $boundary = hex(690000); - - if($myaddr < $boundary) { - Log3 $name, 3, "$name wrong housecode: The first digit must be equal or greater than 0x69."; - if($opt eq "?") - { - return $ret; - } - return "$name wrong housecode: The first digit must be equal or greater than 0x69."; - } } else { return $ret; @@ -174,7 +161,7 @@ CUL_FHTTK_Set($@) my $value = join("", @a); - Log3 $name, 5, "$name option: $opt and value: $value"; + Log3 $name, 5, "CUL_FHTTK ($name) option: $opt and value: $value"; if(!defined($fhttfk_c2b{$opt})) { my @cList = keys %fhttfk_c2b; @@ -365,7 +352,7 @@ CUL_FHTTK_Parse($$) or next official version 1.62 or higher, it is possible to send out FHT80 TF data with a CUL or simular devices. So it can be simulate up to four window sensor with one device (see FHEM Wiki). To setup a window sensor, you have to - add and/or change the attribute "model" to dummy. The 6 digit hex number must start at 690000.

+ add and/or change the attribute "model" to dummy. The 6 digit hex number must not equal to FHTID.

Define @@ -387,13 +374,13 @@ CUL_FHTTK_Parse($$) Set
@@ -407,7 +394,7 @@ CUL_FHTTK_Parse($$)