diff --git a/fhem/FHEM/00_ElsnerWS.pm b/fhem/FHEM/00_ElsnerWS.pm index 82972666a..b1e448f8e 100644 --- a/fhem/FHEM/00_ElsnerWS.pm +++ b/fhem/FHEM/00_ElsnerWS.pm @@ -193,6 +193,7 @@ sub ElsnerWS_Read($) { my $buf = DevIo_SimpleRead($hash); return "" if(!defined($buf)); my $name = $hash->{NAME}; + $hash->{PARTIAL} = '' if(length($hash->{PARTIAL}) > 203); my $data = $hash->{PARTIAL} . uc(unpack('H*', $buf)); #Log3 $name, 5, "ElsnerWS $name received DATA: " . uc(unpack('H*', $buf)); Log3 $name, 5, "ElsnerWS $name received DATA: $data"; @@ -1173,12 +1174,12 @@ sub ElsnerWS_Delete($$) { Priority of custom commands. If both the up and down command are triggered, only the prioritized command is executed.
  • readingFnAttributes
  • -
  • signOfLife off|on
    +
  • signOfLife off|on, [signOfLife] = off|on, on is default.
    Monitoring of the periodic telegrams from sensor.
  • -
  • signOfLifeInterval 1...15
    - [signOfLifeInterval] = 1 ... 15 1/s, 3 is default.
    +
  • signOfLifeInterval t/s, + [signOfLifeInterval] = 1 ... 15, 3 is default.
    Monitoring period in seconds of the periodic telegrams from sensor.
  • timeEvent no|yes, @@ -1186,7 +1187,7 @@ sub ElsnerWS_Delete($$) { Update the reading time periodically.
  • updateGlobalAttr no|yes, - [timeEvent] = no|yes, no is default.
    + [updateGlobalAttr] = no|yes, no is default.
    Update the global attributes latitude and longitude with the received GPS coordinates.
  • windSpeedStormy v_min/m/s:v_max/m/s,