2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-23 20:52:13 +00:00

introduce defIgnUnknown

git-svn-id: https://svn.fhem.de/fhem/trunk@6302 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2014-07-22 19:17:25 +00:00
parent 1752af985b
commit f29ed626bc
2 changed files with 29 additions and 0 deletions

View File

@ -3231,6 +3231,18 @@ sub CUL_HM_Set($@) {#+++++++++++++++++ set command+++++++++++++++++++++++++++++
$hash->{helper}{prt}{brstWu}=1;# start burst wakeup
CUL_HM_SndCmd($hash,"++B112$id$dst");
}
elsif($cmd eq "defIgnUnknown") { ############################################
$state = "";
foreach (map {substr($_,8)}
grep /^unknown_......$/,
keys %{$hash->{READINGS}}){
if (!$modules{CUL_HM}{defptr}{$_}){
CommandDefine(undef,"unknown_$_ CUL_HM $_") ;
$attr{"unknown_$_"}{ignore} = 1;
}
delete $hash->{READINGS}{"unknown_$_"};
}
}
elsif($cmd eq "statusRequest") { ############################################
my @chnIdList = CUL_HM_getAssChnIds($name);
@ -7908,6 +7920,14 @@ sub CUL_HM_tempListTmpl(@) { ##################################################
</li>
</ul>
</li>
<li>CCU_FHEM<br>
<ul>
<li>defIgnUnknown<br>
define unknown devices which are present in the readings.
set attr ignore and remove the readingfrom the list. <br>
</li>
</ul>
</li>
<li>HM-Sys-sRP-Pl<br><br>
setup the repeater's entries. Up to 36entries can be applied.
<ul>
@ -9140,6 +9160,14 @@ sub CUL_HM_tempListTmpl(@) { ##################################################
</li>
</ul>
</li>
<li>CCU_FHEM<br>
<ul>
<li>defIgnUnknown<br>
Definieren die unbekannten Devices und setze das Attribut ignore.
Ddann loesche die Readings. <br>
</li>
</ul>
</li>
<li>HM-Sys-sRP-Pl<br><br>
legt Eintr&auml;ge f&uuml;r den Repeater an. Bis zu 36 Eintr&auml;ge k&ouml;nnen angelegt werden.
<ul>

View File

@ -1475,6 +1475,7 @@ $culHmModelSets{"HM-Sen-Wa-Od"} = $culHmModelSets{"HM-SEC-SD"};
"CCU-FHEM00" =>{ update =>"",
hmPairForSec =>"<sec>",
hmPairSerial =>"<serial>",
defIgnUnknown=>"",
},
);
# clones- - - - - - - - - - - - - - - - -