IODev attribute added

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@315 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2009-01-09 17:31:44 +00:00
parent 569c0a4095
commit e7c64af6c8
17 changed files with 127 additions and 236 deletions

View File

@@ -143,7 +143,7 @@ FHT_Initialize($)
$hash->{DefFn} = "FHT_Define";
$hash->{UndefFn} = "FHT_Undef";
$hash->{ParseFn} = "FHT_Parse";
$hash->{AttrList} = "do_not_notify:0,1 model;fht80b dummy:0,1 " .
$hash->{AttrList} = "IODev do_not_notify:0,1 model;fht80b dummy:0,1 " .
"showtime:0,1 loglevel:0,1,2,3,4,5,6 retrycount minfhtbuffer";
}
@@ -320,6 +320,8 @@ FHT_Parse($$)
my $def = $defptr{$dev};
my $name = $def->{NAME};
return "" if($def->{IODev} && $def->{IODev}{NAME} ne $hash->{NAME});
# Short message
if(length($msg) < 26) {
Log 4,"FHT Short message. Device $name, Message: $msg";