diff --git a/fhem/FHEM/44_S7_ARead.pm b/fhem/FHEM/44_S7_ARead.pm index 215f749c1..1f2a60a1e 100644 --- a/fhem/FHEM/44_S7_ARead.pm +++ b/fhem/FHEM/44_S7_ARead.pm @@ -352,11 +352,11 @@ sub S7_ARead_Parse($$) { my $mv = $1; my $last_value = $h->{".attreocr-threshold$reading"}; if( !defined($last_value) ) { - $h->{".attreocr-threshold$reading"} = $mv; + # $h->{".attreocr-threshold$reading"} = $mv; } elsif( abs($mv - $last_value) < $threshold ) { $eocr = 0; } else { - $h->{".attreocr-threshold$reading"} = $mv; + # $h->{".attreocr-threshold$reading"} = $mv; } } } diff --git a/fhem/FHEM/44_S7_AWrite.pm b/fhem/FHEM/44_S7_AWrite.pm index 899508c06..9398a4fc5 100644 --- a/fhem/FHEM/44_S7_AWrite.pm +++ b/fhem/FHEM/44_S7_AWrite.pm @@ -494,11 +494,11 @@ sub S7_AWrite_Parse($$) { my $mv = $1; my $last_value = $h->{".attreocr-threshold$reading"}; if( !defined($last_value) ) { - $h->{".attreocr-threshold$reading"} = $mv; + # $h->{".attreocr-threshold$reading"} = $mv; } elsif( abs($mv - $last_value) < $threshold ) { $eocr = 0; } else { - $h->{".attreocr-threshold$reading"} = $mv; + # $h->{".attreocr-threshold$reading"} = $mv; } } } diff --git a/fhem/FHEM/44_S7_DRead.pm b/fhem/FHEM/44_S7_DRead.pm index 5095b34ed..e56b68113 100644 --- a/fhem/FHEM/44_S7_DRead.pm +++ b/fhem/FHEM/44_S7_DRead.pm @@ -421,11 +421,11 @@ sub S7_DRead_Parse($$) { my $mv = $1; my $last_value = $h->{".attreocr-threshold$reading"}; if( !defined($last_value) ) { - $h->{".attreocr-threshold$reading"} = $mv; + # $h->{".attreocr-threshold$reading"} = $mv; } elsif( abs($mv - $last_value) < $threshold ) { $eocr = 0; } else { - $h->{".attreocr-threshold$reading"} = $mv; + # $h->{".attreocr-threshold$reading"} = $mv; } } } diff --git a/fhem/FHEM/44_S7_DWrite.pm b/fhem/FHEM/44_S7_DWrite.pm index a51444581..a92967d24 100644 --- a/fhem/FHEM/44_S7_DWrite.pm +++ b/fhem/FHEM/44_S7_DWrite.pm @@ -497,11 +497,11 @@ sub S7_DWrite_setABit($$) { my $mv = $1; my $last_value = $h->{".attreocr-threshold$reading"}; if( !defined($last_value) ) { - $h->{".attreocr-threshold$reading"} = $mv; + # $h->{".attreocr-threshold$reading"} = $mv; } elsif( abs($mv - $last_value) < $threshold ) { $eocr = 0; } else { - $h->{".attreocr-threshold$reading"} = $mv; + # $h->{".attreocr-threshold$reading"} = $mv; } } }