diff --git a/fhem/FHEM/10_IT.pm b/fhem/FHEM/10_IT.pm index 816ff9e83..01552ba35 100644 --- a/fhem/FHEM/10_IT.pm +++ b/fhem/FHEM/10_IT.pm @@ -356,9 +356,13 @@ IT_Parse($$) my $def; my $newstate; my @list; + if ((substr($msg, 0, 1)) ne 'i') { + Log3 undef,4,"message not supported by IT \"$msg\"!"; + return undef; + } if (length($msg) != 7 && length($msg) != 17) { - Log3 undef,3,"message \"$msg\" to short!"; - return "message \"$msg\" to short!"; + Log3 undef,3,"message \"$msg\" too short!"; + return undef; } my $bin = undef; if ( length($msg) == 17 ) { @@ -464,13 +468,13 @@ IT_Parse($$)

IT - InterTechno