diff --git a/FHEM/46_TRX_LIGHT.pm b/FHEM/46_TRX_LIGHT.pm index 18b80dba0..bf7395ae6 100755 --- a/FHEM/46_TRX_LIGHT.pm +++ b/FHEM/46_TRX_LIGHT.pm @@ -770,7 +770,7 @@ sub TRX_LIGHT_parse_PT2262 ($$) Log3 $name, 5,"PT2262: found=$1"; $command = $1; } - Log3 $name, 1,"TRX_LIGHT_parse_PT2262() readingsBulkUpdate($def, $sensor, $command)"; + Log3 $name, 5,"TRX_LIGHT_parse_PT2262() readingsBulkUpdate($def, $sensor, $command)"; $val = $command; if ($sensor ne "none") { readingsBulkUpdate($def, $sensor, $val); } } @@ -817,12 +817,11 @@ TRX_LIGHT_Parse($$) #Log3 $iohash, 5, "TRX_LIGHT: num_bytes=$num_bytes hex=$hexline type=$type"; my $res = ""; if ($type == 0x10 || $type == 0x11 || $type == 0x12 || $type == 0x14) { - Log3 $iohash, 1, "TRX_LIGHT_Parse() X10 num_bytes=$num_bytes hex=$hexline"; + Log3 $iohash, 5, "TRX_LIGHT_Parse() X10 num_bytes=$num_bytes hex=$hexline"; $res = TRX_LIGHT_parse_X10($iohash, \@rfxcom_data_array); Log3 $iohash, 1, "TRX_LIGHT_Parse() unsupported hex=$hexline" if ($res eq ""); return $res; } elsif ($type == 0x13) { - #Log3 $iohash, 1, "TRX_LIGHT_Parse() Lighting4/PT2262 num_bytes=$num_bytes hex=$hexline"; Log3 $iohash, 5, "TRX_LIGHT_Parse()Lighting4/PT2262 num_bytes=$num_bytes hex=$hexline"; $res = TRX_LIGHT_parse_PT2262($iohash, \@rfxcom_data_array); Log3 $iohash, 1, "TRX_LIGHT_Parse() unsupported hex=$hexline" if ($res eq ""); diff --git a/FHEM/46_TRX_SECURITY.pm b/FHEM/46_TRX_SECURITY.pm index cbf574f78..c450c59f7 100755 --- a/FHEM/46_TRX_SECURITY.pm +++ b/FHEM/46_TRX_SECURITY.pm @@ -166,7 +166,7 @@ TRX_SECURITY_Set($@) # lightning1 $hex_prefix = sprintf "0820"; $hex_command = sprintf "%02x%02x%02s%02s%02s%02x00", $device_type_num & 0xff, $seqnr, $id1, $id2, $id3, $cmnd; - Log3 $name, 1,"TRX_SECURITY_Set() name=$name device_type=$device_type, deviceid=$deviceid id1=$id1, id2=$id2, id3=$id3, command=$command"; + Log3 $name, 5,"TRX_SECURITY_Set() name=$name device_type=$device_type, deviceid=$deviceid id1=$id1, id2=$id2, id3=$id3, command=$command"; Log3 $name, 5,"TRX_SECURITY_Set() hexline=$hex_prefix$hex_command"; if ($device_type ne "KD101") { @@ -415,7 +415,7 @@ sub TRX_SECURITY_parse_X10Sec($$) { if ($battery_level == 0x9) { $battery = 'batt_ok'} elsif ($battery_level == 0x0) { $battery = 'batt_low'} else { - Log3 $name, 1,"TRX_SECURITY_parse_X10Sec() unkown battery_level=$battery_level"; + Log3 $name, 1,"TRX_SECURITY_parse_X10Sec() unknown battery_level=$battery_level"; } } @@ -566,7 +566,7 @@ TRX_SECURITY_Parse($$) Log3 $iohash, 1, "TRX_SECURITY_Parse() unsupported hex=$hexline" if ($res eq ""); return $res; } else { - Log3 $iohash, 0, "TRX_SECURITY_Parse() not implemented num_bytes=$num_bytes hex=$hexline"; + Log3 $iohash, 1, "TRX_SECURITY_Parse() not implemented num_bytes=$num_bytes hex=$hexline"; } return "";