diff --git a/fhem/FHEM/98_update.pm b/fhem/FHEM/98_update.pm index 81a708e25..b2c8089e5 100644 --- a/fhem/FHEM/98_update.pm +++ b/fhem/FHEM/98_update.pm @@ -314,6 +314,7 @@ doUpdate($$$$) my @excl = split(" ", AttrVal("global", "exclude_from_update", "")); my $noSzCheck = AttrVal("global", "updateNoFileCheck", configDBUsed()); + my $hideExcl = AttrVal("global", "hideExcludedUpdates", 0); #Forum #124670 my @rl = upd_getChanges($root, $basePath); ########################### @@ -359,7 +360,7 @@ doUpdate($$$$) ($cmd eq "CRE" || # either file is create only ($lh{$fName}{TS} eq $r[1] && # or both TS and LEN is same $lh{$fName}{LEN} eq $r[2]))); # as the remote one - if($isExcl && !$fileOk) { + if($isExcl && !$fileOk && !$hideExcl) { uLog 1, "update: skipping $fName, matches exclude_from_update"; $nSkipped++; next; @@ -593,7 +594,7 @@ upd_writeFile($$$$) =item summary_DE FHEM Programmdateien aktualisieren =begin html - +

update

-
+ Attributes (use attr global ...)
- +
  • exclude_from_update
    Contains a space separated list of fileNames (regexps) which will be excluded by an update. The special value commandref will disable calling @@ -682,6 +683,11 @@ upd_writeFile($$$$) updating it from another source, specify fhem.de.*:FILE.pm

  • + +
  • hideExcludedUpdates
    + if set to 1, do not print messages about excluded updates. +

  • +
  • restoreDirs

  • @@ -690,7 +696,7 @@ upd_writeFile($$$$) =end html =begin html_DE - +

    update

    -
    + Attribute (sind mit attr global zu setzen)
    - +
  • exclude_from_update
    Enthält eine Liste durch Leerzeichen getrennter Dateinamen (Regexp), welche nicht beim update berücksichtigt werden.
    @@ -791,6 +797,12 @@ upd_writeFile($$$$)

  • + +
  • hideExcludedUpdates
    + falls gesetzt, werden keine Meldungen bei exclude_from_update Dateien + generiert. +

  • +
  • restoreDirs

  • diff --git a/fhem/fhem.pl b/fhem/fhem.pl index 941fa0320..1fd473daa 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -334,6 +334,7 @@ my @globalAttrList = qw( dnsServer dupTimeout exclude_from_update + hideExcludedUpdates:1,0 featurelevel:6.1,6.0,5.9,5.8,5.7,5.6,5.5,99.99 genericDisplayType:switch,outlet,light,blind,speaker,thermostat holiday2we