diff --git a/fhem/FHEM/12_HProtocolGateway.pm b/fhem/FHEM/12_HProtocolGateway.pm index 2b3e6fe5b..1827cf3a1 100644 --- a/fhem/FHEM/12_HProtocolGateway.pm +++ b/fhem/FHEM/12_HProtocolGateway.pm @@ -192,6 +192,7 @@ sub HProtocolGateway_ParseMessage($$) { # PMS-IB if ( $sensorSystem eq "PMS-IB") { + $data =~ s/^\s+//; ($tanknumber,$error,$temperature,$tankdata,$water,$checksum)=split(/=/,$data); $test = substr($data, 0, length($data)-3);