2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

CUL_HM:change logging level

git-svn-id: https://svn.fhem.de/fhem/trunk@22700 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2020-08-30 18:00:33 +00:00
parent 1e989eedb7
commit 05a6284888

View File

@ -4031,7 +4031,7 @@ sub CUL_HM_Get($@) {#+++++++++++++++++ get command+++++++++++++++++++++++++++++
} }
my $devHash = CUL_HM_getDeviceHash($hash); my $devHash = CUL_HM_getDeviceHash($hash);
Log3 $name,(defined $modules{CUL_HM}{helper}{verbose}{allGet} ? 0:3),"CUL_HM get $name " . join(" ", @a[1..$#a]); Log3 $name,(defined $modules{CUL_HM}{helper}{verbose}{allGet} ? 0:4),"CUL_HM get $name " . join(" ", @a[1..$#a]);
#----------- now start processing -------------- #----------- now start processing --------------
if ($cmd eq "param") { ################################################### if ($cmd eq "param") { ###################################################
@ -4639,7 +4639,7 @@ sub CUL_HM_Set($@) {#+++++++++++++++++ set command+++++++++++++++++++++++++++++
@a = ($a[0],$cmd,@parIn); @a = ($a[0],$cmd,@parIn);
} }
Log3 $name,(defined $modules{CUL_HM}{helper}{verbose}{allSet} ? 0:3),"CUL_HM set $name " . join(" ", @a[1..$#a]); Log3 $name,(defined $modules{CUL_HM}{helper}{verbose}{allSet} ? 0:4),"CUL_HM set $name " . join(" ", @a[1..$#a]);
my @postCmds=(); #Commands to be appended after regSet (ugly...) my @postCmds=(); #Commands to be appended after regSet (ugly...)
my $id; # define id of IO device for later usage my $id; # define id of IO device for later usage
@ -6884,7 +6884,7 @@ sub CUL_HM_Set($@) {#+++++++++++++++++ set command+++++++++++++++++++++++++++++
CUL_HM_UpdtReadSingle($hash,"state",$state,1) if($state); CUL_HM_UpdtReadSingle($hash,"state",$state,1) if($state);
my $rxType = CUL_HM_getRxType($devHash); my $rxType = CUL_HM_getRxType($devHash);
Log3 $name,3,"CUL_HM set $name $act"; # Log3 $name,3,"CUL_HM set $name $act";
if($rxType & 0x01){#always if($rxType & 0x01){#always
CUL_HM_ProcessCmdStack($devHash); CUL_HM_ProcessCmdStack($devHash);
} }