diff --git a/fhem/contrib/DS_Starter/02_HTTPAPI.pm b/fhem/contrib/DS_Starter/02_HTTPAPI.pm index 6ba3f7924..e742e2cae 100644 --- a/fhem/contrib/DS_Starter/02_HTTPAPI.pm +++ b/fhem/contrib/DS_Starter/02_HTTPAPI.pm @@ -252,10 +252,13 @@ sub HTTPAPI_Read { return if (!$chash); $chash->{encoding} = $encoding; $chash->{cname} = $name; + $chash->{infix} = $hash->{INFIX}; $chash->{CD}->blocking(0); return; } + $infix = $hash->{infix}; + # read data my $buf; my $ret = sysread($hash->{CD}, $buf, 2048);