mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 05:06:35 +00:00
small ignore fixes
git-svn-id: https://svn.fhem.de/fhem/trunk@535 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
234af7fe0c
commit
5ffe976e7a
@ -554,12 +554,13 @@
|
|||||||
- bugfix: HOWTO/Examples revisited for correctness
|
- bugfix: HOWTO/Examples revisited for correctness
|
||||||
- bugfix: INITIALIZED, DEFINED, RENAMED, DELETED triggers
|
- bugfix: INITIALIZED, DEFINED, RENAMED, DELETED triggers
|
||||||
- feature: image weblinks from Stefan
|
- feature: image weblinks from Stefan
|
||||||
- feature: 20_OWFS.pm support for passive Devices e.g. DS9097 (see commandref.html)
|
- feature: OWFS support for passive Devices e.g. DS9097 (see commandref.html)
|
||||||
- bugfix: 20_OWFS.pm crash fhem with PGM2/3, xmllist (M.Fischer)
|
- bugfix: OWFS crash fhem with PGM2/3, xmllist (M.Fischer)
|
||||||
- bugfix: 21_OWTEMP.pm Defining a device now fail when no OWFS device was defined (M.Fischer)
|
- bugfix: OWTEMP Defining a device without OWFS now fails (M.Fischer)
|
||||||
- bugfix: 21_OWTEMP.pm missing trigger fo notify/filelog (M.Fischer)
|
- bugfix: 21_OWTEMP.pm missing trigger fo notify/filelog (M.Fischer)
|
||||||
- feature: 99_getstate.pm get state from S555TH now (M.Fischer)
|
- feature: 99_getstate.pm get state from S555TH now (M.Fischer)
|
||||||
- feature: pgm3: automatic support for CUL_WS (S300TH) added (MartinH)
|
- feature: pgm3: automatic support for CUL_WS (S300TH) added (MartinH)
|
||||||
- bugfix: 21_OWTEMP.pm missing space within state logging (M.Fischer)
|
- bugfix: 21_OWTEMP.pm missing space within state logging (M.Fischer)
|
||||||
- bugfix: 21_OWTEMP.pm interval fixed (M.Fischer)
|
- bugfix: 21_OWTEMP.pm interval fixed (M.Fischer)
|
||||||
- bugfix: 21_OWTEMP.pm complete rewrite with errorcontrol and demo mode (M.Fischer)
|
- bugfix: 21_OWTEMP.pm rewrite with errorcontrol and demo mode (M.Fischer)
|
||||||
|
- feature: ignore attribute
|
||||||
|
11
fhem/fhem.pl
11
fhem/fhem.pl
@ -159,7 +159,7 @@ my $nextat; # Time when next timer will be triggered.
|
|||||||
my $intAtCnt=0;
|
my $intAtCnt=0;
|
||||||
my %duplicate; # Pool of received msg for multi-fhz/cul setups
|
my %duplicate; # Pool of received msg for multi-fhz/cul setups
|
||||||
my $duplidx=0; # helper for the above pool
|
my $duplidx=0; # helper for the above pool
|
||||||
my $cvsid = '$Id: fhem.pl,v 1.96 2010-01-01 14:53:03 rudolfkoenig Exp $';
|
my $cvsid = '$Id: fhem.pl,v 1.97 2010-01-01 15:18:09 rudolfkoenig Exp $';
|
||||||
my $namedef =
|
my $namedef =
|
||||||
"where <name> is either:\n" .
|
"where <name> is either:\n" .
|
||||||
"- a single device name\n" .
|
"- a single device name\n" .
|
||||||
@ -406,9 +406,12 @@ sub
|
|||||||
IsIgnored($)
|
IsIgnored($)
|
||||||
{
|
{
|
||||||
my $devname = shift;
|
my $devname = shift;
|
||||||
return 1 if($devname &&
|
if($devname &&
|
||||||
defined($attr{$devname}) &&
|
defined($attr{$devname}) &&
|
||||||
defined($attr{$devname}{ignore}));
|
defined($attr{$devname}{ignore})) {
|
||||||
|
Log 4, "Ignoring $devname";
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user